Depression prediction and key factors: A comparative analysis of logistic regression and machine learning models
Kripa Josten and
Vennila Jaganathan
PLOS ONE, 2026, vol. 21, issue 8, 1-13
Abstract:
Objectives: Factors associated with depression were explored in this study through logistic regression, and predictive performance was compared with various Machine Learning models. Methods: WHO SAGE India wave 2 data were used with depression as the outcome variable. and predictors were sociodemographic, health, and psychosocial variables. Descriptive analysis and Logistic regression were estimated. Random Forest, XGBoost, Support Vector Machine, Logistic Regression, Bagging, Decision Tree, Naïve Bayes, Ridge Logistic Regression, Neural Networks, and K Nearest Neighbors are the ten Machine Learning algorithms that were used. Performance measures consisted of accuracy, Area Under Curve, precision, recall, F1 score, Hamming loss, Jaccard score, and Matthew’s correlation coefficient. Random Forest and XGBoost were used to assess feature importance. Results: Depression was also more prevalent among younger adults, women, and individuals with poor self-rated health, stress, and sleep disturbances. Logistic regression revealed age and feeling low or sad as a factor (p = 0.008, p = 0.021). Most models demonstrated only moderate discriminative ability, with the AUC below 0.70, with better-performing models being Ridge regression (AUC = 0.716) and Random Forest (AUC = 0.713). Feature importance universally identified age, perception of health, quality of life, and depressive symptoms as important predictors. Conclusions: Logistic regression provides interpretability, and Machine Learning increases predictive accuracy. Combining both can enhance depression prediction and screening in public health practice.
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0354668 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 54668&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0354668
DOI: 10.1371/journal.pone.0354668
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().