Skip to content
Open access

Depression prediction and key factors: A comparative analysis of logistic regression and machine learning models

Aug 2026 · PLoS ONE · Vol 21 · 0 citations · 38 references
Medicine

TL;DR

Depression was also more prevalent among younger adults, women, and individuals with poor self-rated health, stress, and sleep disturbances, and 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 PDF

Similar papers

Conference Open access 2026

Machine Learning Prediction of Depression Risk from Behavioural and Self-Reported Data

. The issue of depression has become a significant social concern in the world and there is need to use scalable methods to detect the risks at early onset. The paper explores how behavioural and demographic information predicts depression risk with the aid of several machine learning algorithms. Depression risk is ide...

Shu-Han Yuan · 0 citations
Review Open access Aug 2026

Prediction of Depressive Experience Among Korean Adolescents: A Comparative Study of Machine Learning Models

Objectives: This study aimed to develop and compare machine learning models for predicting depressive experience among Korean adolescents and to identify key predictors associated with depressive experience.Methods: Data from 54,152 adolescents who participated in the 2025 Korea Youth Risk Behavior Web-based Survey wer...

Hari Jo, So-Yeong Park · 0 citations
Open access Aug 2026

Mental Health Prediction System Using Machine Learning Algorithms

This technical report explains how a machine learning-based system was developed and tested to identify the risks of depression in students of a university and proves the technical feasibility and clinical utility of an automated and accessible and privacy-aware screening tool.

Mustafa Ahmed Abdulwahhab · 0 citations
Open access Sep 2026

Explainable Machine Learning for Predicting Student Depression Risk

Depression among students has emerged as a critical issue within educational institutions, leading to the need for approaches that can support early identification of students at risk. This study developed an explainable machine learning framework for predicting student depression risk using non-clinical demographic, a...

Reynalyn Cernechez, S. Hosseini, Muhammad Nadeem et al. · 0 citations
Aug 2026

Machine learning-based prediction of subjective cognitive impairment levels in cancer survivors using demographic predictors.

The findings support the utility of simple demographic-based models as noninvasive tools that may support early supportive screening of subjective cognitive difficulties in cancer survivorship care, however, external validation using independent datasets is required.

Ali Jafarian, Fatemeh Keshmiri Nasrabadi, Mehrshad Khosraviani · 0 citations
Open access Aug 2026

Statistical Models and Machine Learning in Depression Detection: Evaluating XGBoost

The research compares the performance of XGBoost with traditional logistic regression and decision tree approaches for identifying and predicting depression and argues that XGBoost has the potential to improve current diagnostic practices by reducing current time and costs.

María Barrera, Cristian Inca, Zilma Diago et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.