Related Experiment Video
Updated: Mar 3, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Development and External Validation of a Prediction Model to Identify Suicide Attempters in Treatment-Naive
Yuqin Song1,2, Mengqin Dai2, Qiuyue Fan2
1Mental Health Center, Affiliated Hospital of North Sichuan Medical College, Nanchong, Sichuan, China, hospital-nsmc.com.cn.
Background:
Suicidal behavior in adolescents poses a significant risk, and suicide attempts are the strongest predictors of suicide death. Patients with Major Depressive Disorder (MDD) are at high risk of attempting suicide. However, there is still a lack of effective tools in clinical settings to identify these suicide attempters.
Methods:
The study assessed suicidal attempts and their predictive factors in adolescents first diagnosed with MDD from August 1, 2022, to May 31, 2024. Five algorithms were used for model construction: logistic regression, random forest, decision tree, support vector machine, and XGBoost. Finally, we evaluated the performance of the best model using an independent external validation set.
Results:
The study included 820 untreated adolescent first-visit MDD patients (618 females [75.4%], average age 14.67 ± 1.69 years). Of these, 481 (58.7%) had disclosed suicidal ideation to others, and 299 (36.5%) reported having attempted suicide. Predictive variables for the outcome included age, grade, BMI z-score, levels of depression and anxiety, sleep quality, history of being left behind, father's occupation, primary residence before age 16, history of non-suicidal self-injury (NSSI) within the last year, and history of disclosure of suicidal ideation. The XGBoost model showed the highest prediction accuracy (ROC_AUC, 0.72; PR_AUC, 0.65) and sensitivity (0.85) after external validation. The history of NSSI within the last year had the strongest predictive effect on suicide attempts, followed by disclosure of suicidal ideation, sleep quality, BMI z-score, and anxiety levels.
Conclusions:
Despite including only 11 easily collectible clinical variables, the XGBoost model effectively identifies suicide attempters among untreated adolescent first-visit MDD patients and performs stably in external validation sets. This is beneficial for clinicians to conduct evidence-based suicide prevention efforts.
Related Concept Videos
Depressive Disorders: Etiology
Biological Factors in Depression
Biological predispositions significantly influence the risk of developing depressive disorders. Genetic studies highlight the role of variations in the serotonin transporter...
Modeling in Therapy
Participant Modeling
Participant modeling involves therapists demonstrating calm and effective behaviors in...
Depressive Disorders: MDD and Dysthymia

