Prediction of Mental Health Problems Based on Logistic Regression Model

Authors

  • Yining Wang

DOI:

https://doi.org/10.54097/vj5w5b07

Keywords:

Logistic regression model; mental health prediction; confusion matrix.

Abstract

This study aims to construct a logistic regression model using the "Mental Health Dataset" on Kaggle to predict mental health status and evaluate its accuracy based on the confusion matrix. The study selected 2,000 random samples and 16 variables, and after preprocessing the data, the model was built. Descriptive analysis found that "mental health history (binary)" was correlated to varying degrees with multiple variables, and ultimately 9 related factors were included in the model. The logistic regression results showed that social weaknesses, work interest, and mood swings were significantly related to the mental health status of college students. However, the model's predictive ability was limited, with an accuracy rate of 0.602, a Kappa value of -0.017, a sensitivity of only 0.053, and a specificity of 0.933. The study suggests that subsequent improvements in variable selection and model construction methods can enhance the predictive accuracy, providing a more reliable basis for early intervention and prevention of mental health problems.

Downloads

Download data is not yet available.

References

[1] Michaud P A, Fombonne E. Common mental health problems. Bmj, 2005, 330(7495): 835-838.

[2] Chesney E, Goodwin G M, Fazel S. Risks of all-cause and suicide mortality in mental disorders: a meta-review. World psychiatry: official journal of the World Psychiatric Association (WPA), 2014, 13(2): 153-160.

[3] Banerjee D, Kosagisharaf J R, Sathyanarayana Rao T S. 'The dual pandemic' of suicide and COVID-19: A biopsychosocial narrative of risks and prevention. Psychiatry research, 2021, 295: 113577.

[4] Rehm J, Shield K D. Global Burden of Disease and the Impact of Mental and Addictive Disorders. Current psychiatry reports, 2019, 21(2): 10.

[5] Patel V, Chisholm D, Dua T, Laxminarayan R, Medina-Mora M E. Mental, Neurological, and substance use disorders: Disease Control Priorities. The International Bank for Reconstruction and Development, The World Bank, 2016.

[6] De Figueiredo C S, et al. COVID-19 pandemic impact on children and adolescents' mental health: Biological, environmental, and social factors. Progress in neuro-psychopharmacology & biological psychiatry, 2021, 106: 110171.

[7] Musiat P, Conrod P, Treasure J, Tylee A, Williams C, Schmidt U. Targeted prevention of common mental health disorders in university students: randomised controlled trial of a transdiagnostic trait-focused web-based intervention. PloS one, 2014, 9(4): 93621.

[8] Sahlan F, Hamidi F, Misrat M Z, Adli M H, Wani S, Gulzar Y. Prediction of mental health among university students. International Journal on Perceptive and Cognitive Computing, 2021, 7(1): 85-91.

[9] Baba A, Bunji K. Prediction of mental health problem using annual student health survey: machine learning approach. JMIR Mental Health, 2023, 10: 42420.

[10] Garriga R, Mas J, Abraha S, et al. Machine learning model to predict mental health crises from electronic health records. Nature Medicine, 2022, 28(6): 1240-1248.

Downloads

Published

27-06-2025

How to Cite

Wang, Y. (2025). Prediction of Mental Health Problems Based on Logistic Regression Model. Highlights in Science, Engineering and Technology, 144, 280-287. https://doi.org/10.54097/vj5w5b07