Depression prediction and key factors: A comparative analysis of logistic regression and machine learning models.
Kripa Josten, Vennila Jaganathan
Research Scholar, Manipal College of Health Professions, Manipal Academy of Higher Education, Manipal, Karnataka, India. · Associate Professor, Manipal College of Health Professions, Manipal Academy of Higher Education, Manipal, Karnataka, India.
Key points
From the paper's conclusion- Logistic regression provides interpretability, and Machine Learning increases predictive accuracy. Combining both can enhance depression prediction and screening in public health practice.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Depressive Symptom Predictors in Older Mexican Adults: Interaction Structures and Nonlinear Effects from Machine Learning Explainability.Archives of medical research · 2026
- Machine learning-based identification of depression in older patients with type 2 diabetes mellitus: A multicenter retrospective study.Science progress · 2026
- Cross-national predictive correlates of depressive symptoms among middle-aged and older adults with chronic conditions: an explainable machine learning analysis.Frontiers in psychiatry · 2026
- Prediction model for depression risk in middle-aged and elderly patients with metabolic syndrome: a nomogram and interpretable machine learning approach based on CHARLSBMC Psychiatry · 2025
- An interpretable machine learning framework for student depression risk prediction: integrating multi-domain features with SHAP-based explainabilityFrontiers in Psychology · 2026
- Development of an explainable machine learning model for predicting depression in adults with type 2 diabetes mellitus: A cross-sectional SHAP-based analysis of NHANES 2009–2023Medicine · 2026