Association of risk factors with mental illness in a rural community: insights from machine learning models.

IF 3.9 3区 医学 Q1 PSYCHIATRY
BJPsych Open Pub Date : 2025-05-12 DOI:10.1192/bjo.2025.47
Firoj Al-Mamun, Mohammed A Mamun, Md Emran Hasan, Moneerah Mohammad ALmerab, Johurul Islam, Mohammad Muhit
{"title":"Association of risk factors with mental illness in a rural community: insights from machine learning models.","authors":"Firoj Al-Mamun, Mohammed A Mamun, Md Emran Hasan, Moneerah Mohammad ALmerab, Johurul Islam, Mohammad Muhit","doi":"10.1192/bjo.2025.47","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Mental health conditions, particularly depression and anxiety, are highly prevalent and impose substantial health burdens globally. Despite advancements in machine learning, there is limited application of these methods in predicting common mental illnesses within community populations in low-resource settings.</p><p><strong>Aims: </strong>This study aims to examine the prevalence and associated risk factors of common mental illnesses collectively (depression and anxiety) in a rural Bangladeshi community using machine learning models.</p><p><strong>Method: </strong>This cross-sectional study surveyed 490 adults aged 18-59 in a rural Bangladeshi community. Depression and anxiety were assessed using the Patient Health Questionnaire (PHQ-2) and Generalised Anxiety Disorder (GAD-2) scales. Machine learning models, including Categorical Boosting, the support vector machine, the random forest and XGBoost (eXtreme Gradient Boosting), were trained on 80% of the data-set and tested on 20% to evaluate predictive accuracy, precision, F1 score, log-loss and area under the receiver operating characteristic curve (AUC-ROC).</p><p><strong>Results: </strong>Some 20.4% of participants experienced at least one common mental illness. Feature importance analysis identified house type, age group and educational status as the most significant predictors. SHAP (Shapley Additive exPlanations) values highlighted their influence on model outputs, and the XGBoost gain metric confirmed the importance of marital status and house type, with gains of 0.76 and 0.73, respectively. XGBoost delivered the best performance, achieving an F1 score of 71.01%, precision of 71.58%, accuracy of 71.15% and the lowest log-loss value of 0.56. The random forest had an accuracy of 78.21% and an AUC-ROC of 0.90.</p><p><strong>Conclusions: </strong>The findings of this study suggest targeted interventions addressing housing and social determinants could improve mental health outcomes in similar rural settings. Further studies should consider longitudinal data to explore causal relationships.</p>","PeriodicalId":9038,"journal":{"name":"BJPsych Open","volume":"11 3","pages":"e96"},"PeriodicalIF":3.9000,"publicationDate":"2025-05-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BJPsych Open","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1192/bjo.2025.47","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Mental health conditions, particularly depression and anxiety, are highly prevalent and impose substantial health burdens globally. Despite advancements in machine learning, there is limited application of these methods in predicting common mental illnesses within community populations in low-resource settings.

Aims: This study aims to examine the prevalence and associated risk factors of common mental illnesses collectively (depression and anxiety) in a rural Bangladeshi community using machine learning models.

Method: This cross-sectional study surveyed 490 adults aged 18-59 in a rural Bangladeshi community. Depression and anxiety were assessed using the Patient Health Questionnaire (PHQ-2) and Generalised Anxiety Disorder (GAD-2) scales. Machine learning models, including Categorical Boosting, the support vector machine, the random forest and XGBoost (eXtreme Gradient Boosting), were trained on 80% of the data-set and tested on 20% to evaluate predictive accuracy, precision, F1 score, log-loss and area under the receiver operating characteristic curve (AUC-ROC).

Results: Some 20.4% of participants experienced at least one common mental illness. Feature importance analysis identified house type, age group and educational status as the most significant predictors. SHAP (Shapley Additive exPlanations) values highlighted their influence on model outputs, and the XGBoost gain metric confirmed the importance of marital status and house type, with gains of 0.76 and 0.73, respectively. XGBoost delivered the best performance, achieving an F1 score of 71.01%, precision of 71.58%, accuracy of 71.15% and the lowest log-loss value of 0.56. The random forest had an accuracy of 78.21% and an AUC-ROC of 0.90.

Conclusions: The findings of this study suggest targeted interventions addressing housing and social determinants could improve mental health outcomes in similar rural settings. Further studies should consider longitudinal data to explore causal relationships.

农村社区风险因素与精神疾病的关联:来自机器学习模型的见解。
背景:精神健康状况,特别是抑郁和焦虑,在全球非常普遍,并造成巨大的健康负担。尽管机器学习取得了进步,但这些方法在预测低资源环境下社区人群中常见精神疾病方面的应用有限。目的:本研究旨在使用机器学习模型研究孟加拉国农村社区常见精神疾病(抑郁和焦虑)的患病率和相关风险因素。方法:本横断面研究调查了孟加拉国农村社区年龄在18-59岁的490名成年人。使用患者健康问卷(PHQ-2)和广泛性焦虑障碍(GAD-2)量表评估抑郁和焦虑。机器学习模型,包括分类增强、支持向量机、随机森林和XGBoost(极端梯度增强),在80%的数据集上进行训练,并在20%的数据集上进行测试,以评估预测准确性、精度、F1分数、对数损失和接收者工作特征曲线下的面积(AUC-ROC)。结果:约20.4%的参与者至少经历过一种常见的精神疾病。特征重要性分析发现,房屋类型、年龄组和教育状况是最显著的预测因素。SHAP (Shapley Additive exPlanations)值突出了它们对模型输出的影响,XGBoost增益度量证实了婚姻状况和房屋类型的重要性,增益分别为0.76和0.73。XGBoost的性能最好,F1得分为71.01%,精度为71.58%,准确度为71.15%,最低对数损失值为0.56。随机森林的准确率为78.21%,AUC-ROC为0.90。结论:本研究的结果表明,针对住房和社会决定因素的有针对性的干预措施可以改善类似农村环境中的心理健康结果。进一步的研究应该考虑纵向数据来探索因果关系。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
BJPsych Open
BJPsych Open Medicine-Psychiatry and Mental Health
CiteScore
6.30
自引率
3.70%
发文量
610
审稿时长
16 weeks
期刊介绍: Announcing the launch of BJPsych Open, an exciting new open access online journal for the publication of all methodologically sound research in all fields of psychiatry and disciplines related to mental health. BJPsych Open will maintain the highest scientific, peer review, and ethical standards of the BJPsych, ensure rapid publication for authors whilst sharing research with no cost to the reader in the spirit of maximising dissemination and public engagement. Cascade submission from BJPsych to BJPsych Open is a new option for authors whose first priority is rapid online publication with the prestigious BJPsych brand. Authors will also retain copyright to their works under a creative commons license.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信