Prevalence, associated factors, and machine learning-based prediction of depression, anxiety, and stress among university students: a cross-sectional study from Bangladesh
Authors:
- Emran HasanEHEmran Hasan
- Mohammad ArifMAMohammad Arif
- S. M. Rakibul HasanSHS. M. Rakibul Hasan
- Moses MuwanguziMoses Muwanguzi
- Joan AbaatyoJAJoan Abaatyo
- Mark Mohan KaggwaMKMark Mohan Kaggwa
- Moneerah Mohammad AlmerabMAMoneerah Mohammad Almerab
- Pawel A. AtroszkoPAPawel A. Atroszko
- Mohammad MuhitMMMohammad Muhit
- Firoj Al-MamunFAFiroj Al-Mamun
- Mohammed A. MamunMMMohammed A. Mamun
Open Access
- 14 October 2025
- journal article
- research article
- Published by Springer Nature in Journal of Health, Population and Nutrition
- Vol. 44 (1) , 1-19
Abstract
Mental health challenges are a growing global public health concern, with university students at elevated risk due to academic and social pressures. Although several studies have exmanined mental health among Bangladeshi students, few have integrated conventional statistical analyses with advanced machine learning (ML) approaches. This study aimed to assess the prevalence and factors associated with depression, anxiety, and stress among Bangladeshi university students, and to evaluate the predictive performance of multiple ML models for those outcomes. A cross-sectional survey was conducted in February 2024 among 1697 students residing in halls at two public universities in Bangladesh: Jahangirnagar University and Patuakhali Science and Technology University. Data on sociodemographic, health, and behavioral factors were collected via structured questionnaires. Mental health outcomes were measured using the validated Bangla version of the Depression, Anxiety, and Stress Scale-21 (DASS-21). Statistical analyses included chi-square tests and binary logistic regression, while seven ML models including, K-Nearest Neighbors (KNN), Random Forest (RF), Gradient Boosting Machine (GBM), Extreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), Logistic Regression (LR), and Support Vector Machine (SVM) were employed to predict mental health outcomes. The prevalence of depression, anxiety, and stress was 56.9%, 69.5%, and 32.2%, respectively. Significant associated factors for depression included unfriendly family relationships, enrollment in commerce, and cigarette smoking. Female gender, unfriendly family relationships, academic year, and cigarette smoking were significant factors for stress. No significant factors were identified for anxiety. Among ML models, SVM achieved the highest accuracy for depression prediction (accuracy = 0.5693; precision = 0.7560; log loss = 0.6847), LR for anxiety (accuracy = 0.6948; precision = 0.7881), and CatBoost for stress (accuracy = 0.6706; precision = 0.6454; F1-score = 0.5777; log loss = 0.6284). Feature importance analyses highlighted faculty of study and relation with family as the top predictors. ROC-AUC values indicated moderate discriminatory performance (all ≥ 0.5). Integrating machine learning with conventional analyses enhances the identification and prediction of factors associated with depression, anxiety, and stress among university students. These findings support the implementation of campus-based mental health screening, accessible counseling, and peer support programs, and highlight the value of data-driven approaches for developing targeted university mental health policies.Keywords
This publication has 66 references indexed in Scilit:
- Abnormal expression of rno_circRNA_014900 and rno_circRNA_005442 induced by ketamine in the rat hippocampusBMC Psychiatry, 2020
- The prevalence of distress, depression, anxiety, and substance use issues among Indigenous post-secondary students in CanadaTranscultural Psychiatry, 2019
- Problematic internet use in Bangladeshi students: The role of socio-demographic factors, depression, anxiety, and stressAsian Journal of Psychiatry, 2019
- Psychological distress and risk for suicidal behavior among university students in contemporary ChinaJournal of Affective Disorders, 2018
- Anxiety, depression, and cigarette smoking: A transdiagnostic vulnerability framework to understanding emotion–smoking comorbidity.Psychological Bulletin, 2015
- Correlates of depression, anxiety and stress among Malaysian university studentsAsian Journal of Psychiatry, 2013
- QRS detection using K-Nearest Neighbor algorithm (KNN) and evaluation on standard ECG databasesJournal of Advanced Research, 2013
- Logistic Regression: A Brief PrimerAcademic Emergency Medicine, 2011
- Family social support, community “social capital” and adolescents’ mental health and educational outcomes: a longitudinal study in EnglandSocial Psychiatry and Psychiatric Epidemiology, 2011
- The prevalence and socio-demographic correlations of depression, anxiety and stress among a group of university studentsSocial Psychiatry and Psychiatric Epidemiology, 2008