Influencing factors analysis and prediction model construction of medical students'suicidal ideation based on machine learning algorithm

ZHANG Yilin,WANG Chao,LI Mengdie,LIU Zhaorui,LYU Juncheng
DOI: https://doi.org/10.16462/j.cnki.zhjbkz.2023.11.013
2023-01-01
Abstract:Objective The purpose of this study is to understand the factors influencing suicidal ideation among medical students and to explore the predictive effect of machine learning(ML)algorithms.Methods A random stratified whole-group sampling of medical students in Shandong Province was conducted from November 2021 to March 2022 to conduct the questionnaire survey.The Chi-square test,Fisher's exact probability method,and Logistic regression were used to explore the factors influencing suicidal ideation among medical students.The prediction models were constructed based on a machine learning algorithm in the training set.The predictive ability of the model was evaluated in the test set based on accuracy,sensitivity,and so on.Results The suicidal ideation rate in medical students was 12.80%.The results showed that living in rural areas(OR=1.523,95%CI:1.023-2.271,P=0.039),and depression symptoms(OR=3.874,95%CI:2.676-5.621,P<0.001)were risk factors for suicidal ideation.Having not been in love in the past two years(OR=0.601,95%CI:0.427-0.841,P=0.003)and so on were protective factors for suicidal ideation.The prediction accuracy and sensitivity of the four models were higher than 0.90,the Kappa values were higher than 0.80,and the positive and negative predictive values were higher than 0.90.Conclusions All four prediction models perform well,among which the suicide ideation prediction model based on support vector machine(SVM)has more advantages.The SVM model can effectively predict the risk of suicidal ideation,which is more helpful for early identification and intervention of high-risk groups.
What problem does this paper attempt to address?