Comparison of Logistic Regression and Machine Learning Approaches in Predicting Depressive Symptoms: A National-Based Study
Open Access
- 25 March 2025
- journal article
- Published by Korean Neuropsychiatric Association in Psychiatry Investigation
- Vol. 22 (3) , 267-278
Abstract
Objective Machine learning (ML) has been reported to have better predictive capability than traditional statistical techniques. The aim of this study was to assess the efficacy of ML algorithms and logistic regression (LR) for predicting depressive symptoms during the COVID-19 pandemic.Methods Analyses were carried out in a national cross-sectional study involving 21,916 participants. The ML algorithms in this study included random forest (RF), support vector machine (SVM), neural network (NN), and gradient boosting machine (GBM) methods. The performance indices were sensitivity, specificity, accuracy, precision, F1-score, and area under the receiver operating characteristic curve (AUC).Results LR and NN had the best performance in terms of AUCs. The risk of overfitting was found to be negligible for most ML models except for RF, and GBM obtained the highest sensitivity, specificity, accuracy, precision, and F1-score. Therefore, LR, NN, and GBM models ranked among the best models.Conclusion Compared with ML models, LR model performed comparably to ML models in predicting depressive symptoms and identifying potential risk factors while also exhibiting a lower risk of overfitting.Keywords
Funding Information
- Priority Academic Program Development of Jiangsu Higher Education Institutions
This publication has 39 references indexed in Scilit:
- Screening and case finding for major depressive disorder using the Patient Health Questionnaire (PHQ-9): a meta-analysisGeneral Hospital Psychiatry, 2015
- Reliability and validity of the Chinese version of the Patient Health Questionnaire (PHQ-9) in the general populationGeneral Hospital Psychiatry, 2014
- The three-factor model of Internet addiction: The development of the Problematic Internet Use QuestionnaireBehavior Research Methods, 2008
- A Short Scale for Measuring Loneliness in Large SurveysResearch on Aging, 2004
- International Physical Activity Questionnaire: 12-Country Reliability and ValidityMedicine & Science in Sports & Exercise, 2003
- The PHQ-9Journal of General Internal Medicine, 2001
- The WHO (Ten) Weil-Being Index: Validation in DiabetesPsychotherapy and Psychosomatics, 1996
- Psychometric Characteristics of the Multidimensional Scale of Perceived Social SupportJournal of Personality Assessment, 1990
- The Pittsburgh sleep quality index: A new instrument for psychiatric practice and researchPsychiatry Research, 1989
- A Global Measure of Perceived StressJournal of Health and Social Behavior, 1983