Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.

Why this paper is included

Supporting source evidence:

(Su et al., 2020) [78] | USA | retrospective study | 41,721 | pediatric population who visited specified health center | Sex, Age, Race, Ethnicity, Depression, Anxiety, Mood Disorder, Problems Related To Lifestyle, Emotional State, ADHD, Conduct Disorder, Bipolar, Personal History Of Certain Other Disease, Joint Disorder, Sertraline, Hydroxyzine Pamoate, Ethinyl Estradiol, Lorazepam, Escitalopram, Citalopram, Fluoxetine, Cholecalciferol, Hydroxine Hcl, Venlafaxine, Guanfacine, Trazodone, Prozac, Risperidone, Zoloft, Aripiprazole, Quetiapine, Culture Urine, Acetaminophen Level, Urinalysis With Microscopic, POC Pregnancy Urine, MDMA, POC Urinalysis Dipstick, Urinalysis With Microscopic, POC Pregnancy Urine, Salicylate Level, GC/Chlamydia, Oxycodone Urine | logistic regression | AUC = 0.86

Source: Results table. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Systematic review.

Systematic review

Uses explicit methods to identify, assess and summarise research on a defined question.

Meta-analysis reported · Blinding not applicable to this review · Research setting awaiting verification

How this paper was classified

Automatic source-based classification; awaiting editorial verification. This is not a quality score.

Role of machine learning algorithms in suicide risk prediction: a systematic review-meta analysis of clinical studies

Source: Article title.

Role of machine learning algorithms in suicide risk prediction: a systematic review-meta analysis of clinical studies

Source: Article title.

View supporting evidence in the original paper

What the study types mean
Systematic review
Uses explicit methods to identify, assess and summarise research on a defined question.
Scoping review
Maps the extent and characteristics of research on a topic.
Narrative review
Discusses existing research; systematic-review methods have not been established by this classification.
Review / evidence synthesis
Reviews existing research; the exact review methods need further assessment.
Randomised controlled trial
Assigns participants or groups to comparison interventions by chance.
Non-randomised intervention study
Examines an intervention without random allocation.
Cohort study
Examines exposures and outcomes over time within a defined group.
Case-control study
Compares people with an outcome against people without it, examining exposures.
Cross-sectional study
Examines a population at a particular point in time.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Case report
Describes an individual case.
Case series
Describes a group of individual cases.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Laboratory study
Investigates biological processes in a laboratory setting.
Qualitative study
Examines experiences or meanings using qualitative methods.
Genetic instrumental-variable study
Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
Study protocol
Describes planned methods and is not evidence that the planned study has reported results.
Multiple reported designs
More than one design is explicitly reported; examine the supporting methods.
Study design awaiting verification
The available source does not establish a sufficiently clear study design.

Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.

Full studies

Role of machine learning algorithms in suicide risk prediction: a systematic review-meta analysis of clinical studies

Systematic review · BMC Medical Informatics and Decision Making · 2024

Original publication title

Role of machine learning algorithms in suicide risk prediction: a systematic review-meta analysis of clinical studies

Houriyeh Ehtemam; Shabnam Sadeghi Esfahlani; Alireza Sanaei; Mohammad Mehdi Ghaemi; Sadrieh Hajesmaeel-Gohari; Rohaneh Rahimisadegh; Kambiz Bahaadinbeigy; Fahimeh Ghasemian; Hassan Shirvani

© The Author(s) 2024

Original publication · Publisher record · CC BY 4.0 · CC0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

At a glance

Abstract: What objectives does the paper state?

Suicide is a complex and multifactorial public health problem. Understanding and addressing the various factors associated with suicide is crucial for prevention and intervention efforts. Machine learning (ML) could enhance the prediction of suicide attempts.

Source: Objective

Study methods

What methods does the paper describe?

Search strategy and study selection

We adhered to the PRISMA (Preferred Reporting Items for Systematic Reviews and Meta-Analyses) guidelines to systematically identify, select, and assess relevant studies for inclusion in our review. Our search strategy focused on PubMed, Scopus, Web of Science and SID databases, and there were no limitations on the publication date, ensuring comprehensive coverage of the literature. The project was initiated on June 1, 2022, and concluded on August 8, 2023, with a focus on two domains: machine learning (ML) and suicide.

To capture relevant studies, our search strategy incorporated keywords such as “self-harm”, “self-injury”, “self-destruction”, “self-poisoning”, “self-mutilation”, “self-cutting”, “self-burning”, “suicid*”. Additionally, we explored using artificial intelligence and ML techniques to predict suicidal attempts by employing “AND” and “OR” operators. The management of literature was facilitated through Endnote X7.

The study encompassed two primary outcomes: first, identifying the most effective ML algorithms based on their outcome measures, and second, identifying influential risk factors for predicting suicide. These outcomes were instrumental in achieving a comprehensive understanding of the field and informing our research objectives.

Inclusion & exclusion criteria

Inclusion criteria were applied to identify relevant studies for our review. The following criteria were considered:

  1. Population: Studies that included participants from various age groups, including pediatrics, geriatrics, and all-age populations, were included.

  2. Language: Only studies published in the English language were included.

  3. Methods: Studies employing ML methods to predict suicide were included.

  4. Publication format: Studies published as journal articles, theses, and dissertations were included.

  5. Study design: Various study designs, including prospective, retrospective, retrospective cohort, case-cohort, case-control, cohort, diagnostic/prognostic, longitudinal, longitudinal cohort, longitudinal prospective, prognostic, prospective cohort, retrospective, retrospective cohort, and randomized control trial studies, were considered for inclusion.

Exclusion criteria were applied to select relevant studies for our analysis. Studies were excluded if they met the following criteria:

  1. Population: Studies focusing specifically on military personnel and veterans were excluded. Including military personnel and veterans in our analysis could introduce unique variables and considerations related to their distinct healthcare needs, access to services, and experiences. For example, military personnel and veterans often have specific healthcare requirements stemming from their service-related experiences. These may encompass a range of issues, including physical injuries sustained during deployment, exposure to hazardous environments leading to unique health challenges, and complex medical histories shaped by their military service.

    Moreover, their access to healthcare services can differ significantly from that of the general population. To maintain the homogeneity of our study population and to ensure the relevance and applicability of our findings to the specific context of hospitals, we have opted to exclude this subgroup.

  • 2.

    Social media-based studies: Studies aiming to predict suicide attempts using ML among adults who posted or searched content related to suicide on internet platforms such as Twitter, Instagram, and Google were excluded.

  • 3.

    Natural language processing (NLP) and image processing methods: Studies utilizing NLP and image processing techniques for predicting suicide attempts were excluded.

  • 4.

    Publication type: Conference papers, reviews, letters to editors, book chapters, and commentary papers were excluded from the analysis.

By applying these inclusion and exclusion criteria, we aimed to select studies that align with the objectives and focus of our research.

Data collection process

Data extraction was conducted using Microsoft Excel 2016 spreadsheet. The following information was extracted from each included study:

  1. Study title: The title of the research article.

  2. Authors: The names of the authors involved in the study.

  3. Year of publication: The year in which the study was published.

  4. Country of study: The geographical location where the study was conducted.

  5. Population: The target population or participants involved in the study.

  6. Type of study: The research design employed in the study.

  7. Sample size: The number of participants included in the study.

  8. Study objective: The main objective or aim of the study.

  9. Suicide risk factors: Factors or variables considered in predicting suicide risk.

  10. ML models: The specific ML models used in the study.

  11. Outcome measures: Various performance metrics used to evaluate the models, including area under the curve (AUC), sensitivity, specificity, accuracy, false negative rate, false positive rate, true positive rate, negative predictive value, positive predictive value, precision, and recall.

Quality assessment

The quality of the included articles was assessed using the Mixed Methods Appraisal Tool (MMAT 2018) following the search process. We adopted MMAT’s five sets of criteria to evaluate the quality of each type of study included in our analysis, namely qualitative, randomized controlled, nonrandomized, quantitative descriptive, and mixed methods studies [8]. This rigorous assessment process allowed us to evaluate the included studies’ methodological quality and ensure our findings’ reliability and validity.

Data analysis methods

During the quantitative phase, the extracted data were analyzed using STATA 14.1 statistical software to conduct meta-analytic procedures. We applied the Freeman-Tukey double arcsine transformation to estimate the pooled prevalence of study outcomes and their corresponding 95% confidence intervals (CI). This transformation was also utilized to stabilize variances when generating the CIs. A random-effects model based on DerSimonian and Laird’s method was employed in the pooled data collection to account for between-study variability. This model incorporated the variability using the inverse-variance fixed-effect model [22, 23].

In the qualitative phase, the extracted data was imported into MAXQDA 20 software to facilitate meta-synthesis procedures. This critical stage involved coding the suicide risk factors from our final studies based on various themes or categories, such as demographic (demographic factors, such as age, gender, marital status), clinical and behavioral (certain behaviors, like impulsivity, self-harm, or aggression, and clinical factors involve mental health diagnoses and conditions), lifestyle (encompass aspects of an individual’s daily life, including habits and routines), laboratory and biomarkers (these could include genetic markers, hormonal imbalances), and questionnaires (the use of standardized scales and questionnaires helps quantify and measure psychological factors associated with suicide risk).

Through this process, we aggregated the coded data to identify common suicide risk factors across all the studies, allowing for a comprehensive understanding of the topic.

Publication bias

We researched various languages and databases to address study, citation and database biases. We enhanced our search strategy, resulting in the identification of 7529 publications. This abundance of sources highlights the prevalence of multiple-citation publications within our dataset. Given the common occurrence of publishing study results in similar or consecutive articles, we utilized EndNote software to identify duplicates and mitigate the risk of multiple publications and bias.

Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods Source: Materials and methods

Results: Pooled prevalence of ML outcomes

Additional details of the studies included can be found in Table 1 (after reference section). Note that the statistical analysis revealed that the negative predictive value and the false positive rate did not show a significant difference, with a p-value greater than 0.05. To identify single study influence on the overall meta-analysis, a sensitivity analysis was performed using a random-effects model and the result showed there was no evidence for the effect of single study influence on the overall meta-analysis.

Table 1

Details of included studied, systematic review mixed-method in order to identify most common suicide risk factors and ML outcomes

Authors, published yearCountryStudy designSample sizeParticipantsMost important suicide risk factorsThe best ML algorithmsOutcome
(Alexopoulos et al., 2021) [59]USArandomized clinical trial249Older adults (aged 60 or above) diagnosed with major depressionHopelessness, Neuroticism, And Low General Self-Efficacy, Avoidance/Rumination, Activation, Disability [12-Item World Health Organization Disability Assessment Schedule II (WHODAS-II), NEO Neuroticism Subscale, [Beck Hopelessness Scale (BHS), [Subscale Of The Behavioral Activation For Depression Scale (BADS)

least absolute shrinkage and selection

operator (LASSO)

AUC = 0.735
(Bai et al., 2021) [24]Chinacohort159Individuals diagnosed with major depressive disorder who experience suicidal ideation, compared to healthy participants

Total Cholesterol (TC), Triglyceride (TG), HDLC, Low Density Lipoprotein Cholesterol (LDLC), APOA1, Apo Lipoprotein B (APOB), Lipoprotein A (LPA), Hypersensitive C-Reactive Protein (CRP), TRSF, Homocysteine (HCY), And AAT, BMI, Age, Sex, Education, Marital Status, Family History Of Mental Illness, Smoke, Hamilton Rating Scale For Depression (HDRS Scores), Beck Scale For Suicide Ideation-Chinese

Version (BSI-CV Scores)

Random ForestAUC = 0.928
(Balbuena et al.,2022) [60]Norway, Saskatoonretrospective cohort185,889General population

Income, Age, Sex, Marital Status, Month Of Birth, Living With A Spouse, Education, Social Deprivation, Mood Symptoms, Nervous Or Worried, Anxiety, Irritable, Felt Confident And Calm, Felt Happy And

Optimistic, Felt Down, Depression, Felt Lonely, Smoke, Alcohol, Physical Activity, Exposure To Smoke-Filled Rooms, And Exposure To Secondary Smoke As A Child, Substance Abuse, Triglyceride, HDL-Cholesterol, Glucose, Total Cholesterol, Waist-Hip Ratio, Blood Pressure Medications, BMI, Having An Injury Requiring Hospitalization, Eating Disorder, Personality Disorder, Schizophrenia, Mania, ADHD, Repeated Episodes Of Self-Harm (RESH)

COX (male)

Random Forest (female)

AUC (male): 0.57, AUC (female): 0.50
(Ballester et al.2021) [61]BrazilProspective cohort study1560General populationSex, Socioeconomic Status, Age, Education, Quality Of Life, Mental Disorder Symptomsgradient tree boostingTrue positive rate = 0.79, False positive rate = 0.28
(Barak-Corren et al., 2017) [62]USAretrospective cohort1,724,785Inpatient and outpatientMental Disorders, Personality Disorders, Schizophrenia, Psychotic Disorders, Open Wounds, Superficial Injury, Sex, Age, Race, Ethnicity, Veteran Status, Marital Status, Substance Abuse, AlcoholNaive Bayesian classifierAUC = 0.77, Sensitivity = 0.54, Specificity = 90%
(Bhak et al., 2019) [63]South Koreacohort182The study included individuals who had attempted suicide, patients diagnosed with major depressive disorder, and a group of healthy controlsAge, Sex, Family History Of Depression, Family History Of Suicide Attempt, Depression, Antidepressant, Hamilton Rating Scale For Depression–17, SSI Scale For Suicidal Ideationrandom forest classifier

Accuracy = 92.6% in distinguishing suicide attempters from major depressive disorder patients

87.3% in distinguishing major depressive disorder patients from controls

86.7% in distinguishing suicide attempters from controls

Average accuracy = 88.87

(Cho et al., 2020) [64]South Koreacohort372,813Individuals who are subscribers of health insurance or recipients of medical aid and have been referred for a check-upY-Glutamyl Trans peptidase, BMI, Demographics: Age, Exercise, Alcoholrandom forest

AUC during follow-up = 0.849, AUC after follow-up = 0.818, Average AUC = 0.8335, positive predictive value during follow-up = 0.007, positive predictive value after follow-up = 0.003, Average positive predictive value = 0.005, negative predictive value during and after follow-up = 0.999, Average negative predictive value = 0.999, False negative rate during follow-up = 0.183, False negative rate after follow-up = 0.341, Average False negative rate = 0.262, False positive rate during follow-up = 0.247, False positive rate after follow-up = 0.212,

Average False positive rate = 0.2295 ,

accuracy during follow-up = 0.754,

accuracy after follow-up = 0.788, Average accuracy = 0.771,

Sensitivity during follow-up = 0.817,

Sensitivity after follow-up = 0.657,

Average sensitivity = 0.737,

Specificity during follow-up = 0.754,

Specificity after follow-up = 0.788

Average Specificity = 0.771

(Cho et al., 2021) [42]South Koreacohort48,047Individuals who underwent health screeningSex, Insurance, Age, Depression, Antidepressants, Aspartate Transaminase, Waist Circumference, Sleeping Pills, BMI, Benzodiazepine, Glucose, Cholesterol, Lipoprotein (HDL), Hemoglobin, Triglyceride, Systolic Blood Pressure, Low-Density Lipoprotein (LDL), Creatinine, Y-Glutamyl Transpeptidaserandom forestAUC = 0.818, positive predictive value = 0.007, negative predictive value = 0.999, Accuracy = 0.832, Sensitivity = 0.600, Specificity = 0.833
(Choi et al., 2021) [50]South Korealongitudinal study78,796General populationIncome, Age, Drinking Age, Average Sleep Time Per Day, Education, Home Ownership, Economic Activity, Uncomfortable Experience In Past 2 Weeks, Sex, Depression, Anxiety, Athletic Ability, Pain/DiscomfortXGBoost classifier

AUC suicidal ideation = 0.950

AUC suicide attempts = 0.990

Average AUC = 0/97,

Precision suicidal ideation = 0.874,

Precision suicide attempts = 0.977,

Average precision = 0.9255 ,

Recall suicidal ideation = 0.893,

Recall suicide attempts = 0.986

Average recall = 0/9395,

Accuracy suicidal ideation = 0.893,

Accuracy suicide attempts = 0.986,

Average accuracy = 0.9395

(Kyu Sung Choi et al., 2021) [65]South Korealongitudinal study31,720General populationAge, Sex, Anxiety, Resilience, Self-Esteem, Depression, Neuropsychiatric Disorder, Patient Health Questionnaire-9 (PHQ-9), Generalized Anxiety Disorder-7 (GAD-7), State-Trait Anxiety Inventory-State Anxiety (STAI-S, Or STAI-X1), Resilience Appraisal Scale (RAS), Rosenberg Self-Esteem Scale (RSES), Mini International Neuropsychiatric Interview (MINI)deep graph neural network model (GIN)AUC = 0.878, Sensitivity = 76.3, Specificity = 83.4
(Choi et al., 2018) [46]South Koreacohort819,951Korean who are covered by Medicare and Medicaid insurance inpatient or outpatientDisability, Endocrine, Nutritional And Metabolic Diseases, Mental And Behavioral Disorders, Diseases Of The Nervous System, Diseases Of The Eye And Adnexa, Diseases Of The Ear And Mastoid Process, Diseases Of The Respiratory System, Diseases Of The Genitourinary System, Injury, Poisoning, Factors Influencing Health Status, Sex, Age, Type Of Insurance, Household IncomeCox regressionAUC = 0.688
(R. Yates Coley et al., 2021) [25]USAdiagnostic/prognostic study13,980,570Outpatient appointments with a mental health professionalBipolar, Schizophrenia, Mental Disorder Symptoms, Encounters In Past 5 Y With Mental Health Diagnosis, Depression, Anxiety, Race, Sex, Age, Medicaid Insurance, Alcohol, Substance Abuse, Patient Health Questionnaire 9 (PHQ-9 Score)Logistic regression with LASSOAUC = 0.822
(Edgcomb et al., 2021) [43]USAlongitudinal cohort study15,644Adults with serious mental illnesses are at high risk for both medical illness and serious suicide attempts and self-harmMedical Comorbidity, Age, Number of Medical Hospitalizations In The Previous Year, Alcohol, Bipolar, In-Hospital Mortality Score, Walraven ScoreClassification and Regression Tree algorithm (CART)AUC = 0.86
(Edgcomb et al., 2021) [31]USAretrospective cohort study142,476women with depression, bipolar disorder, schizophrenia or schizoaffective disorderMedical Comorbidity, History of Pregnancy-Related Mental Illness, Age, Van Walraven ScoreClassification and Regression Tree algorithm (CART)

AUC repository1 = 0.73, AUC repository2 = 0.71, Average AUC = 0.72 ,

Accuracy repository1 and repository2 = 0.84, Sensitivity repository1 = 73.4, Sensitivity repository2 = 83.3, Average Sensitivity = 78.35 ,

Specificity repository1 = 84.1,

Specificity repository2 = 82.2, Average Specificity = 83.15

(Etter et al., 2017) [66]USAProspective cohort study2134General populationSex, Race, Age, Substance AbuseLogistic regressionAUC = 0.84
(Ge et al., 2020) [67]Chinaretrospective study1916patients with major depressive disorderAge, Sex, Marital Status, Vocational Status, Ethnicity, Depression, Anxiety, Free Triiodothyronine (FT3), Free Thyroxine (FT4), Thyroxine, Triiodothyronine, Thyrotropin Stimulating Hormone (TSH), Hamilton Depression Scale (HAMD), Hamilton Anxiety Rating Scale (HAMA)neural networkAUC = 0.76, Accuracy = 70.08, Sensitivity = 70.68, Specificity = 67.09
(Hill et al., 2019) [68]USAlongitudinal study4834General populationHIV/STD/Sex-Related, Depression, Risky Behavior, Relationship, Friends Have Succeeded in Committing Suicide In The Past 12 Months, Resident Mother, Race, Substance AbuseA Classification Tree Approach (CTA)Accuracy Wave 1 = 85.1, Accuracy Wave 2 = 71.7, Average accuracy = 78.4, Sensitivity Wave 1 = 69.8, Sensitivity Wave 2 = 90.6, Average sensitivity = 80.2, Specificity Wave 1 = 85.7, Specificity Wave 2 = 70.9, Average specificity = 78.3
(Kim et al., 2021) [69]South Korearetrospective analysis7824Students who have been referred for a health check-upFamily Problems, Interpersonal Passivity, Aberrant Experiences, Social Avoidance, Shyness, Disaffiliativeness, Juvenile Conduct Problems, Aggression, Activation, Hopelessness, Helplessness, Self-Doubt, Inefficacy, Stress/Worry, Anxiety, Anger Proneness, Behavior-Restricting Fears, Multiple Specific Fears, Malaise, Demoralization, Low Positive Emotions, Cynicism, Antisocial Behavior, Ideas Of Persecution, Dysfunctional Negative Emotions, Hypomanic Activation, Emotional/Internalizing Dysfunction, Thought Dysfunction, Behavioral/Externalizing Dysfunction, Substance Abuse, Gastro-Intestinal Complaints, Head Pain Complaints, Neurological Complaints, Cognitive Complaints, Somatic Complaints, Suicidal/Death Ideation (SUI) Scale, PSY-5 (Personality Psychopathology Five) Scales, AES Aesthetic-Literary Interests, MEC Mechanical-Physical InterestRandom forest

AUC suicide ideation = 0.844, AUC suicide attempt = 0.851, Average AUC = 0.8475 ,

Precision suicide ideation = 0.920,

Precision suicide attempt = 0.953,

Average precision = 0.9365 ,

Recall suicide ideation = 0.929,

Recall suicide attempt = 0.950,

Average recall = 0.9395 ,

Accuracy suicide ideation = 92.9,

Accuracy suicide attempt = 95 ,

Average accuracy = 93.95 ,

(Haroz et al., 2022) [70]USAretrospective cohort13,420Pediatric patientsSex, Age, Race, Anxiety, Depression, Alcohol, Obesity, Tobacco, ADHD, Brain Injury, Psychotic Disorders, Anemia, Bipolar, Migraine, Autism, Diabetes, Drug, Asthma, Learning Disorder, Intellectual Disability, PTSD, Epilepsy, Cancer, Hemiplegia, Cerebrovascular Disease, Other Developmental Disorder, Renal Disease, Mild Liver Disease, Rheumatoid Disease, Heart Failure, Vascular Disease, Metastatic Tumor, AIDS, Severe Liver Disease, Myocardial Infraction, Leukemia And Lymphoma, Personality Disorder, Charlson Comorbidity IndexBinary Logistic Regression model

AUC Model 2: ASQ + HER = 0.843,

positive predictive value Model 2: ASQ + HER = 0.103,

False negative rate Model 2: ASQ + HER = 0.183, Accuracy Model 2: ASQ + HER = 0.815,

Sensitivity Model 2: ASQ + HER = 0.817

(Melhem et al., 2019) [71]USAlongitudinal study663offspring of parents (or probands) with mood disordersBipolar, Posttraumatic Stress, Hyperactivity, Childhood Abuse, Psychotherapy, Antidepressants, Nonpsychotropic Medications, Hopelessness, Impulsivity, Impulsive Aggression, Irritability, Mood Disorders, Depression, Anxiety, Aggression, Sex, Age, Race, Income, Alcohol, Substance Abuselogistic regressionAUC = 0.80, Sensitivity = 87.3, Specificity = 63
(Machado et al., 2020) [72]USAProspective cohort study77,746General populationBMI, Psychotic Disorders, Personality Disorders, Mood Disorder, Anxiety, Age, Sex, Race, Marital Status, Education, Income, Substance AbuseElastic net regularization

AUC distinguished individuals who had attempted suicide from those who had not = 0.89,

AUC participants with lifetime major depressive episodes = 0.89,

Average AUC = 0.89,

positive predictive value distinguished individuals who had attempted suicide from those who had not = 0.0455,

positive predictive value participants with lifetime major depressive episodes = 0.1048,

Average positive predictive value = 0.07515 ,

negative predictive value distinguished individuals who had attempted suicide from those who had not = 0.9980,

negative predictive value participants with lifetime major depressive episodes = 0.9944,

Average negative predictive value = 0.9962 ,

Sensitivity distinguished individuals who had attempted suicide from those who had not = 0.7451,

Sensitivity participants with lifetime major depressive episodes = 0.7742,

Average sensitivity = 0.75965 ,

Specificity distinguished individuals who had attempted suicide from those who had not = 0.8922,

Specificity participants with lifetime major depressive episodes = 0.8586,

Average specificity = 0.8754

(Miranda et al., 2022) [73]USAretrospective study38,807posttraumatic stress disorder (PTSD) patients, a population with a high risk of suicideGlucose, Chloride, Red Cell Distribution Width, Mean Corpuscular Hemoglobin, Hemoglobin, Hematocrit, Mean Corpuscular Volume, White Blood Cell, Anion Gap, Blood-Urine, ABS Neutrophils, Glucose-Urine, Glucose (Bedside Test), ABS Basophils, Red Blood Cell, Potassium, International Normalized Ratio, Ionized Calcium ISTAT, Ionized Calcium, Bacteria, Base Excess, Total Protein, Calcium, Red Blood Cells-Urine, Sodium, Prothrombin Time, Mean Platelet Volume, Plateletsdeep-learning (DRNN)AUC = 0.932
(Zheng et al., 2020) [74]USAcohort236,347Patients who visited three specified health centersAge, Sex, Family Problems, Unemployment, Anxiety, Depression, Mood Disorder, Anxiety, Substance Abuse, Alcohol, Tobacco, Arthritis, Back Pain, Vehicle Accidents, Head Pain Complaints, PTSD, Esophageal Disorders, Hypertension, Esophageal Reflux, Serotonin Reuptake Inhibitor, Physical Restraints, Educational Circumstances Problems, Injury, Poisoning, Psychosocial Issues, Drug Use, Asthma, Schizophrenia, Joint Pain, Nervous System Disorders, Neuropathy, Bipolar, Developmental Disorders, Fibromyalgia, Impulse Control Disorders, Personality Disorders, Endocrine Disorders, Forearm, Migraines, Borderline Personality DisorderDeep Learning model

AUC 1-year suicide attempt = 0.792,

AUC retrospective and prospective cohorts = 0.769, Average AUC = 0.7805

(Zhu et al., 2020) [75]Chinacohort169inpatients (Patients With Bipolar II Disorder)

Age, Education, Sex, Marital Status, Family History Of Mental Disorder, Family History Of Suicide, Occupation, Seasonal Characteristics, Depression, Hypomania, Substance Abuse, Course Of Disease, Combined Somatic Disorder, Psychotic Characteristics, Hamilton Depression Rating Scale (Scores Of HAMD-17), Hamilton Depression Rating Scale (Scores Of HAMD-16), Hamilton Anxiety Rating Scale (Scores Of HAMA), Nurses’ Global Assessment Of

Suicide Risk (NGASR)

support vector machines (SVMs)Accuracy = 0.84
(Setoyama et al., 2016) [76]Japancohort339psychiatric patients

Blood Plasma: 3-Hydroxybutyrate (3HB), Betaine, Citrate, Creatinine, And

Gamma-Aminobutyric Acid (GABA), Hamilton Rating Scale For Depression (HAMD)-17, Patient Health

Questionnaire (PHQ)-9

logistic regressionAUC = 0.75
(Van Mens et al., 2020) [77]Scotlandlongitudinal study3508General populationBurdensomeness, Mental Disorder Symptoms, Impulsivity, Defeat, Entrapment, Internal Entrapment, Interpersonal Needs, Depression, External-Entrapment, Stress, Wellbeing, Twarted-Belonginess, Optimism, Perfectionism, Resilience, Interpersonal Needs, Lack of Social Support, Reengagement, Acquired Capability, Goal Disengagement, Age, Sexrandom forestAUC = 0.83, positive predictive value = 0.52
(Su et al., 2020) [78]USAretrospective study41,721pediatric population who visited specified health centerSex, Age, Race, Ethnicity, Depression, Anxiety, Mood Disorder, Problems Related To Lifestyle, Emotional State, ADHD, Conduct Disorder, Bipolar, Personal History Of Certain Other Disease, Joint Disorder, Sertraline, Hydroxyzine Pamoate, Ethinyl Estradiol, Lorazepam, Escitalopram, Citalopram, Fluoxetine, Cholecalciferol, Hydroxine Hcl, Venlafaxine, Guanfacine, Trazodone, Prozac, Risperidone, Zoloft, Aripiprazole, Quetiapine, Culture Urine, Acetaminophen Level, Urinalysis With Microscopic, POC Pregnancy Urine, MDMA, POC Urinalysis Dipstick, Urinalysis With Microscopic, POC Pregnancy Urine, Salicylate Level, GC/Chlamydia, Oxycodone Urinelogistic regressionAUC = 0.86
(Forkmann et al., 2020) [79]Germanylongitudinal prospective study308The study focused on participants over the age of 18 who were admitted to a psychiatric hospital due to severe suicidal ideation or a suicide attempt within two weeks of admissionBurdensomeness, Belongingness, Depression, Pessimistic And Hopeless Cognitions, Fearlessness About Death, Pain Tolerance, Capability For Suicide, Self-Injurious Thoughts And Behaviors Interview (SITBI), German Capability For Suicide Questionnaire (GCSQ), Interpersonal Needs Questionnaire (INQ), Rasch-Based Depression Screening (DESC-I), Beck Hopelessness Scale (BHS), Beck Scale For Suicide Ideation (BSS) (Interpersonal Theory Of Suicide, Pos. 4–8)logistic regressionAUC = 0.729
(Adams et al., 2021) [80]DenmarkCase–cohort study15,953

Case: all hospital outpatient clinic

visits were reported to the Danish National Patient Registry

Control: all persons born or legally residing in Denmark on 1 January 1995

Sedative, Hypnotic, Anxiolytic, Age, Marital Status, Income, Immigrant, Alcohol, Opioid, Cannabis, Cocaine, Hallucinogen, Nicotine, Other Psychoactive Substancerandom forestsAUC men = 0.77, AUC women = 0.86, Average AUC = 0.815
(Barak-Corren et al., 2020) [81]USAcase control3,714,105

Case: Cases were

defined as individuals having at least 1 captured suicide attempts,

Control: candidate that are likely to capture suicide

attempts

Sex, Race, Ethnicity, Poisoning By Unspecified Drug Or Medicinal Substance, Drug Withdrawal Syndrome, Cocaine Dependence, Unspecified Use, Drug-Induced Organic Affective Syndrome, Borderline Personality, Unspecified Use, Unspecified Neurotic Disorder, Unspecified Use, Multiple And Unspecified Open Wound Of Upper Limb, Without Mention Of Complication, Unspecified Use, Open Wound Of Upper Arm, Without Mention Of Complication, Unspecified Use, Open Wound Of Hand Except Fingers Alone With Tendon Involvement, Assault By Cutting And Piercing Instrument, Bipolar Affective Disorder,

Unspecified Degree, Unspecified Personality Disorder, Bipolar Affective Disorder, Mixed, Mixed, Or Unspecified Drug Abuse, Acute Alcoholic Intoxication In Alcoholism (Alcohol), Unspecified Drinking Behavior, Cocaine Abuse, Opioid Type Dependence, Unspecified Drug Dependence, Depression, Antipsychotics, Antidepressants, And Mood Stabilizers (Eg, Lithium), Antiretroviral Medications Used To Treat

HIV/AIDS (Eg, Ritonavir) Were Associated With An Increased Risk For A Suicide Attempt. Nicotine

Replacement Therapy Also Consistently Emerged As A Leading Predictor Across The Nonpediatric

Hospitals, Toxicology Tests, Toxicology Screening Tests, Choriogonadotropin-Beta, Levels Of Valproic Acid, BCH, Lithium Level

naive Bayes classifiersAUC = 0.73
(Barros et al., 2017) [82]USAcase control707

Case: mental health patients with suicide risk,

Control: mental health patients

without suicide risk

Bipolar, Mixed Episode, Adjustment Disorder, Dysthymia, Depression, Anxiety, Age, Sex, Marital Status, Parental Status, Education, Occupationsupport vector machineAccuracy = 0.78, Sensitivity = 0.77, Specificity = 0.79
(Berkelmans et al., 2021) [53]Netherlandcase control602,270

Case: The people who died by suicide,

Control: people who did not die due to suicide

Age, Sex, Income, Education, Immigration Background, Urban city, Place In Household, Healthcare Costs, Province, Social Benefits, Mental Disorder Symptoms, Physical Health Problemslogistic regressionAUC = 0.77
(Delgado-Gomez et al., 2016) [83]Spaincase control902

Case 1: first-time suicide attempters,

Case 2: psychiatric inpatients without current

or past history of suicidal behavior,

Control: healthy controls

Sex, Age, Marital Status, Education, Employment Status, Suicidal Risk, Personality and Life Events Items and The Corresponding Samejima’s Parameters (PLE Scale Item)Decision treePrecision = 0.89, Sensitivity = 0.89, Specificity = 0.89
(D. Delgado-Gomez et al., 2011) [84]Spaincase control879

control: healthy blood donors,

case: psychiatric inpatients

Barrat’s Impulsiveness Scale Version 11 (BIS-11), International Personality Disorder Evaluation Screening Questionnaire (IPDESQ)Support vector machineAccuracy = 80.26
(D. Delgado-Gomez et al., 2012) [85]Spaincase control883

Case: Adults with suicide attempt,

Control: adults without suicide attempt

Age, Holmes–Rahe Social Readjustment Rating Scale (SRRS Questionnaire), International Personality Disorder Examination Screening Questionnaire (IPDE-SQ Questionnaire)multivariate classification techniques

Accuracy = 0.79,

Sensitivity = 78.30,

Specificity = 0.91

(DelPozo-Banos et al., 2018) [86]United KingdomCase–cohort study54,684

Case: those who died by suicide,

Control:

Prescription Of Psychotropic, Depression, Anxiety, Self-Harm, Age, Sex, Alcohol, Drug AbuseANNSensitivity = 64.57, Specificity = 81.86
(Gradus et al., 2021) [87]DenmarkCase–cohort study288,157

Case: Cases were all persons who made a nonfatal suicide

attempt,

Control: 5% random sample of the population at risk

Psychiatric Medications, Poisoning, Stress, Substance AbuseRandom forestAUC (male): 0.89, AUC (female): 0.91, Average AUC: 0/9
(Jiang et al., 2021) [30]DenmarkCase–cohort study14,737

Cases: all persons who died by suicide and had an incident depression

diagnosis,

Control: 5% random sample of all

individuals in Denmark

Mental Disorders, Somatic Disorders, Surgeries, Medications, Age, Marital Status, Immigrant, Family Suicide Death History, Employment, IncomeDecision tree and random forest

AUC decision tree (male): 0.71,

AUC random forest (female): 0.75,

Average AUC: 0.73

(Harman et al., 2021) [88]USAcase control11,369

Case: individuals with suicidal ideation and/or

attempt,

Control: healthy controls

Impulsivity, Prodromal Psychosis, Loneliness, Worthlessness, Behavioral Problemsrandom forestAUC: 0.77
(Navarro et al., 2021) [89]Canadaprognostic study1623General populationMother and Father Education and Mother and Father Age, Socioeconomic Status, Neighborhood Characteristics, Parents’ Psychological State, Parents’ Antisocial Behaviors, Parenting Practices, Sex, PrematurityRandom forest

AUC (male): 0.62, AUC (female): 0.72,

Average AUC: 0.67 ,

positive predictive value (male): 0.62,

positive predictive value (female): 0.60,

Average positive predictive value: 0.61 ,

negative predictive value (male): 0.71,

negative predictive value (female): 0.75,

Average negative predictive value: 0.73 ,

Sensitivity (male): 0.32, Sensitivity (female): 0.50, Average sensitivity: 0.41, Specificity (male): 0.82, Specificity (female): 0.76, Average Specificity: 0.79

(McKernan et al., 2019) [90]USAcase control8879

Case: fibromyalgia patients with suicide ideation and attempt,

Control: general population

Sex, Race, Age, Comorbid Medical Illness, Drug Dependence, Inpatient Utilization, Mental Disorder Symptoms, Obesity, Polysomatic Complaintsbootstrapped L-1 penalized regression

AUC suicide ideation: 0.8, AUC suicide attempt: 0.82, Average AUC: 0.81, Recall suicide ideation: 0.14,

Recall suicide attempt: 0.08, Average recall: 0.11

Source: Pooled prevalence of ML outcomes Source: Pooled prevalence of ML outcomes

Results: Accuracy

Accuracy refers to the ability of ML models to differentiate between health and patient groups [56] correctly. Out of the 41 final studies, 13 studies reported information on accuracy. The reported accuracy rates varied across the studies as indicated in Panel A of Fig. 2, with the lowest being 0.70 for NN in the study conducted in [30], and the highest being 0.94 for the random forest in the study conducted in [32].

The overall pooled prevalence of accuracy was 0.78 ((I2=56.32%; 95% CI: 0.73, 0.84), Table 2.

Fig. 2

Panel A. Accuracy of the machine learning models; N studies = 13

Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

The list of different ML outcomes, along with the pooled estimates for those outcomes that have sufficient records

ML performancesReferencesPooled % (95% CI)
AUC32 studies: (Setoyama et al., 2016; Barak-Corren et al., 2017, 2020; Etter et al., 2017; Choi et al., 2018, 2021, 2021; Melhem et al., 2019; McKernan et al., 2019; Cho et al., 2020, 2021; Forkmann et al., 2020; Ge et al., 2020; Machado et al., 2020; Zheng et al., 2020; Van Mensa et al., 2020; Su et al., 2020; Alexopoulos et al., 2021; Bai et al., 2021; Coley et al., 2021; Kim et al., 2021; Adams et al., 2021; Berkelmans et al., 2021; Gradus et al., 2021; Jiang et al., 2021; Harman et al., 2021; Navarro et al., 2021; Balbuena et al., 2022; Beni Edgcomb et al., 2022, 2022; Haroz, E. E. et al., 2022; Miranda et al., 2022) 0.77 (0.74, 0.80)
Accuracy13 studies: (Delgado-Gomez et al., 2011, 2012; Barros et al., 2017; Bhak et al., 2019; Hill et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Zhu et al., 2020; Choi et al., 2021; Kim et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.78 (0.73, 0.84)
Sensitivity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017, Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.69 (0.60, 0.78)
Specificity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017; Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.81 (0.77, 0.86)
Positive predictive value6 studies: (Cho et al., 2020; Machado et al., 2020; Van Mensa et al., 2020; Cho et al., 2021; Navarro et al., 2021; Haroz, E. E. et al., 2022) 0.10 (0.04, 0.19)
Recall3 studies: (McKernan et al., 2019; Choi et al., 2021; Kim et al., 2021) 0.58 (0.15, 1.29)
Precision3 studies: (Delgado-Gomez et al., 2016; Choi et al., 2021; Kim et al., 2021) 0.91 (0.85, 0.98)
False negative rate2 studies: (Cho et al., 2020; Haroz, E. E. et al., 2022) 0.26 (0.24, 0.28)
True positive rate1 study: (Ballester et al.2021) 0.77 (0.40, 1.34)
Source: Accuracy Source: Accuracy Source: Accuracy

Results: AUC

The area under the curve (AUC) as a metric used in this study to compare the performance of multiple classifiers [26]. In our analysis, a total of thirty-two studies reported AUC values as indicated in Fig. 3, Panel B. Balbuena et al.’s (2022) study reported the lowest AUC of 0.54, based on the COX and random forest models. On the other hand, Choi et al.’s (2021) reported the highest AUC of 0.97, using the XGBoost classifier. The pooled prevalence of AUC across the studies was estimated to be 0.77 (I2= 95.86%; 95% CI: 0.74, 0.80), Table 2.

Fig. 3

Panel B. AUC of the machine learning models; N studies = 32

Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

The list of different ML outcomes, along with the pooled estimates for those outcomes that have sufficient records

ML performancesReferencesPooled % (95% CI)
AUC32 studies: (Setoyama et al., 2016; Barak-Corren et al., 2017, 2020; Etter et al., 2017; Choi et al., 2018, 2021, 2021; Melhem et al., 2019; McKernan et al., 2019; Cho et al., 2020, 2021; Forkmann et al., 2020; Ge et al., 2020; Machado et al., 2020; Zheng et al., 2020; Van Mensa et al., 2020; Su et al., 2020; Alexopoulos et al., 2021; Bai et al., 2021; Coley et al., 2021; Kim et al., 2021; Adams et al., 2021; Berkelmans et al., 2021; Gradus et al., 2021; Jiang et al., 2021; Harman et al., 2021; Navarro et al., 2021; Balbuena et al., 2022; Beni Edgcomb et al., 2022, 2022; Haroz, E. E. et al., 2022; Miranda et al., 2022) 0.77 (0.74, 0.80)
Accuracy13 studies: (Delgado-Gomez et al., 2011, 2012; Barros et al., 2017; Bhak et al., 2019; Hill et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Zhu et al., 2020; Choi et al., 2021; Kim et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.78 (0.73, 0.84)
Sensitivity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017, Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.69 (0.60, 0.78)
Specificity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017; Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.81 (0.77, 0.86)
Positive predictive value6 studies: (Cho et al., 2020; Machado et al., 2020; Van Mensa et al., 2020; Cho et al., 2021; Navarro et al., 2021; Haroz, E. E. et al., 2022) 0.10 (0.04, 0.19)
Recall3 studies: (McKernan et al., 2019; Choi et al., 2021; Kim et al., 2021) 0.58 (0.15, 1.29)
Precision3 studies: (Delgado-Gomez et al., 2016; Choi et al., 2021; Kim et al., 2021) 0.91 (0.85, 0.98)
False negative rate2 studies: (Cho et al., 2020; Haroz, E. E. et al., 2022) 0.26 (0.24, 0.28)
True positive rate1 study: (Ballester et al.2021) 0.77 (0.40, 1.34)
Source: AUC Source: AUC Source: AUC

Results: What precision was reported?

Precision is a measure that determines the number of true positives divided by the sum of true positives and false positives [27]. In our analysis, three studies reported precision values as depicted in Fig. 4, Panel C. Two studies reported the highest precision rate of 0.93. The first study, conducted by Choi et al., utilized the XGBoost classifier, and the second study, by Kim et al. (2021), employed a random forest model. On the other hand, the lowest precision rate of 0.86 was documented in the Delgado-Gomez et al. (2016) study, which used a decision tree model.

The pooled prevalence of positive predictive value was estimated to be 0.91 (I2= 0.001%; 95% CI: 0.85, 0.98), Table 2.

Fig. 4

Panel C. Precision of the machine learning models; N studies = 3

Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

The list of different ML outcomes, along with the pooled estimates for those outcomes that have sufficient records

ML performancesReferencesPooled % (95% CI)
AUC32 studies: (Setoyama et al., 2016; Barak-Corren et al., 2017, 2020; Etter et al., 2017; Choi et al., 2018, 2021, 2021; Melhem et al., 2019; McKernan et al., 2019; Cho et al., 2020, 2021; Forkmann et al., 2020; Ge et al., 2020; Machado et al., 2020; Zheng et al., 2020; Van Mensa et al., 2020; Su et al., 2020; Alexopoulos et al., 2021; Bai et al., 2021; Coley et al., 2021; Kim et al., 2021; Adams et al., 2021; Berkelmans et al., 2021; Gradus et al., 2021; Jiang et al., 2021; Harman et al., 2021; Navarro et al., 2021; Balbuena et al., 2022; Beni Edgcomb et al., 2022, 2022; Haroz, E. E. et al., 2022; Miranda et al., 2022) 0.77 (0.74, 0.80)
Accuracy13 studies: (Delgado-Gomez et al., 2011, 2012; Barros et al., 2017; Bhak et al., 2019; Hill et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Zhu et al., 2020; Choi et al., 2021; Kim et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.78 (0.73, 0.84)
Sensitivity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017, Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.69 (0.60, 0.78)
Specificity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017; Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.81 (0.77, 0.86)
Positive predictive value6 studies: (Cho et al., 2020; Machado et al., 2020; Van Mensa et al., 2020; Cho et al., 2021; Navarro et al., 2021; Haroz, E. E. et al., 2022) 0.10 (0.04, 0.19)
Recall3 studies: (McKernan et al., 2019; Choi et al., 2021; Kim et al., 2021) 0.58 (0.15, 1.29)
Precision3 studies: (Delgado-Gomez et al., 2016; Choi et al., 2021; Kim et al., 2021) 0.91 (0.85, 0.98)
False negative rate2 studies: (Cho et al., 2020; Haroz, E. E. et al., 2022) 0.26 (0.24, 0.28)
True positive rate1 study: (Ballester et al.2021) 0.77 (0.40, 1.34)
Source: Precision Source: Precision Source: Precision

Results: Suicide risk factors

In our meta-synthesis analysis, we studied 41 studies in which we identified 261 suicide risk factors. We implemented a rigorous extraction process to identify the most significant risk factors. While some studies presented vast datasets with over 2500 entries of potential risk factors, the focus was on extracting those factors consistently cited as common and important indicators of suicide risk across multiple studies [30, 31]. To ensure robustness, we excluded risk factors reported less than three times, resulting in the compilation of 55 frequently occurring risk factors.

We aimed to focus on more prevalent risk factors in the database to enhance the generalizability of the findings to the broader population. Some factors with lower frequencies can introduce noise in the analysis, making it more challenging to identify true patterns. The minimum threshold helped us filter out less relevant factors. This decision was based on a focus group session that included two psychiatrists and one emergency physician. The focus group selected the most common variables that were repeated more than three times based on their scientific knowledge and experience.

These factors were categorized into five distinct categories in our study, as outlined in Table 3.

Table 3

Frequently occurring suicide categories and risk factors

CategorySuicide risk factorFrequency
DemographicAge 30
Sex 26
Marital Status 12
Education 10
Occupation 10
Income 10
Race9
Parents’ Psychological State5
Parental status4
Insurance4
Family or Friends’ History of Suicide4
Ethnicity4
Social Support Status3
Immigrant3
Laboratory & BiomarkersUrinalysis with Microscopic3
POC Pregnancy Urine3
Glucose5
LDL3
Cholesterol3
Triglyceride3
ScalesHamilton Depression Rating Scale3
Patient Health Questionnaire (PHQ)-93
LifestyleSubstance Abuse 26
Alcohol 12
Activation3
Physical activity3
Clinical & BehavioralDepression 21
Anxiety 13
Mental Disorders8
Antidepressant8
Bipolar7
Other Drug7
Personality Disorders7
Psychotic Disorders6
Impulsivity6
Diseases of the Nervous System5
Injury5
BMI5
Mania4
Open wound4
Mood Disorder4
Poisoning4
Stress4
Schizophrenia4
Hopelessness3
Self-esteem3
Entrapment3
Cerebrovascular Disease3
AIDS3
ADHD3
Endocrine3
Fear3

The numbers highlighted in bold indicate suicide factors that occur with higher frequency and have a more pronounced impact

Source: Suicide risk factors Source: Suicide risk factors

Discussion

This study employed a systematic review, meta-analysis, and meta-synthesis approach to examine the pooled prevalence of ML outcomes for predicting suicide and provide a comprehensive list of suicide risk factors. The intricate nature of suicide as a behavior is underscored by a diverse array of risk factors, spanning clinical variables to lifestyle influences [32]. Our study adopted a comprehensive approach, employing both qualitative and quantitative methods. Additionally, the study was limited to studies with prospective, retrospective, retrospective cohort, case cohort, case-control, cohort, diagnostic/prognostic, longitudinal, longitudinal cohort, longitudinal prospective, prognostic, prospective cohort, retrospective, retrospective cohort, and randomized control trial designs due to the large number of studies in the final stage, and to ensure methodological rigor.

Ultimately, 41 studies were selected for the meta-analysis and meta-synthesis, meeting the quality assessment criteria. Results revealed the neural network (NN) algorithm with the lowest accuracy at 0.70, contrasting with the random forest exhibiting the highest accuracy at 0.94. Furthermore, the XGBoost classifier demonstrated the highest Area Under the Curve (AUC) value, reaching an impressive 0.97. These findings not only contribute to our understanding of suicide risk factors but also highlight the significance of methodological considerations and algorithmic performance in predictive models.

The findings of this study are consistent with previous research conducted by [33, 34] which suggested that ML algorithms and the identification of innovative indicators play a valuable role in predicting suicide and detecting mental health issues. However, these findings contradict the results of [35], which indicated insufficient evidence to support the superior performance of ML over logistic regression in clinical prediction models. The studies included in the analysis that used ML techniques to predict suicidal attempts demonstrated overall good performance on the most commonly used algorithms, namely XGBoost.

For example, the AUC values reported in these studies were consistently high, ranging approximately between 0.65 and 0.97. An AUC value of 0.5 indicates a random prediction, while a value of 1 represents a perfect prediction. The AUC values in the range of 0.97 for XGBoost model suggest that the ML models had a high degree of accuracy in classifying individuals with respect to their risk of suicidal attempts. The findings of this study are consistent with previous research conducted by [36] which confirmed acceptable performance of XGBoost algorithm in cognition of patients with major depressive disorder.

This result may be due to the fact that XGBoost is an ensemble model that constructs various models to reduce classification errors on each iteration. According to [37], certain ML algorithms, such as support vector machines (SVM) and decision trees (DT), are preferred over others due to their superior performance in predicting suicide risk. Furthermore [38], confirmed that the application of ML techniques to analyze large databases holds great potential for facilitating the prediction of suicide, offering promising avenues for future research.

The results of this study align with the findings of [39], which highlighted the ability of ML to enhance suicide prediction models by incorporating a larger number of suicide risk factors. Applicability of these methods in specific patient groups is invaluable. For example [40], indicated that predicting whether a person has a mental illness itself poses a significant challenge. Therefore, if machine learning can offer a new avenue of hope for clinicians, it is commendable. However [41], discovered that although these models have demonstrated accuracy in the overall classification, their ability to predict future events remains limited in the context of suicide prediction models.

Consequently, it is important to note that the performance of ML algorithms can vary depending on various factors, including the quality and size of the dataset, the specific features used as input, the preprocessing steps applied, and the hyperparameters selected for the algorithms. Therefore, the overall performance of these algorithms in predicting suicide showed strong discriminatory power in distinguishing between individuals who are at risk of suicidal attempts and those who are not. Future research should continue exploring and refining ML approaches for suicide prediction, considering these factors to improve the accuracy and reliability of predictions.

The findings of our study revealed that various factors, such as age, sex, substance abuse, depression, anxiety, alcohol consumption, marital status, income, education, low-density lipoprotein (LDL) and occupation, were identified as the most prevalent risk factors based on the analysis of included studies. Age plays a complex role in suicide, with several studies indicating a higher incidence of suicide among middle-aged and older adults. However, it is important to note that age is not the sole factor contributing to suicidal behavior [42, 43].

The prevalence of suicide is exceptionally high among young adults, specifically those aged 15 to 19 as it is a fourth cause of death in the world [44]. Sex is a significant risk factor for suicide. In general, men are more likely to die by suicide than women, but women attempt suicide more often than men. This may be because men are more likely to use lethal methods [42, 45, 46].

According to the meta-synthesis results, there appears to be a significant correlation between substance abuse and depression with suicide. This correlation may be because substance abuse can impair judgment and increase impulsivity. On the other hand, a person who is depressed may experience feelings of hopelessness, helplessness, and despair, which can lead to suicidal thoughts or behaviors. These findings align with the study conducted by [47, 48]. Anxiety as a mental health condition can lead to various negative outcomes, including an increased risk of suicide [49].

Alcohol use can increase impulsivity and decrease inhibitions, leading to risky behaviors such as self-harm or suicide attempts [50, 51]. found that the consumption of alcohol while feeling sad or depressed could indicate suicidal behavior in adolescents who had not previously reported having thoughts of suicide before attempting it.

Marital status is a common suicide risk factor. Researchers have found that married individuals have lower suicide rates than their unmarried counterparts. This trend is observed in both men and women across different age groups and cultures [52]. Low income has been associated with an increased risk of suicide. The reasons for this link are complex and multifactorial, but some possible explanations include limited access to healthcare and mental health services, financial strain, and social isolation [53].

Lower education levels are also associated with higher suicide rates. This may be because lower education-level individuals have fewer job opportunities and may experience more financial stress [53]. In addition to the clinical and demographic factors discussed, it is crucial to recognize the significant role that certain biomarkers and laboratory factors play in the vulnerability to suicide. One notable example is the impact of low serum cholesterol levels, which have been found to significantly heighten the risk of suicide [54].

Some studies have shown that LDL level is an important factor in the incidence of suicide [55]. Moreover, some studies have indicated that individuals who have committed suicide had higher levels of LDL compared to non-attempters [56].

Machine learning (ML) techniques are suitable for predicting suicide risk, overcoming the constraints of traditional methods. However, ML requires sufficient and relevant data to train and validate the early identification of risk factors and suicide prediction. We acknowledge the importance of anticipating and addressing immediate concerns related to suicide in a clinical setting. Due to this, some studies have focused on utilizing certain scales in psychiatric outpatients [57]. However, reliance solely on these scales may instill an unwarranted sense of assurance among healthcare providers.

Hence, it is crucial to factor in data availability and the computational demands of handling extensive datasets and intricate models. Our evaluation underscores the proficiency of ML algorithms in uncovering concealed relationships and delivering precise predictions of suicide risk, contingent upon the judicious selection and meticulous evaluation of algorithms. This underscores the indispensable role of ML algorithms in exhaustively analyzing data and pinpointing crucial risk factors, thereby advocating for further exploration in the field. This methodological breadth mirrors the multifaceted nature of suicide risk prediction, enhancing the generalizability of our findings.

However, our study may be susceptible to limitations arising from the included studies and the meta-analysis methodology. Additionally, reliance on published literature may introduce publication bias, favoring studies with statistically significant results and potentially skewing overall findings. Furthermore, it is suggested to report τ² and the Q-statistic in future studies to assess heterogeneity. Despite these challenges, our study offers valuable insights into the role of machine learning algorithms in predicting suicide risk and sheds light on important risk factors associated with suicidal behavior.

Future research endeavors will continue to tackle these methodological hurdles, striving for enhanced standardization and transparency in study reporting to fortify the reliability and reproducibility of findings in this crucial domain of inquiry.

Ethical considerations in the use of ML for suicide prediction

Machine learning (ML) for suicide prediction requires the implementation of ethical considerations as the well-being and rights of individuals and the privacy and confidentiality of individuals’ data are crucial. Participants should be fully informed about the study’s purpose, potential risks, and benefits and have the right to withdraw their consent at any time. Understanding and interpreting the factors and variables that contribute to the predictions is important. This transparency is required to gain the trust of both individuals at risk and healthcare professionals.

Ensuring that ML algorithms cannot be replaced by human intervention and clinical judgment is important. Human oversight is critical in interpreting and acting upon the predictions made by the algorithms. Healthcare professionals should make informed decisions based on ML predictions, considering the individual’s unique circumstances and context [58].

Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion

Results

Figure 1 presents the PRISMA flow chart, which provides a concise review process overview. The initial search yielded 7,529 published studies. After removing 569 duplicate records, we screened the titles and abstracts of the remaining 6,624 papers. Based on this screening, 5,624 papers were excluded as they did not meet the inclusion criteria. Subsequently, the full texts of the remaining 369 studies were thoroughly assessed to determine their eligibility for inclusion in the analysis. Among these, 328 studies were deemed ineligible as they did not meet the predetermined criteria.

Ultimately, 41 studies were selected for the meta-analysis and meta-synthesis, meeting the quality assessment criteria. Overall, the selected studies demonstrated satisfactory quality.

Fig. 1

PRISMA flow diagram for the selection of studies on ML algorithms used for the purpose of suicide prediction

Figure image at the original source — open the original paper. This file is not included in this text import.

The included studies had sample sizes ranging from 159 to 13,980,570, as reported in previous research [24, 25]. The mean sample size of (Mean = 549,944.51) refers to the average number of participants across the studies included in our analysis. This value is important as it indicates the generalizability of the findings. Larger sample sizes contribute to more robust and reliable results, allowing for broader applicability of our conclusions.

Standard deviation of (SD = 2,242,858.719), reflects the variability in sample sizes observed across the individual studies. Some studies may have significantly larger or smaller sample sizes compared to the mean, resulting in a wide dispersion of values. This variability influences the heterogeneity of the overall findings and underscores the need to consider the diversity in sample sizes when interpreting the results. The median of sample size, representing the central value, is 13,420. Most of these studies were conducted in the United States and South Korea, with cohort and case-control designs being the most employed study designs.

The participants in these studies predominantly represented the general population. The outcome measurement criteria of the data collection process and its results are presented below.

Pooled prevalence of ML outcomes

Additional details of the studies included can be found in Table 1 (after reference section). Note that the statistical analysis revealed that the negative predictive value and the false positive rate did not show a significant difference, with a p-value greater than 0.05. To identify single study influence on the overall meta-analysis, a sensitivity analysis was performed using a random-effects model and the result showed there was no evidence for the effect of single study influence on the overall meta-analysis.

Table 1

Details of included studied, systematic review mixed-method in order to identify most common suicide risk factors and ML outcomes

Authors, published yearCountryStudy designSample sizeParticipantsMost important suicide risk factorsThe best ML algorithmsOutcome
(Alexopoulos et al., 2021) [59]USArandomized clinical trial249Older adults (aged 60 or above) diagnosed with major depressionHopelessness, Neuroticism, And Low General Self-Efficacy, Avoidance/Rumination, Activation, Disability [12-Item World Health Organization Disability Assessment Schedule II (WHODAS-II), NEO Neuroticism Subscale, [Beck Hopelessness Scale (BHS), [Subscale Of The Behavioral Activation For Depression Scale (BADS)

least absolute shrinkage and selection

operator (LASSO)

AUC = 0.735
(Bai et al., 2021) [24]Chinacohort159Individuals diagnosed with major depressive disorder who experience suicidal ideation, compared to healthy participants

Total Cholesterol (TC), Triglyceride (TG), HDLC, Low Density Lipoprotein Cholesterol (LDLC), APOA1, Apo Lipoprotein B (APOB), Lipoprotein A (LPA), Hypersensitive C-Reactive Protein (CRP), TRSF, Homocysteine (HCY), And AAT, BMI, Age, Sex, Education, Marital Status, Family History Of Mental Illness, Smoke, Hamilton Rating Scale For Depression (HDRS Scores), Beck Scale For Suicide Ideation-Chinese

Version (BSI-CV Scores)

Random ForestAUC = 0.928
(Balbuena et al.,2022) [60]Norway, Saskatoonretrospective cohort185,889General population

Income, Age, Sex, Marital Status, Month Of Birth, Living With A Spouse, Education, Social Deprivation, Mood Symptoms, Nervous Or Worried, Anxiety, Irritable, Felt Confident And Calm, Felt Happy And

Optimistic, Felt Down, Depression, Felt Lonely, Smoke, Alcohol, Physical Activity, Exposure To Smoke-Filled Rooms, And Exposure To Secondary Smoke As A Child, Substance Abuse, Triglyceride, HDL-Cholesterol, Glucose, Total Cholesterol, Waist-Hip Ratio, Blood Pressure Medications, BMI, Having An Injury Requiring Hospitalization, Eating Disorder, Personality Disorder, Schizophrenia, Mania, ADHD, Repeated Episodes Of Self-Harm (RESH)

COX (male)

Random Forest (female)

AUC (male): 0.57, AUC (female): 0.50
(Ballester et al.2021) [61]BrazilProspective cohort study1560General populationSex, Socioeconomic Status, Age, Education, Quality Of Life, Mental Disorder Symptomsgradient tree boostingTrue positive rate = 0.79, False positive rate = 0.28
(Barak-Corren et al., 2017) [62]USAretrospective cohort1,724,785Inpatient and outpatientMental Disorders, Personality Disorders, Schizophrenia, Psychotic Disorders, Open Wounds, Superficial Injury, Sex, Age, Race, Ethnicity, Veteran Status, Marital Status, Substance Abuse, AlcoholNaive Bayesian classifierAUC = 0.77, Sensitivity = 0.54, Specificity = 90%
(Bhak et al., 2019) [63]South Koreacohort182The study included individuals who had attempted suicide, patients diagnosed with major depressive disorder, and a group of healthy controlsAge, Sex, Family History Of Depression, Family History Of Suicide Attempt, Depression, Antidepressant, Hamilton Rating Scale For Depression–17, SSI Scale For Suicidal Ideationrandom forest classifier

Accuracy = 92.6% in distinguishing suicide attempters from major depressive disorder patients

87.3% in distinguishing major depressive disorder patients from controls

86.7% in distinguishing suicide attempters from controls

Average accuracy = 88.87

(Cho et al., 2020) [64]South Koreacohort372,813Individuals who are subscribers of health insurance or recipients of medical aid and have been referred for a check-upY-Glutamyl Trans peptidase, BMI, Demographics: Age, Exercise, Alcoholrandom forest

AUC during follow-up = 0.849, AUC after follow-up = 0.818, Average AUC = 0.8335, positive predictive value during follow-up = 0.007, positive predictive value after follow-up = 0.003, Average positive predictive value = 0.005, negative predictive value during and after follow-up = 0.999, Average negative predictive value = 0.999, False negative rate during follow-up = 0.183, False negative rate after follow-up = 0.341, Average False negative rate = 0.262, False positive rate during follow-up = 0.247, False positive rate after follow-up = 0.212,

Average False positive rate = 0.2295 ,

accuracy during follow-up = 0.754,

accuracy after follow-up = 0.788, Average accuracy = 0.771,

Sensitivity during follow-up = 0.817,

Sensitivity after follow-up = 0.657,

Average sensitivity = 0.737,

Specificity during follow-up = 0.754,

Specificity after follow-up = 0.788

Average Specificity = 0.771

(Cho et al., 2021) [42]South Koreacohort48,047Individuals who underwent health screeningSex, Insurance, Age, Depression, Antidepressants, Aspartate Transaminase, Waist Circumference, Sleeping Pills, BMI, Benzodiazepine, Glucose, Cholesterol, Lipoprotein (HDL), Hemoglobin, Triglyceride, Systolic Blood Pressure, Low-Density Lipoprotein (LDL), Creatinine, Y-Glutamyl Transpeptidaserandom forestAUC = 0.818, positive predictive value = 0.007, negative predictive value = 0.999, Accuracy = 0.832, Sensitivity = 0.600, Specificity = 0.833
(Choi et al., 2021) [50]South Korealongitudinal study78,796General populationIncome, Age, Drinking Age, Average Sleep Time Per Day, Education, Home Ownership, Economic Activity, Uncomfortable Experience In Past 2 Weeks, Sex, Depression, Anxiety, Athletic Ability, Pain/DiscomfortXGBoost classifier

AUC suicidal ideation = 0.950

AUC suicide attempts = 0.990

Average AUC = 0/97,

Precision suicidal ideation = 0.874,

Precision suicide attempts = 0.977,

Average precision = 0.9255 ,

Recall suicidal ideation = 0.893,

Recall suicide attempts = 0.986

Average recall = 0/9395,

Accuracy suicidal ideation = 0.893,

Accuracy suicide attempts = 0.986,

Average accuracy = 0.9395

(Kyu Sung Choi et al., 2021) [65]South Korealongitudinal study31,720General populationAge, Sex, Anxiety, Resilience, Self-Esteem, Depression, Neuropsychiatric Disorder, Patient Health Questionnaire-9 (PHQ-9), Generalized Anxiety Disorder-7 (GAD-7), State-Trait Anxiety Inventory-State Anxiety (STAI-S, Or STAI-X1), Resilience Appraisal Scale (RAS), Rosenberg Self-Esteem Scale (RSES), Mini International Neuropsychiatric Interview (MINI)deep graph neural network model (GIN)AUC = 0.878, Sensitivity = 76.3, Specificity = 83.4
(Choi et al., 2018) [46]South Koreacohort819,951Korean who are covered by Medicare and Medicaid insurance inpatient or outpatientDisability, Endocrine, Nutritional And Metabolic Diseases, Mental And Behavioral Disorders, Diseases Of The Nervous System, Diseases Of The Eye And Adnexa, Diseases Of The Ear And Mastoid Process, Diseases Of The Respiratory System, Diseases Of The Genitourinary System, Injury, Poisoning, Factors Influencing Health Status, Sex, Age, Type Of Insurance, Household IncomeCox regressionAUC = 0.688
(R. Yates Coley et al., 2021) [25]USAdiagnostic/prognostic study13,980,570Outpatient appointments with a mental health professionalBipolar, Schizophrenia, Mental Disorder Symptoms, Encounters In Past 5 Y With Mental Health Diagnosis, Depression, Anxiety, Race, Sex, Age, Medicaid Insurance, Alcohol, Substance Abuse, Patient Health Questionnaire 9 (PHQ-9 Score)Logistic regression with LASSOAUC = 0.822
(Edgcomb et al., 2021) [43]USAlongitudinal cohort study15,644Adults with serious mental illnesses are at high risk for both medical illness and serious suicide attempts and self-harmMedical Comorbidity, Age, Number of Medical Hospitalizations In The Previous Year, Alcohol, Bipolar, In-Hospital Mortality Score, Walraven ScoreClassification and Regression Tree algorithm (CART)AUC = 0.86
(Edgcomb et al., 2021) [31]USAretrospective cohort study142,476women with depression, bipolar disorder, schizophrenia or schizoaffective disorderMedical Comorbidity, History of Pregnancy-Related Mental Illness, Age, Van Walraven ScoreClassification and Regression Tree algorithm (CART)

AUC repository1 = 0.73, AUC repository2 = 0.71, Average AUC = 0.72 ,

Accuracy repository1 and repository2 = 0.84, Sensitivity repository1 = 73.4, Sensitivity repository2 = 83.3, Average Sensitivity = 78.35 ,

Specificity repository1 = 84.1,

Specificity repository2 = 82.2, Average Specificity = 83.15

(Etter et al., 2017) [66]USAProspective cohort study2134General populationSex, Race, Age, Substance AbuseLogistic regressionAUC = 0.84
(Ge et al., 2020) [67]Chinaretrospective study1916patients with major depressive disorderAge, Sex, Marital Status, Vocational Status, Ethnicity, Depression, Anxiety, Free Triiodothyronine (FT3), Free Thyroxine (FT4), Thyroxine, Triiodothyronine, Thyrotropin Stimulating Hormone (TSH), Hamilton Depression Scale (HAMD), Hamilton Anxiety Rating Scale (HAMA)neural networkAUC = 0.76, Accuracy = 70.08, Sensitivity = 70.68, Specificity = 67.09
(Hill et al., 2019) [68]USAlongitudinal study4834General populationHIV/STD/Sex-Related, Depression, Risky Behavior, Relationship, Friends Have Succeeded in Committing Suicide In The Past 12 Months, Resident Mother, Race, Substance AbuseA Classification Tree Approach (CTA)Accuracy Wave 1 = 85.1, Accuracy Wave 2 = 71.7, Average accuracy = 78.4, Sensitivity Wave 1 = 69.8, Sensitivity Wave 2 = 90.6, Average sensitivity = 80.2, Specificity Wave 1 = 85.7, Specificity Wave 2 = 70.9, Average specificity = 78.3
(Kim et al., 2021) [69]South Korearetrospective analysis7824Students who have been referred for a health check-upFamily Problems, Interpersonal Passivity, Aberrant Experiences, Social Avoidance, Shyness, Disaffiliativeness, Juvenile Conduct Problems, Aggression, Activation, Hopelessness, Helplessness, Self-Doubt, Inefficacy, Stress/Worry, Anxiety, Anger Proneness, Behavior-Restricting Fears, Multiple Specific Fears, Malaise, Demoralization, Low Positive Emotions, Cynicism, Antisocial Behavior, Ideas Of Persecution, Dysfunctional Negative Emotions, Hypomanic Activation, Emotional/Internalizing Dysfunction, Thought Dysfunction, Behavioral/Externalizing Dysfunction, Substance Abuse, Gastro-Intestinal Complaints, Head Pain Complaints, Neurological Complaints, Cognitive Complaints, Somatic Complaints, Suicidal/Death Ideation (SUI) Scale, PSY-5 (Personality Psychopathology Five) Scales, AES Aesthetic-Literary Interests, MEC Mechanical-Physical InterestRandom forest

AUC suicide ideation = 0.844, AUC suicide attempt = 0.851, Average AUC = 0.8475 ,

Precision suicide ideation = 0.920,

Precision suicide attempt = 0.953,

Average precision = 0.9365 ,

Recall suicide ideation = 0.929,

Recall suicide attempt = 0.950,

Average recall = 0.9395 ,

Accuracy suicide ideation = 92.9,

Accuracy suicide attempt = 95 ,

Average accuracy = 93.95 ,

(Haroz et al., 2022) [70]USAretrospective cohort13,420Pediatric patientsSex, Age, Race, Anxiety, Depression, Alcohol, Obesity, Tobacco, ADHD, Brain Injury, Psychotic Disorders, Anemia, Bipolar, Migraine, Autism, Diabetes, Drug, Asthma, Learning Disorder, Intellectual Disability, PTSD, Epilepsy, Cancer, Hemiplegia, Cerebrovascular Disease, Other Developmental Disorder, Renal Disease, Mild Liver Disease, Rheumatoid Disease, Heart Failure, Vascular Disease, Metastatic Tumor, AIDS, Severe Liver Disease, Myocardial Infraction, Leukemia And Lymphoma, Personality Disorder, Charlson Comorbidity IndexBinary Logistic Regression model

AUC Model 2: ASQ + HER = 0.843,

positive predictive value Model 2: ASQ + HER = 0.103,

False negative rate Model 2: ASQ + HER = 0.183, Accuracy Model 2: ASQ + HER = 0.815,

Sensitivity Model 2: ASQ + HER = 0.817

(Melhem et al., 2019) [71]USAlongitudinal study663offspring of parents (or probands) with mood disordersBipolar, Posttraumatic Stress, Hyperactivity, Childhood Abuse, Psychotherapy, Antidepressants, Nonpsychotropic Medications, Hopelessness, Impulsivity, Impulsive Aggression, Irritability, Mood Disorders, Depression, Anxiety, Aggression, Sex, Age, Race, Income, Alcohol, Substance Abuselogistic regressionAUC = 0.80, Sensitivity = 87.3, Specificity = 63
(Machado et al., 2020) [72]USAProspective cohort study77,746General populationBMI, Psychotic Disorders, Personality Disorders, Mood Disorder, Anxiety, Age, Sex, Race, Marital Status, Education, Income, Substance AbuseElastic net regularization

AUC distinguished individuals who had attempted suicide from those who had not = 0.89,

AUC participants with lifetime major depressive episodes = 0.89,

Average AUC = 0.89,

positive predictive value distinguished individuals who had attempted suicide from those who had not = 0.0455,

positive predictive value participants with lifetime major depressive episodes = 0.1048,

Average positive predictive value = 0.07515 ,

negative predictive value distinguished individuals who had attempted suicide from those who had not = 0.9980,

negative predictive value participants with lifetime major depressive episodes = 0.9944,

Average negative predictive value = 0.9962 ,

Sensitivity distinguished individuals who had attempted suicide from those who had not = 0.7451,

Sensitivity participants with lifetime major depressive episodes = 0.7742,

Average sensitivity = 0.75965 ,

Specificity distinguished individuals who had attempted suicide from those who had not = 0.8922,

Specificity participants with lifetime major depressive episodes = 0.8586,

Average specificity = 0.8754

(Miranda et al., 2022) [73]USAretrospective study38,807posttraumatic stress disorder (PTSD) patients, a population with a high risk of suicideGlucose, Chloride, Red Cell Distribution Width, Mean Corpuscular Hemoglobin, Hemoglobin, Hematocrit, Mean Corpuscular Volume, White Blood Cell, Anion Gap, Blood-Urine, ABS Neutrophils, Glucose-Urine, Glucose (Bedside Test), ABS Basophils, Red Blood Cell, Potassium, International Normalized Ratio, Ionized Calcium ISTAT, Ionized Calcium, Bacteria, Base Excess, Total Protein, Calcium, Red Blood Cells-Urine, Sodium, Prothrombin Time, Mean Platelet Volume, Plateletsdeep-learning (DRNN)AUC = 0.932
(Zheng et al., 2020) [74]USAcohort236,347Patients who visited three specified health centersAge, Sex, Family Problems, Unemployment, Anxiety, Depression, Mood Disorder, Anxiety, Substance Abuse, Alcohol, Tobacco, Arthritis, Back Pain, Vehicle Accidents, Head Pain Complaints, PTSD, Esophageal Disorders, Hypertension, Esophageal Reflux, Serotonin Reuptake Inhibitor, Physical Restraints, Educational Circumstances Problems, Injury, Poisoning, Psychosocial Issues, Drug Use, Asthma, Schizophrenia, Joint Pain, Nervous System Disorders, Neuropathy, Bipolar, Developmental Disorders, Fibromyalgia, Impulse Control Disorders, Personality Disorders, Endocrine Disorders, Forearm, Migraines, Borderline Personality DisorderDeep Learning model

AUC 1-year suicide attempt = 0.792,

AUC retrospective and prospective cohorts = 0.769, Average AUC = 0.7805

(Zhu et al., 2020) [75]Chinacohort169inpatients (Patients With Bipolar II Disorder)

Age, Education, Sex, Marital Status, Family History Of Mental Disorder, Family History Of Suicide, Occupation, Seasonal Characteristics, Depression, Hypomania, Substance Abuse, Course Of Disease, Combined Somatic Disorder, Psychotic Characteristics, Hamilton Depression Rating Scale (Scores Of HAMD-17), Hamilton Depression Rating Scale (Scores Of HAMD-16), Hamilton Anxiety Rating Scale (Scores Of HAMA), Nurses’ Global Assessment Of

Suicide Risk (NGASR)

support vector machines (SVMs)Accuracy = 0.84
(Setoyama et al., 2016) [76]Japancohort339psychiatric patients

Blood Plasma: 3-Hydroxybutyrate (3HB), Betaine, Citrate, Creatinine, And

Gamma-Aminobutyric Acid (GABA), Hamilton Rating Scale For Depression (HAMD)-17, Patient Health

Questionnaire (PHQ)-9

logistic regressionAUC = 0.75
(Van Mens et al., 2020) [77]Scotlandlongitudinal study3508General populationBurdensomeness, Mental Disorder Symptoms, Impulsivity, Defeat, Entrapment, Internal Entrapment, Interpersonal Needs, Depression, External-Entrapment, Stress, Wellbeing, Twarted-Belonginess, Optimism, Perfectionism, Resilience, Interpersonal Needs, Lack of Social Support, Reengagement, Acquired Capability, Goal Disengagement, Age, Sexrandom forestAUC = 0.83, positive predictive value = 0.52
(Su et al., 2020) [78]USAretrospective study41,721pediatric population who visited specified health centerSex, Age, Race, Ethnicity, Depression, Anxiety, Mood Disorder, Problems Related To Lifestyle, Emotional State, ADHD, Conduct Disorder, Bipolar, Personal History Of Certain Other Disease, Joint Disorder, Sertraline, Hydroxyzine Pamoate, Ethinyl Estradiol, Lorazepam, Escitalopram, Citalopram, Fluoxetine, Cholecalciferol, Hydroxine Hcl, Venlafaxine, Guanfacine, Trazodone, Prozac, Risperidone, Zoloft, Aripiprazole, Quetiapine, Culture Urine, Acetaminophen Level, Urinalysis With Microscopic, POC Pregnancy Urine, MDMA, POC Urinalysis Dipstick, Urinalysis With Microscopic, POC Pregnancy Urine, Salicylate Level, GC/Chlamydia, Oxycodone Urinelogistic regressionAUC = 0.86
(Forkmann et al., 2020) [79]Germanylongitudinal prospective study308The study focused on participants over the age of 18 who were admitted to a psychiatric hospital due to severe suicidal ideation or a suicide attempt within two weeks of admissionBurdensomeness, Belongingness, Depression, Pessimistic And Hopeless Cognitions, Fearlessness About Death, Pain Tolerance, Capability For Suicide, Self-Injurious Thoughts And Behaviors Interview (SITBI), German Capability For Suicide Questionnaire (GCSQ), Interpersonal Needs Questionnaire (INQ), Rasch-Based Depression Screening (DESC-I), Beck Hopelessness Scale (BHS), Beck Scale For Suicide Ideation (BSS) (Interpersonal Theory Of Suicide, Pos. 4–8)logistic regressionAUC = 0.729
(Adams et al., 2021) [80]DenmarkCase–cohort study15,953

Case: all hospital outpatient clinic

visits were reported to the Danish National Patient Registry

Control: all persons born or legally residing in Denmark on 1 January 1995

Sedative, Hypnotic, Anxiolytic, Age, Marital Status, Income, Immigrant, Alcohol, Opioid, Cannabis, Cocaine, Hallucinogen, Nicotine, Other Psychoactive Substancerandom forestsAUC men = 0.77, AUC women = 0.86, Average AUC = 0.815
(Barak-Corren et al., 2020) [81]USAcase control3,714,105

Case: Cases were

defined as individuals having at least 1 captured suicide attempts,

Control: candidate that are likely to capture suicide

attempts

Sex, Race, Ethnicity, Poisoning By Unspecified Drug Or Medicinal Substance, Drug Withdrawal Syndrome, Cocaine Dependence, Unspecified Use, Drug-Induced Organic Affective Syndrome, Borderline Personality, Unspecified Use, Unspecified Neurotic Disorder, Unspecified Use, Multiple And Unspecified Open Wound Of Upper Limb, Without Mention Of Complication, Unspecified Use, Open Wound Of Upper Arm, Without Mention Of Complication, Unspecified Use, Open Wound Of Hand Except Fingers Alone With Tendon Involvement, Assault By Cutting And Piercing Instrument, Bipolar Affective Disorder,

Unspecified Degree, Unspecified Personality Disorder, Bipolar Affective Disorder, Mixed, Mixed, Or Unspecified Drug Abuse, Acute Alcoholic Intoxication In Alcoholism (Alcohol), Unspecified Drinking Behavior, Cocaine Abuse, Opioid Type Dependence, Unspecified Drug Dependence, Depression, Antipsychotics, Antidepressants, And Mood Stabilizers (Eg, Lithium), Antiretroviral Medications Used To Treat

HIV/AIDS (Eg, Ritonavir) Were Associated With An Increased Risk For A Suicide Attempt. Nicotine

Replacement Therapy Also Consistently Emerged As A Leading Predictor Across The Nonpediatric

Hospitals, Toxicology Tests, Toxicology Screening Tests, Choriogonadotropin-Beta, Levels Of Valproic Acid, BCH, Lithium Level

naive Bayes classifiersAUC = 0.73
(Barros et al., 2017) [82]USAcase control707

Case: mental health patients with suicide risk,

Control: mental health patients

without suicide risk

Bipolar, Mixed Episode, Adjustment Disorder, Dysthymia, Depression, Anxiety, Age, Sex, Marital Status, Parental Status, Education, Occupationsupport vector machineAccuracy = 0.78, Sensitivity = 0.77, Specificity = 0.79
(Berkelmans et al., 2021) [53]Netherlandcase control602,270

Case: The people who died by suicide,

Control: people who did not die due to suicide

Age, Sex, Income, Education, Immigration Background, Urban city, Place In Household, Healthcare Costs, Province, Social Benefits, Mental Disorder Symptoms, Physical Health Problemslogistic regressionAUC = 0.77
(Delgado-Gomez et al., 2016) [83]Spaincase control902

Case 1: first-time suicide attempters,

Case 2: psychiatric inpatients without current

or past history of suicidal behavior,

Control: healthy controls

Sex, Age, Marital Status, Education, Employment Status, Suicidal Risk, Personality and Life Events Items and The Corresponding Samejima’s Parameters (PLE Scale Item)Decision treePrecision = 0.89, Sensitivity = 0.89, Specificity = 0.89
(D. Delgado-Gomez et al., 2011) [84]Spaincase control879

control: healthy blood donors,

case: psychiatric inpatients

Barrat’s Impulsiveness Scale Version 11 (BIS-11), International Personality Disorder Evaluation Screening Questionnaire (IPDESQ)Support vector machineAccuracy = 80.26
(D. Delgado-Gomez et al., 2012) [85]Spaincase control883

Case: Adults with suicide attempt,

Control: adults without suicide attempt

Age, Holmes–Rahe Social Readjustment Rating Scale (SRRS Questionnaire), International Personality Disorder Examination Screening Questionnaire (IPDE-SQ Questionnaire)multivariate classification techniques

Accuracy = 0.79,

Sensitivity = 78.30,

Specificity = 0.91

(DelPozo-Banos et al., 2018) [86]United KingdomCase–cohort study54,684

Case: those who died by suicide,

Control:

Prescription Of Psychotropic, Depression, Anxiety, Self-Harm, Age, Sex, Alcohol, Drug AbuseANNSensitivity = 64.57, Specificity = 81.86
(Gradus et al., 2021) [87]DenmarkCase–cohort study288,157

Case: Cases were all persons who made a nonfatal suicide

attempt,

Control: 5% random sample of the population at risk

Psychiatric Medications, Poisoning, Stress, Substance AbuseRandom forestAUC (male): 0.89, AUC (female): 0.91, Average AUC: 0/9
(Jiang et al., 2021) [30]DenmarkCase–cohort study14,737

Cases: all persons who died by suicide and had an incident depression

diagnosis,

Control: 5% random sample of all

individuals in Denmark

Mental Disorders, Somatic Disorders, Surgeries, Medications, Age, Marital Status, Immigrant, Family Suicide Death History, Employment, IncomeDecision tree and random forest

AUC decision tree (male): 0.71,

AUC random forest (female): 0.75,

Average AUC: 0.73

(Harman et al., 2021) [88]USAcase control11,369

Case: individuals with suicidal ideation and/or

attempt,

Control: healthy controls

Impulsivity, Prodromal Psychosis, Loneliness, Worthlessness, Behavioral Problemsrandom forestAUC: 0.77
(Navarro et al., 2021) [89]Canadaprognostic study1623General populationMother and Father Education and Mother and Father Age, Socioeconomic Status, Neighborhood Characteristics, Parents’ Psychological State, Parents’ Antisocial Behaviors, Parenting Practices, Sex, PrematurityRandom forest

AUC (male): 0.62, AUC (female): 0.72,

Average AUC: 0.67 ,

positive predictive value (male): 0.62,

positive predictive value (female): 0.60,

Average positive predictive value: 0.61 ,

negative predictive value (male): 0.71,

negative predictive value (female): 0.75,

Average negative predictive value: 0.73 ,

Sensitivity (male): 0.32, Sensitivity (female): 0.50, Average sensitivity: 0.41, Specificity (male): 0.82, Specificity (female): 0.76, Average Specificity: 0.79

(McKernan et al., 2019) [90]USAcase control8879

Case: fibromyalgia patients with suicide ideation and attempt,

Control: general population

Sex, Race, Age, Comorbid Medical Illness, Drug Dependence, Inpatient Utilization, Mental Disorder Symptoms, Obesity, Polysomatic Complaintsbootstrapped L-1 penalized regression

AUC suicide ideation: 0.8, AUC suicide attempt: 0.82, Average AUC: 0.81, Recall suicide ideation: 0.14,

Recall suicide attempt: 0.08, Average recall: 0.11

Accuracy

Accuracy refers to the ability of ML models to differentiate between health and patient groups [56] correctly. Out of the 41 final studies, 13 studies reported information on accuracy. The reported accuracy rates varied across the studies as indicated in Panel A of Fig. 2, with the lowest being 0.70 for NN in the study conducted in [30], and the highest being 0.94 for the random forest in the study conducted in [32].

The overall pooled prevalence of accuracy was 0.78 ((I2=56.32%; 95% CI: 0.73, 0.84), Table 2.

Fig. 2

Panel A. Accuracy of the machine learning models; N studies = 13

Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

The list of different ML outcomes, along with the pooled estimates for those outcomes that have sufficient records

ML performancesReferencesPooled % (95% CI)
AUC32 studies: (Setoyama et al., 2016; Barak-Corren et al., 2017, 2020; Etter et al., 2017; Choi et al., 2018, 2021, 2021; Melhem et al., 2019; McKernan et al., 2019; Cho et al., 2020, 2021; Forkmann et al., 2020; Ge et al., 2020; Machado et al., 2020; Zheng et al., 2020; Van Mensa et al., 2020; Su et al., 2020; Alexopoulos et al., 2021; Bai et al., 2021; Coley et al., 2021; Kim et al., 2021; Adams et al., 2021; Berkelmans et al., 2021; Gradus et al., 2021; Jiang et al., 2021; Harman et al., 2021; Navarro et al., 2021; Balbuena et al., 2022; Beni Edgcomb et al., 2022, 2022; Haroz, E. E. et al., 2022; Miranda et al., 2022) 0.77 (0.74, 0.80)
Accuracy13 studies: (Delgado-Gomez et al., 2011, 2012; Barros et al., 2017; Bhak et al., 2019; Hill et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Zhu et al., 2020; Choi et al., 2021; Kim et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.78 (0.73, 0.84)
Sensitivity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017, Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.69 (0.60, 0.78)
Specificity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017; Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.81 (0.77, 0.86)
Positive predictive value6 studies: (Cho et al., 2020; Machado et al., 2020; Van Mensa et al., 2020; Cho et al., 2021; Navarro et al., 2021; Haroz, E. E. et al., 2022) 0.10 (0.04, 0.19)
Recall3 studies: (McKernan et al., 2019; Choi et al., 2021; Kim et al., 2021) 0.58 (0.15, 1.29)
Precision3 studies: (Delgado-Gomez et al., 2016; Choi et al., 2021; Kim et al., 2021) 0.91 (0.85, 0.98)
False negative rate2 studies: (Cho et al., 2020; Haroz, E. E. et al., 2022) 0.26 (0.24, 0.28)
True positive rate1 study: (Ballester et al.2021) 0.77 (0.40, 1.34)

AUC

The area under the curve (AUC) as a metric used in this study to compare the performance of multiple classifiers [26]. In our analysis, a total of thirty-two studies reported AUC values as indicated in Fig. 3, Panel B. Balbuena et al.’s (2022) study reported the lowest AUC of 0.54, based on the COX and random forest models. On the other hand, Choi et al.’s (2021) reported the highest AUC of 0.97, using the XGBoost classifier. The pooled prevalence of AUC across the studies was estimated to be 0.77 (I2= 95.86%; 95% CI: 0.74, 0.80), Table 2.

Fig. 3

Panel B. AUC of the machine learning models; N studies = 32

Figure image at the original source — open the original paper. This file is not included in this text import.

Precision

Precision is a measure that determines the number of true positives divided by the sum of true positives and false positives [27]. In our analysis, three studies reported precision values as depicted in Fig. 4, Panel C. Two studies reported the highest precision rate of 0.93. The first study, conducted by Choi et al., utilized the XGBoost classifier, and the second study, by Kim et al. (2021), employed a random forest model. On the other hand, the lowest precision rate of 0.86 was documented in the Delgado-Gomez et al. (2016) study, which used a decision tree model.

The pooled prevalence of positive predictive value was estimated to be 0.91 (I2= 0.001%; 95% CI: 0.85, 0.98), Table 2.

Fig. 4

Panel C. Precision of the machine learning models; N studies = 3

Figure image at the original source — open the original paper. This file is not included in this text import.

Positive predictive value

Positive predictive value (PPV) represents the proportion of true positive cases among all positive predictions [27]. Among the studies included in our analysis, six studies reported PPV values as depicted in Fig. 5, Panel D. The PPV varied across the studies, ranging from 0.01 in Cho et al.’s study conducted in 2020 and 2021, which utilized a random forest model, to 0.62 in Navarro’s (2021) study, also employing a random forest model. The pooled prevalence of PPV was estimated to be 0.10 (I2= 97.02%; 95% CI: 0.03, 0.21), Table 2.

Fig. 5

Panel D. Positive predictive value of the machine learning models; N studies = 6

Figure image at the original source — open the original paper. This file is not included in this text import.

True positive rate

The true positive rate (TPR), also known as sensitivity, represents the proportion of actual positive cases correctly identified by the model [27]. In our analysis, only one study conducted by Ballester et al. (2021), utilized the gradient tree boosting model, reported the TPR as depicted in Fig. 6, Panel E. The pooled prevalence of TPR in this study was estimated to be 0.77 (95% CI: 0.40, 1.34), Table 2.

Fig. 6

Panel E. True positive rate of the machine learning models; N studies = 1

Figure image at the original source — open the original paper. This file is not included in this text import.

Sensitivity

Sensitivity, also known as the true positive rate, measures the proportion of actual positive cases correctly identified by the model (specified patient cases) [28]. In our analysis, fifteen studies provided data on sensitivity as illustrated in Fig. 7, Panel F. The sensitivity ranged from 0.43 in Navarro’s (2021) random forest study to 0.87 in Delgado-Gomez et al.’s (2016) decision tree study. The pooled prevalence of sensitivity was estimated to be 0.69 (I2= 95.94%; 95% CI: 0.60, 0.78), Table 2.

Fig. 7

Panel F. Sensitivity of the machine learning models; N studies = 15

Figure image at the original source — open the original paper. This file is not included in this text import.

Specificity

Specificity is a measure that identifies the proportion of actual negative cases correctly identified by the model [28]. In our analysis, fifteen studies reported specificity rates as illustrated in Fig. 8, Panel G. The specificity ranged from 0.63 in Melhem et al.’s (2019) study using logistic regression, to 0.90 in Barak-Corren et al.’s (2017) study using Naive Bayesian classifier. The pooled prevalence of specificity was estimated to be 0.81 (I2=80.31%;95% CI: 0.77, 0.86), Table 2.

Fig. 8

Panel G. Specificity of the machine learning models; N studies = 15

Figure image at the original source — open the original paper. This file is not included in this text import.

Recall

Recall is a measure that determines the proportion of true positive cases correctly identified by the model [27]. In our analysis, three studies reported recall rates as depicted in Fig. 9, Panel H, ranging from 0.11 in McKernan et al.’s (2019) study using bootstrapped L-1 penalized regression to 0.95 in Kim et al.’s (2021) study using random forest. The pooled prevalence of recall was estimated to be 0.58 (I2=98.43%;95% CI: 0.15, 1.29), Table 2.

Fig. 9

Panel H. Recall of the machine learning models; N studies = 3

Figure image at the original source — open the original paper. This file is not included in this text import.

False negative rate

False negative rate represents the proportion of actual negative cases incorrectly identified by the model [29]. Two studies provided data on false negative rates, with rates that were similar to each other as shown in Fig. 10, Panel I. These studies utilized the random forest and binary logistic regression models. The pooled prevalence of the false negative rate was estimated to be 0.26 (I2=0.001%;95% CI: 0.24, 0.28), Table 2.

Fig. 10

Panel I. False negative rate of the machine learning models; N studies = 2

Figure image at the original source — open the original paper. This file is not included in this text import.

Suicide risk factors

In our meta-synthesis analysis, we studied 41 studies in which we identified 261 suicide risk factors. We implemented a rigorous extraction process to identify the most significant risk factors. While some studies presented vast datasets with over 2500 entries of potential risk factors, the focus was on extracting those factors consistently cited as common and important indicators of suicide risk across multiple studies [30, 31]. To ensure robustness, we excluded risk factors reported less than three times, resulting in the compilation of 55 frequently occurring risk factors.

We aimed to focus on more prevalent risk factors in the database to enhance the generalizability of the findings to the broader population. Some factors with lower frequencies can introduce noise in the analysis, making it more challenging to identify true patterns. The minimum threshold helped us filter out less relevant factors. This decision was based on a focus group session that included two psychiatrists and one emergency physician. The focus group selected the most common variables that were repeated more than three times based on their scientific knowledge and experience.

These factors were categorized into five distinct categories in our study, as outlined in Table 3.

Table 3

Frequently occurring suicide categories and risk factors

CategorySuicide risk factorFrequency
DemographicAge 30
Sex 26
Marital Status 12
Education 10
Occupation 10
Income 10
Race9
Parents’ Psychological State5
Parental status4
Insurance4
Family or Friends’ History of Suicide4
Ethnicity4
Social Support Status3
Immigrant3
Laboratory & BiomarkersUrinalysis with Microscopic3
POC Pregnancy Urine3
Glucose5
LDL3
Cholesterol3
Triglyceride3
ScalesHamilton Depression Rating Scale3
Patient Health Questionnaire (PHQ)-93
LifestyleSubstance Abuse 26
Alcohol 12
Activation3
Physical activity3
Clinical & BehavioralDepression 21
Anxiety 13
Mental Disorders8
Antidepressant8
Bipolar7
Other Drug7
Personality Disorders7
Psychotic Disorders6
Impulsivity6
Diseases of the Nervous System5
Injury5
BMI5
Mania4
Open wound4
Mood Disorder4
Poisoning4
Stress4
Schizophrenia4
Hopelessness3
Self-esteem3
Entrapment3
Cerebrovascular Disease3
AIDS3
ADHD3
Endocrine3
Fear3

The numbers highlighted in bold indicate suicide factors that occur with higher frequency and have a more pronounced impact

Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results Source: Results

Conclusion

Suicide is a complex and multifaceted public health issue with significant implications for individuals and communities. Our study examined the application of ML techniques for predicting suicide risk. Our research findings highlight the diverse performance of ML algorithms in predicting suicide, indicating the need for further investigation and refinement.

Our analysis identified several general risk factors contributing to an individual’s heightened risk of suicide. These factors include age, sex, substance abuse, depression, anxiety, alcohol consumption, marital status, income, education, and occupation. Recognizing that these risk factors interact in complex ways is important, and their presence does not guarantee suicidal behaviour. Nonetheless, understanding and addressing these risk factors can aid in developing targeted prevention and intervention strategies.

While ML algorithms have shown promise in predicting suicide risk, their performance can vary depending on the specific dataset and risk factors being considered. Further studies are warranted to explore using ML algorithms across diverse databases encompassing various risk factors. This would allow for a more comprehensive understanding of the predictive capabilities of ML in different contexts and populations.

Moreover, future research should focus on enhancing the interpretability and explainability of ML models in suicide prediction. Understanding the underlying mechanisms and variables contributing to predictions is essential for effective intervention and decision-making. Additionally, rigorous validation and evaluation of ML algorithms should be conducted to assess their accuracy, generalizability, and potential biases.

To advance the field of suicide prediction using ML, collaboration between researchers, clinicians, and policymakers is crucial. This interdisciplinary approach can foster the development of comprehensive and ethical frameworks for implementing ML algorithms in suicide prevention efforts. Ensuring that ML techniques are used responsibly, prioritizing patient well-being, privacy, and equitable outcomes is imperative.

In conclusion, our study sheds light on the potential of ML algorithms in predicting suicide risk. However, further research is needed to refine and validate these algorithms across different datasets and risk factors. By understanding the complexities of suicide and leveraging the power of ML, we can work towards more effective strategies for suicide prevention and intervention.

Source: Conclusion Source: Conclusion Source: Conclusion Source: Conclusion Source: Conclusion Source: Conclusion
Authors’ abstract

Objective

Suicide is a complex and multifactorial public health problem. Understanding and addressing the various factors associated with suicide is crucial for prevention and intervention efforts. Machine learning (ML) could enhance the prediction of suicide attempts.

Method

A systematic review was performed using PubMed, Scopus, Web of Science and SID databases. We aim to evaluate the performance of ML algorithms and summarize their effects, gather relevant and reliable information to synthesize existing evidence, identify knowledge gaps, and provide a comprehensive list of the suicide risk factors using mixed method approach.

Results

Forty-one studies published between 2011 and 2022, which matched inclusion criteria, were chosen as suitable. We included studies aimed at predicting the suicide risk by machine learning algorithms except natural language processing (NLP) and image processing.

The neural network (NN) algorithm exhibited the lowest accuracy at 0.70, whereas the random forest demonstrated the highest accuracy, reaching 0.94. The study assessed the COX and random forest models and observed a minimum area under the curve (AUC) value of 0.54. In contrast, the XGBoost classifier yielded the highest AUC value, reaching 0.97. These specific AUC values emphasize the algorithm-specific performance in capturing the trade-off between sensitivity and specificity for suicide risk prediction.

Furthermore, our investigation identified several common suicide risk factors, including age, gender, substance abuse, depression, anxiety, alcohol consumption, marital status, income, education, and occupation. This comprehensive analysis contributes valuable insights into the multifaceted nature of suicide risk, providing a foundation for targeted preventive strategies and intervention efforts.

Conclusions

The effectiveness of ML algorithms and their application in predicting suicide risk has been controversial. There is a need for more studies on these algorithms in clinical settings, and the related ethical concerns require further clarification.

Highlights

• Understanding various factors associated with suicide is crucial for prevention and intervention efforts.

• Machine learning (ML) could enhance the prediction of suicide attempts.

• The neural network (NN) algorithm exhibited the lowest accuracy of 0.70.

• The random forest demonstrated the highest accuracy for suicide prediction.

Read the full paper

Introduction

Suicide is a global concern recognized by the World Health Organization (WHO), with a life lost to suicide every 40 s, making suicide prevention a pressing priority worldwide [1]. This form of violent death not only brings personal tragedy but also poses a significant threat to communities’ socio-psychological well-being and stability [2]. While suicide is a complex phenomenon influenced by multiple factors, behavioral, lifestyle, and clinical, can significantly contribute to an elevated risk of suicide [3].

For example, substance use can be considered a significant factor for suicide within the behavioral category [4]. Job and financial problems serve as important examples of lifestyle-related suicide risk [5]. Additionally, mental disorders are crucial clinical factors associated with suicide risk [6]. Early identification of risk factors is crucial in predicting suicide [7, 8]. The prevalence of suicide is exceptionally high among adolescents and young adults, specifically those aged 15 to 44, it is not a universal phenomenon [9].

Research indicates that, in some countries the lower risk of suicide among older individuals may be due to their enhanced resilience and greater capacity to cope with adversity, potentially reducing the likelihood of suicidal behavior [10, 11]. The other common factor can be gender. Some studies have revealed that gender differences in suicide rates indicate that men are more likely to die by suicide. However, this remains controversial because each gender is influenced by many other biological and environmental factors [12].

Suicide imposes financial burden on the healthcare system. For example, in Canada, New Zealand, and Ireland, the estimated direct and indirect costs of each suicide are approximately 443,000, 1.1 million, and 1.4 million pounds, respectively [13–15]. A comprehensive review of the works by these authors leads us to the conclusion that suicide is a global issue. Consequently, it is imperative for countries worldwide to collaborate in addressing this concern [1]. There is a growing interest in utilizing machine learning (ML) techniques for predicting suicide risk to address the issue.

ML is a combination of statistical and computational models that can learn from data and improve through experience [16]. It is categorized into two main types: supervised and unsupervised. In supervised learning, the model is trained on labelled databases; however, in unsupervised learning, the model relies on unlabeled databases [17]. Both supervised and unsupervised algorithms can be utilized for suicide prediction depending on the type of database and the nature of the prediction.

Research by Walsh, Ribeiro, and Franklin (2017) demonstrated the superior performance of ML over conventional methods in accurately identifying suicide attempts [9]. ML methods have gained prominence due to their ability to extract valuable insights from diverse datasets and organize data efficiently [10, 11]. While ML shows promise in predicting suicide events, it is vital to consider the varied outcomes produced by different ML algorithms. The study conducted by various researchers suggests that while there have been notable scientific advancements in leveraging digital technologies, such as ML algorithms to prevent suicide attempts and identify at-risk individuals, there are still limitations in terms of training, knowledge, and the integration of databases [18–20].

Current suicide risk assessment methods heavily rely on subjective questioning, limiting their accuracy and predictive value [21]. As such, this study aims to systematically review previous research that has applied ML methods to predict suicide attempts and identify patients at high risk of suicide. The primary objectives are to evaluate the performance of various ML algorithms and summarize their effects on suicide. Additionally, the study aims to identify significant variables that serve as more effective suicide risk factors.

Materials and methods

Search strategy and study selection

We adhered to the PRISMA (Preferred Reporting Items for Systematic Reviews and Meta-Analyses) guidelines to systematically identify, select, and assess relevant studies for inclusion in our review. Our search strategy focused on PubMed, Scopus, Web of Science and SID databases, and there were no limitations on the publication date, ensuring comprehensive coverage of the literature. The project was initiated on June 1, 2022, and concluded on August 8, 2023, with a focus on two domains: machine learning (ML) and suicide.

To capture relevant studies, our search strategy incorporated keywords such as “self-harm”, “self-injury”, “self-destruction”, “self-poisoning”, “self-mutilation”, “self-cutting”, “self-burning”, “suicid*”. Additionally, we explored using artificial intelligence and ML techniques to predict suicidal attempts by employing “AND” and “OR” operators. The management of literature was facilitated through Endnote X7.

The study encompassed two primary outcomes: first, identifying the most effective ML algorithms based on their outcome measures, and second, identifying influential risk factors for predicting suicide. These outcomes were instrumental in achieving a comprehensive understanding of the field and informing our research objectives.

Inclusion & exclusion criteria

Inclusion criteria were applied to identify relevant studies for our review. The following criteria were considered:

  1. Population: Studies that included participants from various age groups, including pediatrics, geriatrics, and all-age populations, were included.

  2. Language: Only studies published in the English language were included.

  3. Methods: Studies employing ML methods to predict suicide were included.

  4. Publication format: Studies published as journal articles, theses, and dissertations were included.

  5. Study design: Various study designs, including prospective, retrospective, retrospective cohort, case-cohort, case-control, cohort, diagnostic/prognostic, longitudinal, longitudinal cohort, longitudinal prospective, prognostic, prospective cohort, retrospective, retrospective cohort, and randomized control trial studies, were considered for inclusion.

Exclusion criteria were applied to select relevant studies for our analysis. Studies were excluded if they met the following criteria:

  1. Population: Studies focusing specifically on military personnel and veterans were excluded. Including military personnel and veterans in our analysis could introduce unique variables and considerations related to their distinct healthcare needs, access to services, and experiences. For example, military personnel and veterans often have specific healthcare requirements stemming from their service-related experiences. These may encompass a range of issues, including physical injuries sustained during deployment, exposure to hazardous environments leading to unique health challenges, and complex medical histories shaped by their military service.

    Moreover, their access to healthcare services can differ significantly from that of the general population. To maintain the homogeneity of our study population and to ensure the relevance and applicability of our findings to the specific context of hospitals, we have opted to exclude this subgroup.

  • 2.

    Social media-based studies: Studies aiming to predict suicide attempts using ML among adults who posted or searched content related to suicide on internet platforms such as Twitter, Instagram, and Google were excluded.

  • 3.

    Natural language processing (NLP) and image processing methods: Studies utilizing NLP and image processing techniques for predicting suicide attempts were excluded.

  • 4.

    Publication type: Conference papers, reviews, letters to editors, book chapters, and commentary papers were excluded from the analysis.

By applying these inclusion and exclusion criteria, we aimed to select studies that align with the objectives and focus of our research.

Data collection process

Data extraction was conducted using Microsoft Excel 2016 spreadsheet. The following information was extracted from each included study:

  1. Study title: The title of the research article.

  2. Authors: The names of the authors involved in the study.

  3. Year of publication: The year in which the study was published.

  4. Country of study: The geographical location where the study was conducted.

  5. Population: The target population or participants involved in the study.

  6. Type of study: The research design employed in the study.

  7. Sample size: The number of participants included in the study.

  8. Study objective: The main objective or aim of the study.

  9. Suicide risk factors: Factors or variables considered in predicting suicide risk.

  10. ML models: The specific ML models used in the study.

  11. Outcome measures: Various performance metrics used to evaluate the models, including area under the curve (AUC), sensitivity, specificity, accuracy, false negative rate, false positive rate, true positive rate, negative predictive value, positive predictive value, precision, and recall.

Quality assessment

The quality of the included articles was assessed using the Mixed Methods Appraisal Tool (MMAT 2018) following the search process. We adopted MMAT’s five sets of criteria to evaluate the quality of each type of study included in our analysis, namely qualitative, randomized controlled, nonrandomized, quantitative descriptive, and mixed methods studies [8]. This rigorous assessment process allowed us to evaluate the included studies’ methodological quality and ensure our findings’ reliability and validity.

Data analysis methods

During the quantitative phase, the extracted data were analyzed using STATA 14.1 statistical software to conduct meta-analytic procedures. We applied the Freeman-Tukey double arcsine transformation to estimate the pooled prevalence of study outcomes and their corresponding 95% confidence intervals (CI). This transformation was also utilized to stabilize variances when generating the CIs. A random-effects model based on DerSimonian and Laird’s method was employed in the pooled data collection to account for between-study variability. This model incorporated the variability using the inverse-variance fixed-effect model [22, 23].

In the qualitative phase, the extracted data was imported into MAXQDA 20 software to facilitate meta-synthesis procedures. This critical stage involved coding the suicide risk factors from our final studies based on various themes or categories, such as demographic (demographic factors, such as age, gender, marital status), clinical and behavioral (certain behaviors, like impulsivity, self-harm, or aggression, and clinical factors involve mental health diagnoses and conditions), lifestyle (encompass aspects of an individual’s daily life, including habits and routines), laboratory and biomarkers (these could include genetic markers, hormonal imbalances), and questionnaires (the use of standardized scales and questionnaires helps quantify and measure psychological factors associated with suicide risk).

Through this process, we aggregated the coded data to identify common suicide risk factors across all the studies, allowing for a comprehensive understanding of the topic.

Publication bias

We researched various languages and databases to address study, citation and database biases. We enhanced our search strategy, resulting in the identification of 7529 publications. This abundance of sources highlights the prevalence of multiple-citation publications within our dataset. Given the common occurrence of publishing study results in similar or consecutive articles, we utilized EndNote software to identify duplicates and mitigate the risk of multiple publications and bias.

Results

Figure 1 presents the PRISMA flow chart, which provides a concise review process overview. The initial search yielded 7,529 published studies. After removing 569 duplicate records, we screened the titles and abstracts of the remaining 6,624 papers. Based on this screening, 5,624 papers were excluded as they did not meet the inclusion criteria. Subsequently, the full texts of the remaining 369 studies were thoroughly assessed to determine their eligibility for inclusion in the analysis. Among these, 328 studies were deemed ineligible as they did not meet the predetermined criteria.

Ultimately, 41 studies were selected for the meta-analysis and meta-synthesis, meeting the quality assessment criteria. Overall, the selected studies demonstrated satisfactory quality.

Fig. 1

PRISMA flow diagram for the selection of studies on ML algorithms used for the purpose of suicide prediction

Figure image at the original source — open the original paper. This file is not included in this text import.

The included studies had sample sizes ranging from 159 to 13,980,570, as reported in previous research [24, 25]. The mean sample size of (Mean = 549,944.51) refers to the average number of participants across the studies included in our analysis. This value is important as it indicates the generalizability of the findings. Larger sample sizes contribute to more robust and reliable results, allowing for broader applicability of our conclusions.

Standard deviation of (SD = 2,242,858.719), reflects the variability in sample sizes observed across the individual studies. Some studies may have significantly larger or smaller sample sizes compared to the mean, resulting in a wide dispersion of values. This variability influences the heterogeneity of the overall findings and underscores the need to consider the diversity in sample sizes when interpreting the results. The median of sample size, representing the central value, is 13,420. Most of these studies were conducted in the United States and South Korea, with cohort and case-control designs being the most employed study designs.

The participants in these studies predominantly represented the general population. The outcome measurement criteria of the data collection process and its results are presented below.

Pooled prevalence of ML outcomes

Additional details of the studies included can be found in Table 1 (after reference section). Note that the statistical analysis revealed that the negative predictive value and the false positive rate did not show a significant difference, with a p-value greater than 0.05. To identify single study influence on the overall meta-analysis, a sensitivity analysis was performed using a random-effects model and the result showed there was no evidence for the effect of single study influence on the overall meta-analysis.

Table 1

Details of included studied, systematic review mixed-method in order to identify most common suicide risk factors and ML outcomes

Authors, published yearCountryStudy designSample sizeParticipantsMost important suicide risk factorsThe best ML algorithmsOutcome
(Alexopoulos et al., 2021) [59]USArandomized clinical trial249Older adults (aged 60 or above) diagnosed with major depressionHopelessness, Neuroticism, And Low General Self-Efficacy, Avoidance/Rumination, Activation, Disability [12-Item World Health Organization Disability Assessment Schedule II (WHODAS-II), NEO Neuroticism Subscale, [Beck Hopelessness Scale (BHS), [Subscale Of The Behavioral Activation For Depression Scale (BADS)

least absolute shrinkage and selection

operator (LASSO)

AUC = 0.735
(Bai et al., 2021) [24]Chinacohort159Individuals diagnosed with major depressive disorder who experience suicidal ideation, compared to healthy participants

Total Cholesterol (TC), Triglyceride (TG), HDLC, Low Density Lipoprotein Cholesterol (LDLC), APOA1, Apo Lipoprotein B (APOB), Lipoprotein A (LPA), Hypersensitive C-Reactive Protein (CRP), TRSF, Homocysteine (HCY), And AAT, BMI, Age, Sex, Education, Marital Status, Family History Of Mental Illness, Smoke, Hamilton Rating Scale For Depression (HDRS Scores), Beck Scale For Suicide Ideation-Chinese

Version (BSI-CV Scores)

Random ForestAUC = 0.928
(Balbuena et al.,2022) [60]Norway, Saskatoonretrospective cohort185,889General population

Income, Age, Sex, Marital Status, Month Of Birth, Living With A Spouse, Education, Social Deprivation, Mood Symptoms, Nervous Or Worried, Anxiety, Irritable, Felt Confident And Calm, Felt Happy And

Optimistic, Felt Down, Depression, Felt Lonely, Smoke, Alcohol, Physical Activity, Exposure To Smoke-Filled Rooms, And Exposure To Secondary Smoke As A Child, Substance Abuse, Triglyceride, HDL-Cholesterol, Glucose, Total Cholesterol, Waist-Hip Ratio, Blood Pressure Medications, BMI, Having An Injury Requiring Hospitalization, Eating Disorder, Personality Disorder, Schizophrenia, Mania, ADHD, Repeated Episodes Of Self-Harm (RESH)

COX (male)

Random Forest (female)

AUC (male): 0.57, AUC (female): 0.50
(Ballester et al.2021) [61]BrazilProspective cohort study1560General populationSex, Socioeconomic Status, Age, Education, Quality Of Life, Mental Disorder Symptomsgradient tree boostingTrue positive rate = 0.79, False positive rate = 0.28
(Barak-Corren et al., 2017) [62]USAretrospective cohort1,724,785Inpatient and outpatientMental Disorders, Personality Disorders, Schizophrenia, Psychotic Disorders, Open Wounds, Superficial Injury, Sex, Age, Race, Ethnicity, Veteran Status, Marital Status, Substance Abuse, AlcoholNaive Bayesian classifierAUC = 0.77, Sensitivity = 0.54, Specificity = 90%
(Bhak et al., 2019) [63]South Koreacohort182The study included individuals who had attempted suicide, patients diagnosed with major depressive disorder, and a group of healthy controlsAge, Sex, Family History Of Depression, Family History Of Suicide Attempt, Depression, Antidepressant, Hamilton Rating Scale For Depression–17, SSI Scale For Suicidal Ideationrandom forest classifier

Accuracy = 92.6% in distinguishing suicide attempters from major depressive disorder patients

87.3% in distinguishing major depressive disorder patients from controls

86.7% in distinguishing suicide attempters from controls

Average accuracy = 88.87

(Cho et al., 2020) [64]South Koreacohort372,813Individuals who are subscribers of health insurance or recipients of medical aid and have been referred for a check-upY-Glutamyl Trans peptidase, BMI, Demographics: Age, Exercise, Alcoholrandom forest

AUC during follow-up = 0.849, AUC after follow-up = 0.818, Average AUC = 0.8335, positive predictive value during follow-up = 0.007, positive predictive value after follow-up = 0.003, Average positive predictive value = 0.005, negative predictive value during and after follow-up = 0.999, Average negative predictive value = 0.999, False negative rate during follow-up = 0.183, False negative rate after follow-up = 0.341, Average False negative rate = 0.262, False positive rate during follow-up = 0.247, False positive rate after follow-up = 0.212,

Average False positive rate = 0.2295 ,

accuracy during follow-up = 0.754,

accuracy after follow-up = 0.788, Average accuracy = 0.771,

Sensitivity during follow-up = 0.817,

Sensitivity after follow-up = 0.657,

Average sensitivity = 0.737,

Specificity during follow-up = 0.754,

Specificity after follow-up = 0.788

Average Specificity = 0.771

(Cho et al., 2021) [42]South Koreacohort48,047Individuals who underwent health screeningSex, Insurance, Age, Depression, Antidepressants, Aspartate Transaminase, Waist Circumference, Sleeping Pills, BMI, Benzodiazepine, Glucose, Cholesterol, Lipoprotein (HDL), Hemoglobin, Triglyceride, Systolic Blood Pressure, Low-Density Lipoprotein (LDL), Creatinine, Y-Glutamyl Transpeptidaserandom forestAUC = 0.818, positive predictive value = 0.007, negative predictive value = 0.999, Accuracy = 0.832, Sensitivity = 0.600, Specificity = 0.833
(Choi et al., 2021) [50]South Korealongitudinal study78,796General populationIncome, Age, Drinking Age, Average Sleep Time Per Day, Education, Home Ownership, Economic Activity, Uncomfortable Experience In Past 2 Weeks, Sex, Depression, Anxiety, Athletic Ability, Pain/DiscomfortXGBoost classifier

AUC suicidal ideation = 0.950

AUC suicide attempts = 0.990

Average AUC = 0/97,

Precision suicidal ideation = 0.874,

Precision suicide attempts = 0.977,

Average precision = 0.9255 ,

Recall suicidal ideation = 0.893,

Recall suicide attempts = 0.986

Average recall = 0/9395,

Accuracy suicidal ideation = 0.893,

Accuracy suicide attempts = 0.986,

Average accuracy = 0.9395

(Kyu Sung Choi et al., 2021) [65]South Korealongitudinal study31,720General populationAge, Sex, Anxiety, Resilience, Self-Esteem, Depression, Neuropsychiatric Disorder, Patient Health Questionnaire-9 (PHQ-9), Generalized Anxiety Disorder-7 (GAD-7), State-Trait Anxiety Inventory-State Anxiety (STAI-S, Or STAI-X1), Resilience Appraisal Scale (RAS), Rosenberg Self-Esteem Scale (RSES), Mini International Neuropsychiatric Interview (MINI)deep graph neural network model (GIN)AUC = 0.878, Sensitivity = 76.3, Specificity = 83.4
(Choi et al., 2018) [46]South Koreacohort819,951Korean who are covered by Medicare and Medicaid insurance inpatient or outpatientDisability, Endocrine, Nutritional And Metabolic Diseases, Mental And Behavioral Disorders, Diseases Of The Nervous System, Diseases Of The Eye And Adnexa, Diseases Of The Ear And Mastoid Process, Diseases Of The Respiratory System, Diseases Of The Genitourinary System, Injury, Poisoning, Factors Influencing Health Status, Sex, Age, Type Of Insurance, Household IncomeCox regressionAUC = 0.688
(R. Yates Coley et al., 2021) [25]USAdiagnostic/prognostic study13,980,570Outpatient appointments with a mental health professionalBipolar, Schizophrenia, Mental Disorder Symptoms, Encounters In Past 5 Y With Mental Health Diagnosis, Depression, Anxiety, Race, Sex, Age, Medicaid Insurance, Alcohol, Substance Abuse, Patient Health Questionnaire 9 (PHQ-9 Score)Logistic regression with LASSOAUC = 0.822
(Edgcomb et al., 2021) [43]USAlongitudinal cohort study15,644Adults with serious mental illnesses are at high risk for both medical illness and serious suicide attempts and self-harmMedical Comorbidity, Age, Number of Medical Hospitalizations In The Previous Year, Alcohol, Bipolar, In-Hospital Mortality Score, Walraven ScoreClassification and Regression Tree algorithm (CART)AUC = 0.86
(Edgcomb et al., 2021) [31]USAretrospective cohort study142,476women with depression, bipolar disorder, schizophrenia or schizoaffective disorderMedical Comorbidity, History of Pregnancy-Related Mental Illness, Age, Van Walraven ScoreClassification and Regression Tree algorithm (CART)

AUC repository1 = 0.73, AUC repository2 = 0.71, Average AUC = 0.72 ,

Accuracy repository1 and repository2 = 0.84, Sensitivity repository1 = 73.4, Sensitivity repository2 = 83.3, Average Sensitivity = 78.35 ,

Specificity repository1 = 84.1,

Specificity repository2 = 82.2, Average Specificity = 83.15

(Etter et al., 2017) [66]USAProspective cohort study2134General populationSex, Race, Age, Substance AbuseLogistic regressionAUC = 0.84
(Ge et al., 2020) [67]Chinaretrospective study1916patients with major depressive disorderAge, Sex, Marital Status, Vocational Status, Ethnicity, Depression, Anxiety, Free Triiodothyronine (FT3), Free Thyroxine (FT4), Thyroxine, Triiodothyronine, Thyrotropin Stimulating Hormone (TSH), Hamilton Depression Scale (HAMD), Hamilton Anxiety Rating Scale (HAMA)neural networkAUC = 0.76, Accuracy = 70.08, Sensitivity = 70.68, Specificity = 67.09
(Hill et al., 2019) [68]USAlongitudinal study4834General populationHIV/STD/Sex-Related, Depression, Risky Behavior, Relationship, Friends Have Succeeded in Committing Suicide In The Past 12 Months, Resident Mother, Race, Substance AbuseA Classification Tree Approach (CTA)Accuracy Wave 1 = 85.1, Accuracy Wave 2 = 71.7, Average accuracy = 78.4, Sensitivity Wave 1 = 69.8, Sensitivity Wave 2 = 90.6, Average sensitivity = 80.2, Specificity Wave 1 = 85.7, Specificity Wave 2 = 70.9, Average specificity = 78.3
(Kim et al., 2021) [69]South Korearetrospective analysis7824Students who have been referred for a health check-upFamily Problems, Interpersonal Passivity, Aberrant Experiences, Social Avoidance, Shyness, Disaffiliativeness, Juvenile Conduct Problems, Aggression, Activation, Hopelessness, Helplessness, Self-Doubt, Inefficacy, Stress/Worry, Anxiety, Anger Proneness, Behavior-Restricting Fears, Multiple Specific Fears, Malaise, Demoralization, Low Positive Emotions, Cynicism, Antisocial Behavior, Ideas Of Persecution, Dysfunctional Negative Emotions, Hypomanic Activation, Emotional/Internalizing Dysfunction, Thought Dysfunction, Behavioral/Externalizing Dysfunction, Substance Abuse, Gastro-Intestinal Complaints, Head Pain Complaints, Neurological Complaints, Cognitive Complaints, Somatic Complaints, Suicidal/Death Ideation (SUI) Scale, PSY-5 (Personality Psychopathology Five) Scales, AES Aesthetic-Literary Interests, MEC Mechanical-Physical InterestRandom forest

AUC suicide ideation = 0.844, AUC suicide attempt = 0.851, Average AUC = 0.8475 ,

Precision suicide ideation = 0.920,

Precision suicide attempt = 0.953,

Average precision = 0.9365 ,

Recall suicide ideation = 0.929,

Recall suicide attempt = 0.950,

Average recall = 0.9395 ,

Accuracy suicide ideation = 92.9,

Accuracy suicide attempt = 95 ,

Average accuracy = 93.95 ,

(Haroz et al., 2022) [70]USAretrospective cohort13,420Pediatric patientsSex, Age, Race, Anxiety, Depression, Alcohol, Obesity, Tobacco, ADHD, Brain Injury, Psychotic Disorders, Anemia, Bipolar, Migraine, Autism, Diabetes, Drug, Asthma, Learning Disorder, Intellectual Disability, PTSD, Epilepsy, Cancer, Hemiplegia, Cerebrovascular Disease, Other Developmental Disorder, Renal Disease, Mild Liver Disease, Rheumatoid Disease, Heart Failure, Vascular Disease, Metastatic Tumor, AIDS, Severe Liver Disease, Myocardial Infraction, Leukemia And Lymphoma, Personality Disorder, Charlson Comorbidity IndexBinary Logistic Regression model

AUC Model 2: ASQ + HER = 0.843,

positive predictive value Model 2: ASQ + HER = 0.103,

False negative rate Model 2: ASQ + HER = 0.183, Accuracy Model 2: ASQ + HER = 0.815,

Sensitivity Model 2: ASQ + HER = 0.817

(Melhem et al., 2019) [71]USAlongitudinal study663offspring of parents (or probands) with mood disordersBipolar, Posttraumatic Stress, Hyperactivity, Childhood Abuse, Psychotherapy, Antidepressants, Nonpsychotropic Medications, Hopelessness, Impulsivity, Impulsive Aggression, Irritability, Mood Disorders, Depression, Anxiety, Aggression, Sex, Age, Race, Income, Alcohol, Substance Abuselogistic regressionAUC = 0.80, Sensitivity = 87.3, Specificity = 63
(Machado et al., 2020) [72]USAProspective cohort study77,746General populationBMI, Psychotic Disorders, Personality Disorders, Mood Disorder, Anxiety, Age, Sex, Race, Marital Status, Education, Income, Substance AbuseElastic net regularization

AUC distinguished individuals who had attempted suicide from those who had not = 0.89,

AUC participants with lifetime major depressive episodes = 0.89,

Average AUC = 0.89,

positive predictive value distinguished individuals who had attempted suicide from those who had not = 0.0455,

positive predictive value participants with lifetime major depressive episodes = 0.1048,

Average positive predictive value = 0.07515 ,

negative predictive value distinguished individuals who had attempted suicide from those who had not = 0.9980,

negative predictive value participants with lifetime major depressive episodes = 0.9944,

Average negative predictive value = 0.9962 ,

Sensitivity distinguished individuals who had attempted suicide from those who had not = 0.7451,

Sensitivity participants with lifetime major depressive episodes = 0.7742,

Average sensitivity = 0.75965 ,

Specificity distinguished individuals who had attempted suicide from those who had not = 0.8922,

Specificity participants with lifetime major depressive episodes = 0.8586,

Average specificity = 0.8754

(Miranda et al., 2022) [73]USAretrospective study38,807posttraumatic stress disorder (PTSD) patients, a population with a high risk of suicideGlucose, Chloride, Red Cell Distribution Width, Mean Corpuscular Hemoglobin, Hemoglobin, Hematocrit, Mean Corpuscular Volume, White Blood Cell, Anion Gap, Blood-Urine, ABS Neutrophils, Glucose-Urine, Glucose (Bedside Test), ABS Basophils, Red Blood Cell, Potassium, International Normalized Ratio, Ionized Calcium ISTAT, Ionized Calcium, Bacteria, Base Excess, Total Protein, Calcium, Red Blood Cells-Urine, Sodium, Prothrombin Time, Mean Platelet Volume, Plateletsdeep-learning (DRNN)AUC = 0.932
(Zheng et al., 2020) [74]USAcohort236,347Patients who visited three specified health centersAge, Sex, Family Problems, Unemployment, Anxiety, Depression, Mood Disorder, Anxiety, Substance Abuse, Alcohol, Tobacco, Arthritis, Back Pain, Vehicle Accidents, Head Pain Complaints, PTSD, Esophageal Disorders, Hypertension, Esophageal Reflux, Serotonin Reuptake Inhibitor, Physical Restraints, Educational Circumstances Problems, Injury, Poisoning, Psychosocial Issues, Drug Use, Asthma, Schizophrenia, Joint Pain, Nervous System Disorders, Neuropathy, Bipolar, Developmental Disorders, Fibromyalgia, Impulse Control Disorders, Personality Disorders, Endocrine Disorders, Forearm, Migraines, Borderline Personality DisorderDeep Learning model

AUC 1-year suicide attempt = 0.792,

AUC retrospective and prospective cohorts = 0.769, Average AUC = 0.7805

(Zhu et al., 2020) [75]Chinacohort169inpatients (Patients With Bipolar II Disorder)

Age, Education, Sex, Marital Status, Family History Of Mental Disorder, Family History Of Suicide, Occupation, Seasonal Characteristics, Depression, Hypomania, Substance Abuse, Course Of Disease, Combined Somatic Disorder, Psychotic Characteristics, Hamilton Depression Rating Scale (Scores Of HAMD-17), Hamilton Depression Rating Scale (Scores Of HAMD-16), Hamilton Anxiety Rating Scale (Scores Of HAMA), Nurses’ Global Assessment Of

Suicide Risk (NGASR)

support vector machines (SVMs)Accuracy = 0.84
(Setoyama et al., 2016) [76]Japancohort339psychiatric patients

Blood Plasma: 3-Hydroxybutyrate (3HB), Betaine, Citrate, Creatinine, And

Gamma-Aminobutyric Acid (GABA), Hamilton Rating Scale For Depression (HAMD)-17, Patient Health

Questionnaire (PHQ)-9

logistic regressionAUC = 0.75
(Van Mens et al., 2020) [77]Scotlandlongitudinal study3508General populationBurdensomeness, Mental Disorder Symptoms, Impulsivity, Defeat, Entrapment, Internal Entrapment, Interpersonal Needs, Depression, External-Entrapment, Stress, Wellbeing, Twarted-Belonginess, Optimism, Perfectionism, Resilience, Interpersonal Needs, Lack of Social Support, Reengagement, Acquired Capability, Goal Disengagement, Age, Sexrandom forestAUC = 0.83, positive predictive value = 0.52
(Su et al., 2020) [78]USAretrospective study41,721pediatric population who visited specified health centerSex, Age, Race, Ethnicity, Depression, Anxiety, Mood Disorder, Problems Related To Lifestyle, Emotional State, ADHD, Conduct Disorder, Bipolar, Personal History Of Certain Other Disease, Joint Disorder, Sertraline, Hydroxyzine Pamoate, Ethinyl Estradiol, Lorazepam, Escitalopram, Citalopram, Fluoxetine, Cholecalciferol, Hydroxine Hcl, Venlafaxine, Guanfacine, Trazodone, Prozac, Risperidone, Zoloft, Aripiprazole, Quetiapine, Culture Urine, Acetaminophen Level, Urinalysis With Microscopic, POC Pregnancy Urine, MDMA, POC Urinalysis Dipstick, Urinalysis With Microscopic, POC Pregnancy Urine, Salicylate Level, GC/Chlamydia, Oxycodone Urinelogistic regressionAUC = 0.86
(Forkmann et al., 2020) [79]Germanylongitudinal prospective study308The study focused on participants over the age of 18 who were admitted to a psychiatric hospital due to severe suicidal ideation or a suicide attempt within two weeks of admissionBurdensomeness, Belongingness, Depression, Pessimistic And Hopeless Cognitions, Fearlessness About Death, Pain Tolerance, Capability For Suicide, Self-Injurious Thoughts And Behaviors Interview (SITBI), German Capability For Suicide Questionnaire (GCSQ), Interpersonal Needs Questionnaire (INQ), Rasch-Based Depression Screening (DESC-I), Beck Hopelessness Scale (BHS), Beck Scale For Suicide Ideation (BSS) (Interpersonal Theory Of Suicide, Pos. 4–8)logistic regressionAUC = 0.729
(Adams et al., 2021) [80]DenmarkCase–cohort study15,953

Case: all hospital outpatient clinic

visits were reported to the Danish National Patient Registry

Control: all persons born or legally residing in Denmark on 1 January 1995

Sedative, Hypnotic, Anxiolytic, Age, Marital Status, Income, Immigrant, Alcohol, Opioid, Cannabis, Cocaine, Hallucinogen, Nicotine, Other Psychoactive Substancerandom forestsAUC men = 0.77, AUC women = 0.86, Average AUC = 0.815
(Barak-Corren et al., 2020) [81]USAcase control3,714,105

Case: Cases were

defined as individuals having at least 1 captured suicide attempts,

Control: candidate that are likely to capture suicide

attempts

Sex, Race, Ethnicity, Poisoning By Unspecified Drug Or Medicinal Substance, Drug Withdrawal Syndrome, Cocaine Dependence, Unspecified Use, Drug-Induced Organic Affective Syndrome, Borderline Personality, Unspecified Use, Unspecified Neurotic Disorder, Unspecified Use, Multiple And Unspecified Open Wound Of Upper Limb, Without Mention Of Complication, Unspecified Use, Open Wound Of Upper Arm, Without Mention Of Complication, Unspecified Use, Open Wound Of Hand Except Fingers Alone With Tendon Involvement, Assault By Cutting And Piercing Instrument, Bipolar Affective Disorder,

Unspecified Degree, Unspecified Personality Disorder, Bipolar Affective Disorder, Mixed, Mixed, Or Unspecified Drug Abuse, Acute Alcoholic Intoxication In Alcoholism (Alcohol), Unspecified Drinking Behavior, Cocaine Abuse, Opioid Type Dependence, Unspecified Drug Dependence, Depression, Antipsychotics, Antidepressants, And Mood Stabilizers (Eg, Lithium), Antiretroviral Medications Used To Treat

HIV/AIDS (Eg, Ritonavir) Were Associated With An Increased Risk For A Suicide Attempt. Nicotine

Replacement Therapy Also Consistently Emerged As A Leading Predictor Across The Nonpediatric

Hospitals, Toxicology Tests, Toxicology Screening Tests, Choriogonadotropin-Beta, Levels Of Valproic Acid, BCH, Lithium Level

naive Bayes classifiersAUC = 0.73
(Barros et al., 2017) [82]USAcase control707

Case: mental health patients with suicide risk,

Control: mental health patients

without suicide risk

Bipolar, Mixed Episode, Adjustment Disorder, Dysthymia, Depression, Anxiety, Age, Sex, Marital Status, Parental Status, Education, Occupationsupport vector machineAccuracy = 0.78, Sensitivity = 0.77, Specificity = 0.79
(Berkelmans et al., 2021) [53]Netherlandcase control602,270

Case: The people who died by suicide,

Control: people who did not die due to suicide

Age, Sex, Income, Education, Immigration Background, Urban city, Place In Household, Healthcare Costs, Province, Social Benefits, Mental Disorder Symptoms, Physical Health Problemslogistic regressionAUC = 0.77
(Delgado-Gomez et al., 2016) [83]Spaincase control902

Case 1: first-time suicide attempters,

Case 2: psychiatric inpatients without current

or past history of suicidal behavior,

Control: healthy controls

Sex, Age, Marital Status, Education, Employment Status, Suicidal Risk, Personality and Life Events Items and The Corresponding Samejima’s Parameters (PLE Scale Item)Decision treePrecision = 0.89, Sensitivity = 0.89, Specificity = 0.89
(D. Delgado-Gomez et al., 2011) [84]Spaincase control879

control: healthy blood donors,

case: psychiatric inpatients

Barrat’s Impulsiveness Scale Version 11 (BIS-11), International Personality Disorder Evaluation Screening Questionnaire (IPDESQ)Support vector machineAccuracy = 80.26
(D. Delgado-Gomez et al., 2012) [85]Spaincase control883

Case: Adults with suicide attempt,

Control: adults without suicide attempt

Age, Holmes–Rahe Social Readjustment Rating Scale (SRRS Questionnaire), International Personality Disorder Examination Screening Questionnaire (IPDE-SQ Questionnaire)multivariate classification techniques

Accuracy = 0.79,

Sensitivity = 78.30,

Specificity = 0.91

(DelPozo-Banos et al., 2018) [86]United KingdomCase–cohort study54,684

Case: those who died by suicide,

Control:

Prescription Of Psychotropic, Depression, Anxiety, Self-Harm, Age, Sex, Alcohol, Drug AbuseANNSensitivity = 64.57, Specificity = 81.86
(Gradus et al., 2021) [87]DenmarkCase–cohort study288,157

Case: Cases were all persons who made a nonfatal suicide

attempt,

Control: 5% random sample of the population at risk

Psychiatric Medications, Poisoning, Stress, Substance AbuseRandom forestAUC (male): 0.89, AUC (female): 0.91, Average AUC: 0/9
(Jiang et al., 2021) [30]DenmarkCase–cohort study14,737

Cases: all persons who died by suicide and had an incident depression

diagnosis,

Control: 5% random sample of all

individuals in Denmark

Mental Disorders, Somatic Disorders, Surgeries, Medications, Age, Marital Status, Immigrant, Family Suicide Death History, Employment, IncomeDecision tree and random forest

AUC decision tree (male): 0.71,

AUC random forest (female): 0.75,

Average AUC: 0.73

(Harman et al., 2021) [88]USAcase control11,369

Case: individuals with suicidal ideation and/or

attempt,

Control: healthy controls

Impulsivity, Prodromal Psychosis, Loneliness, Worthlessness, Behavioral Problemsrandom forestAUC: 0.77
(Navarro et al., 2021) [89]Canadaprognostic study1623General populationMother and Father Education and Mother and Father Age, Socioeconomic Status, Neighborhood Characteristics, Parents’ Psychological State, Parents’ Antisocial Behaviors, Parenting Practices, Sex, PrematurityRandom forest

AUC (male): 0.62, AUC (female): 0.72,

Average AUC: 0.67 ,

positive predictive value (male): 0.62,

positive predictive value (female): 0.60,

Average positive predictive value: 0.61 ,

negative predictive value (male): 0.71,

negative predictive value (female): 0.75,

Average negative predictive value: 0.73 ,

Sensitivity (male): 0.32, Sensitivity (female): 0.50, Average sensitivity: 0.41, Specificity (male): 0.82, Specificity (female): 0.76, Average Specificity: 0.79

(McKernan et al., 2019) [90]USAcase control8879

Case: fibromyalgia patients with suicide ideation and attempt,

Control: general population

Sex, Race, Age, Comorbid Medical Illness, Drug Dependence, Inpatient Utilization, Mental Disorder Symptoms, Obesity, Polysomatic Complaintsbootstrapped L-1 penalized regression

AUC suicide ideation: 0.8, AUC suicide attempt: 0.82, Average AUC: 0.81, Recall suicide ideation: 0.14,

Recall suicide attempt: 0.08, Average recall: 0.11

Accuracy

Accuracy refers to the ability of ML models to differentiate between health and patient groups [56] correctly. Out of the 41 final studies, 13 studies reported information on accuracy. The reported accuracy rates varied across the studies as indicated in Panel A of Fig. 2, with the lowest being 0.70 for NN in the study conducted in [30], and the highest being 0.94 for the random forest in the study conducted in [32].

The overall pooled prevalence of accuracy was 0.78 ((I2=56.32%; 95% CI: 0.73, 0.84), Table 2.

Fig. 2

Panel A. Accuracy of the machine learning models; N studies = 13

Figure image at the original source — open the original paper. This file is not included in this text import.

Table 2

The list of different ML outcomes, along with the pooled estimates for those outcomes that have sufficient records

ML performancesReferencesPooled % (95% CI)
AUC32 studies: (Setoyama et al., 2016; Barak-Corren et al., 2017, 2020; Etter et al., 2017; Choi et al., 2018, 2021, 2021; Melhem et al., 2019; McKernan et al., 2019; Cho et al., 2020, 2021; Forkmann et al., 2020; Ge et al., 2020; Machado et al., 2020; Zheng et al., 2020; Van Mensa et al., 2020; Su et al., 2020; Alexopoulos et al., 2021; Bai et al., 2021; Coley et al., 2021; Kim et al., 2021; Adams et al., 2021; Berkelmans et al., 2021; Gradus et al., 2021; Jiang et al., 2021; Harman et al., 2021; Navarro et al., 2021; Balbuena et al., 2022; Beni Edgcomb et al., 2022, 2022; Haroz, E. E. et al., 2022; Miranda et al., 2022) 0.77 (0.74, 0.80)
Accuracy13 studies: (Delgado-Gomez et al., 2011, 2012; Barros et al., 2017; Bhak et al., 2019; Hill et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Zhu et al., 2020; Choi et al., 2021; Kim et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.78 (0.73, 0.84)
Sensitivity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017, Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.69 (0.60, 0.78)
Specificity15 studies: (Delgado-Gomez et al., 2012, 2016; Barak-Corren et al., 2017; Barros et al., 2017; DelPozo-Banos et al., 2018; Hill et al., 2019; Melhem et al., 2019; Cho et al., 2020, 2021; Ge et al., 2020; Machado et al., 2020; Choi et al., 2021; Navarro et al., 2021; Beni Edgcomb et al., 2022; Haroz, E. E. et al., 2022) 0.81 (0.77, 0.86)
Positive predictive value6 studies: (Cho et al., 2020; Machado et al., 2020; Van Mensa et al., 2020; Cho et al., 2021; Navarro et al., 2021; Haroz, E. E. et al., 2022) 0.10 (0.04, 0.19)
Recall3 studies: (McKernan et al., 2019; Choi et al., 2021; Kim et al., 2021) 0.58 (0.15, 1.29)
Precision3 studies: (Delgado-Gomez et al., 2016; Choi et al., 2021; Kim et al., 2021) 0.91 (0.85, 0.98)
False negative rate2 studies: (Cho et al., 2020; Haroz, E. E. et al., 2022) 0.26 (0.24, 0.28)
True positive rate1 study: (Ballester et al.2021) 0.77 (0.40, 1.34)

AUC

The area under the curve (AUC) as a metric used in this study to compare the performance of multiple classifiers [26]. In our analysis, a total of thirty-two studies reported AUC values as indicated in Fig. 3, Panel B. Balbuena et al.’s (2022) study reported the lowest AUC of 0.54, based on the COX and random forest models. On the other hand, Choi et al.’s (2021) reported the highest AUC of 0.97, using the XGBoost classifier. The pooled prevalence of AUC across the studies was estimated to be 0.77 (I2= 95.86%; 95% CI: 0.74, 0.80), Table 2.

Fig. 3

Panel B. AUC of the machine learning models; N studies = 32

Figure image at the original source — open the original paper. This file is not included in this text import.

Precision

Precision is a measure that determines the number of true positives divided by the sum of true positives and false positives [27]. In our analysis, three studies reported precision values as depicted in Fig. 4, Panel C. Two studies reported the highest precision rate of 0.93. The first study, conducted by Choi et al., utilized the XGBoost classifier, and the second study, by Kim et al. (2021), employed a random forest model. On the other hand, the lowest precision rate of 0.86 was documented in the Delgado-Gomez et al. (2016) study, which used a decision tree model.

The pooled prevalence of positive predictive value was estimated to be 0.91 (I2= 0.001%; 95% CI: 0.85, 0.98), Table 2.

Fig. 4

Panel C. Precision of the machine learning models; N studies = 3

Figure image at the original source — open the original paper. This file is not included in this text import.

Positive predictive value

Positive predictive value (PPV) represents the proportion of true positive cases among all positive predictions [27]. Among the studies included in our analysis, six studies reported PPV values as depicted in Fig. 5, Panel D. The PPV varied across the studies, ranging from 0.01 in Cho et al.’s study conducted in 2020 and 2021, which utilized a random forest model, to 0.62 in Navarro’s (2021) study, also employing a random forest model. The pooled prevalence of PPV was estimated to be 0.10 (I2= 97.02%; 95% CI: 0.03, 0.21), Table 2.

Fig. 5

Panel D. Positive predictive value of the machine learning models; N studies = 6

Figure image at the original source — open the original paper. This file is not included in this text import.

True positive rate

The true positive rate (TPR), also known as sensitivity, represents the proportion of actual positive cases correctly identified by the model [27]. In our analysis, only one study conducted by Ballester et al. (2021), utilized the gradient tree boosting model, reported the TPR as depicted in Fig. 6, Panel E. The pooled prevalence of TPR in this study was estimated to be 0.77 (95% CI: 0.40, 1.34), Table 2.

Fig. 6

Panel E. True positive rate of the machine learning models; N studies = 1

Figure image at the original source — open the original paper. This file is not included in this text import.

Sensitivity

Sensitivity, also known as the true positive rate, measures the proportion of actual positive cases correctly identified by the model (specified patient cases) [28]. In our analysis, fifteen studies provided data on sensitivity as illustrated in Fig. 7, Panel F. The sensitivity ranged from 0.43 in Navarro’s (2021) random forest study to 0.87 in Delgado-Gomez et al.’s (2016) decision tree study. The pooled prevalence of sensitivity was estimated to be 0.69 (I2= 95.94%; 95% CI: 0.60, 0.78), Table 2.

Fig. 7

Panel F. Sensitivity of the machine learning models; N studies = 15

Figure image at the original source — open the original paper. This file is not included in this text import.

Specificity

Specificity is a measure that identifies the proportion of actual negative cases correctly identified by the model [28]. In our analysis, fifteen studies reported specificity rates as illustrated in Fig. 8, Panel G. The specificity ranged from 0.63 in Melhem et al.’s (2019) study using logistic regression, to 0.90 in Barak-Corren et al.’s (2017) study using Naive Bayesian classifier. The pooled prevalence of specificity was estimated to be 0.81 (I2=80.31%;95% CI: 0.77, 0.86), Table 2.

Fig. 8

Panel G. Specificity of the machine learning models; N studies = 15

Figure image at the original source — open the original paper. This file is not included in this text import.

Recall

Recall is a measure that determines the proportion of true positive cases correctly identified by the model [27]. In our analysis, three studies reported recall rates as depicted in Fig. 9, Panel H, ranging from 0.11 in McKernan et al.’s (2019) study using bootstrapped L-1 penalized regression to 0.95 in Kim et al.’s (2021) study using random forest. The pooled prevalence of recall was estimated to be 0.58 (I2=98.43%;95% CI: 0.15, 1.29), Table 2.

Fig. 9

Panel H. Recall of the machine learning models; N studies = 3

Figure image at the original source — open the original paper. This file is not included in this text import.

False negative rate

False negative rate represents the proportion of actual negative cases incorrectly identified by the model [29]. Two studies provided data on false negative rates, with rates that were similar to each other as shown in Fig. 10, Panel I. These studies utilized the random forest and binary logistic regression models. The pooled prevalence of the false negative rate was estimated to be 0.26 (I2=0.001%;95% CI: 0.24, 0.28), Table 2.

Fig. 10

Panel I. False negative rate of the machine learning models; N studies = 2

Figure image at the original source — open the original paper. This file is not included in this text import.

Suicide risk factors

In our meta-synthesis analysis, we studied 41 studies in which we identified 261 suicide risk factors. We implemented a rigorous extraction process to identify the most significant risk factors. While some studies presented vast datasets with over 2500 entries of potential risk factors, the focus was on extracting those factors consistently cited as common and important indicators of suicide risk across multiple studies [30, 31]. To ensure robustness, we excluded risk factors reported less than three times, resulting in the compilation of 55 frequently occurring risk factors.

We aimed to focus on more prevalent risk factors in the database to enhance the generalizability of the findings to the broader population. Some factors with lower frequencies can introduce noise in the analysis, making it more challenging to identify true patterns. The minimum threshold helped us filter out less relevant factors. This decision was based on a focus group session that included two psychiatrists and one emergency physician. The focus group selected the most common variables that were repeated more than three times based on their scientific knowledge and experience.

These factors were categorized into five distinct categories in our study, as outlined in Table 3.

Table 3

Frequently occurring suicide categories and risk factors

CategorySuicide risk factorFrequency
DemographicAge 30
Sex 26
Marital Status 12
Education 10
Occupation 10
Income 10
Race9
Parents’ Psychological State5
Parental status4
Insurance4
Family or Friends’ History of Suicide4
Ethnicity4
Social Support Status3
Immigrant3
Laboratory & BiomarkersUrinalysis with Microscopic3
POC Pregnancy Urine3
Glucose5
LDL3
Cholesterol3
Triglyceride3
ScalesHamilton Depression Rating Scale3
Patient Health Questionnaire (PHQ)-93
LifestyleSubstance Abuse 26
Alcohol 12
Activation3
Physical activity3
Clinical & BehavioralDepression 21
Anxiety 13
Mental Disorders8
Antidepressant8
Bipolar7
Other Drug7
Personality Disorders7
Psychotic Disorders6
Impulsivity6
Diseases of the Nervous System5
Injury5
BMI5
Mania4
Open wound4
Mood Disorder4
Poisoning4
Stress4
Schizophrenia4
Hopelessness3
Self-esteem3
Entrapment3
Cerebrovascular Disease3
AIDS3
ADHD3
Endocrine3
Fear3

The numbers highlighted in bold indicate suicide factors that occur with higher frequency and have a more pronounced impact

Discussion

This study employed a systematic review, meta-analysis, and meta-synthesis approach to examine the pooled prevalence of ML outcomes for predicting suicide and provide a comprehensive list of suicide risk factors. The intricate nature of suicide as a behavior is underscored by a diverse array of risk factors, spanning clinical variables to lifestyle influences [32]. Our study adopted a comprehensive approach, employing both qualitative and quantitative methods. Additionally, the study was limited to studies with prospective, retrospective, retrospective cohort, case cohort, case-control, cohort, diagnostic/prognostic, longitudinal, longitudinal cohort, longitudinal prospective, prognostic, prospective cohort, retrospective, retrospective cohort, and randomized control trial designs due to the large number of studies in the final stage, and to ensure methodological rigor.

Ultimately, 41 studies were selected for the meta-analysis and meta-synthesis, meeting the quality assessment criteria. Results revealed the neural network (NN) algorithm with the lowest accuracy at 0.70, contrasting with the random forest exhibiting the highest accuracy at 0.94. Furthermore, the XGBoost classifier demonstrated the highest Area Under the Curve (AUC) value, reaching an impressive 0.97. These findings not only contribute to our understanding of suicide risk factors but also highlight the significance of methodological considerations and algorithmic performance in predictive models.

The findings of this study are consistent with previous research conducted by [33, 34] which suggested that ML algorithms and the identification of innovative indicators play a valuable role in predicting suicide and detecting mental health issues. However, these findings contradict the results of [35], which indicated insufficient evidence to support the superior performance of ML over logistic regression in clinical prediction models. The studies included in the analysis that used ML techniques to predict suicidal attempts demonstrated overall good performance on the most commonly used algorithms, namely XGBoost.

For example, the AUC values reported in these studies were consistently high, ranging approximately between 0.65 and 0.97. An AUC value of 0.5 indicates a random prediction, while a value of 1 represents a perfect prediction. The AUC values in the range of 0.97 for XGBoost model suggest that the ML models had a high degree of accuracy in classifying individuals with respect to their risk of suicidal attempts. The findings of this study are consistent with previous research conducted by [36] which confirmed acceptable performance of XGBoost algorithm in cognition of patients with major depressive disorder.

This result may be due to the fact that XGBoost is an ensemble model that constructs various models to reduce classification errors on each iteration. According to [37], certain ML algorithms, such as support vector machines (SVM) and decision trees (DT), are preferred over others due to their superior performance in predicting suicide risk. Furthermore [38], confirmed that the application of ML techniques to analyze large databases holds great potential for facilitating the prediction of suicide, offering promising avenues for future research.

The results of this study align with the findings of [39], which highlighted the ability of ML to enhance suicide prediction models by incorporating a larger number of suicide risk factors. Applicability of these methods in specific patient groups is invaluable. For example [40], indicated that predicting whether a person has a mental illness itself poses a significant challenge. Therefore, if machine learning can offer a new avenue of hope for clinicians, it is commendable. However [41], discovered that although these models have demonstrated accuracy in the overall classification, their ability to predict future events remains limited in the context of suicide prediction models.

Consequently, it is important to note that the performance of ML algorithms can vary depending on various factors, including the quality and size of the dataset, the specific features used as input, the preprocessing steps applied, and the hyperparameters selected for the algorithms. Therefore, the overall performance of these algorithms in predicting suicide showed strong discriminatory power in distinguishing between individuals who are at risk of suicidal attempts and those who are not. Future research should continue exploring and refining ML approaches for suicide prediction, considering these factors to improve the accuracy and reliability of predictions.

The findings of our study revealed that various factors, such as age, sex, substance abuse, depression, anxiety, alcohol consumption, marital status, income, education, low-density lipoprotein (LDL) and occupation, were identified as the most prevalent risk factors based on the analysis of included studies. Age plays a complex role in suicide, with several studies indicating a higher incidence of suicide among middle-aged and older adults. However, it is important to note that age is not the sole factor contributing to suicidal behavior [42, 43].

The prevalence of suicide is exceptionally high among young adults, specifically those aged 15 to 19 as it is a fourth cause of death in the world [44]. Sex is a significant risk factor for suicide. In general, men are more likely to die by suicide than women, but women attempt suicide more often than men. This may be because men are more likely to use lethal methods [42, 45, 46].

According to the meta-synthesis results, there appears to be a significant correlation between substance abuse and depression with suicide. This correlation may be because substance abuse can impair judgment and increase impulsivity. On the other hand, a person who is depressed may experience feelings of hopelessness, helplessness, and despair, which can lead to suicidal thoughts or behaviors. These findings align with the study conducted by [47, 48]. Anxiety as a mental health condition can lead to various negative outcomes, including an increased risk of suicide [49].

Alcohol use can increase impulsivity and decrease inhibitions, leading to risky behaviors such as self-harm or suicide attempts [50, 51]. found that the consumption of alcohol while feeling sad or depressed could indicate suicidal behavior in adolescents who had not previously reported having thoughts of suicide before attempting it.

Marital status is a common suicide risk factor. Researchers have found that married individuals have lower suicide rates than their unmarried counterparts. This trend is observed in both men and women across different age groups and cultures [52]. Low income has been associated with an increased risk of suicide. The reasons for this link are complex and multifactorial, but some possible explanations include limited access to healthcare and mental health services, financial strain, and social isolation [53].

Lower education levels are also associated with higher suicide rates. This may be because lower education-level individuals have fewer job opportunities and may experience more financial stress [53]. In addition to the clinical and demographic factors discussed, it is crucial to recognize the significant role that certain biomarkers and laboratory factors play in the vulnerability to suicide. One notable example is the impact of low serum cholesterol levels, which have been found to significantly heighten the risk of suicide [54].

Some studies have shown that LDL level is an important factor in the incidence of suicide [55]. Moreover, some studies have indicated that individuals who have committed suicide had higher levels of LDL compared to non-attempters [56].

Machine learning (ML) techniques are suitable for predicting suicide risk, overcoming the constraints of traditional methods. However, ML requires sufficient and relevant data to train and validate the early identification of risk factors and suicide prediction. We acknowledge the importance of anticipating and addressing immediate concerns related to suicide in a clinical setting. Due to this, some studies have focused on utilizing certain scales in psychiatric outpatients [57]. However, reliance solely on these scales may instill an unwarranted sense of assurance among healthcare providers.

Hence, it is crucial to factor in data availability and the computational demands of handling extensive datasets and intricate models. Our evaluation underscores the proficiency of ML algorithms in uncovering concealed relationships and delivering precise predictions of suicide risk, contingent upon the judicious selection and meticulous evaluation of algorithms. This underscores the indispensable role of ML algorithms in exhaustively analyzing data and pinpointing crucial risk factors, thereby advocating for further exploration in the field. This methodological breadth mirrors the multifaceted nature of suicide risk prediction, enhancing the generalizability of our findings.

However, our study may be susceptible to limitations arising from the included studies and the meta-analysis methodology. Additionally, reliance on published literature may introduce publication bias, favoring studies with statistically significant results and potentially skewing overall findings. Furthermore, it is suggested to report τ² and the Q-statistic in future studies to assess heterogeneity. Despite these challenges, our study offers valuable insights into the role of machine learning algorithms in predicting suicide risk and sheds light on important risk factors associated with suicidal behavior.

Future research endeavors will continue to tackle these methodological hurdles, striving for enhanced standardization and transparency in study reporting to fortify the reliability and reproducibility of findings in this crucial domain of inquiry.

Ethical considerations in the use of ML for suicide prediction

Machine learning (ML) for suicide prediction requires the implementation of ethical considerations as the well-being and rights of individuals and the privacy and confidentiality of individuals’ data are crucial. Participants should be fully informed about the study’s purpose, potential risks, and benefits and have the right to withdraw their consent at any time. Understanding and interpreting the factors and variables that contribute to the predictions is important. This transparency is required to gain the trust of both individuals at risk and healthcare professionals.

Ensuring that ML algorithms cannot be replaced by human intervention and clinical judgment is important. Human oversight is critical in interpreting and acting upon the predictions made by the algorithms. Healthcare professionals should make informed decisions based on ML predictions, considering the individual’s unique circumstances and context [58].

Conclusion

Suicide is a complex and multifaceted public health issue with significant implications for individuals and communities. Our study examined the application of ML techniques for predicting suicide risk. Our research findings highlight the diverse performance of ML algorithms in predicting suicide, indicating the need for further investigation and refinement.

Our analysis identified several general risk factors contributing to an individual’s heightened risk of suicide. These factors include age, sex, substance abuse, depression, anxiety, alcohol consumption, marital status, income, education, and occupation. Recognizing that these risk factors interact in complex ways is important, and their presence does not guarantee suicidal behaviour. Nonetheless, understanding and addressing these risk factors can aid in developing targeted prevention and intervention strategies.

While ML algorithms have shown promise in predicting suicide risk, their performance can vary depending on the specific dataset and risk factors being considered. Further studies are warranted to explore using ML algorithms across diverse databases encompassing various risk factors. This would allow for a more comprehensive understanding of the predictive capabilities of ML in different contexts and populations.

Moreover, future research should focus on enhancing the interpretability and explainability of ML models in suicide prediction. Understanding the underlying mechanisms and variables contributing to predictions is essential for effective intervention and decision-making. Additionally, rigorous validation and evaluation of ML algorithms should be conducted to assess their accuracy, generalizability, and potential biases.

To advance the field of suicide prediction using ML, collaboration between researchers, clinicians, and policymakers is crucial. This interdisciplinary approach can foster the development of comprehensive and ethical frameworks for implementing ML algorithms in suicide prevention efforts. Ensuring that ML techniques are used responsibly, prioritizing patient well-being, privacy, and equitable outcomes is imperative.

In conclusion, our study sheds light on the potential of ML algorithms in predicting suicide risk. However, further research is needed to refine and validate these algorithms across different datasets and risk factors. By understanding the complexities of suicide and leveraging the power of ML, we can work towards more effective strategies for suicide prevention and intervention.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Acknowledgements

The authors would like to thank Mohammad Hossein Mehrolhassani for his collaboration in this research.

Authors' contributions

Houriyeh Ehtemam: Conceptualization, Investigation, Methodology, Writing – original draft, Data management, Visualization, Meta-analysis & Meta-synthesis. Shabnam Sadeghi Esfahlani: Writing – review & editing. Alireza Sanaei: Meta-analysis. Mohammad Mehdi Ghaemi: Supervision. Sadrieh Hajesmaeel-Gohari: Writing – review & editing. Rohaneh Rahimisadegh: Writing – review & editing, Validation. Kambiz Bahaadinbeigy: Supervision. Fahimeh Ghasemian: editing. Hassan Shirvani: Review, Editing and Supervision.

Funding

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Availability of data and materials

All data generated or analysed during this study are included in this published article.

Declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

References

1. Organization WH Live life: preventing suicide: implementation 2022 World Health Organization
2. Furqatovich UF Sattorovich EZ Suicide–as a global problem facing humanity Web Scientist: Int Sci Res J 2022 3 02 349 54
3. Reddy M Suicide incidence and epidemiology 2010 New Delhi, IndiaSAGE Publications Sage India77 82 10.4103/0253-7176.78501 PMC3122543 21716862
4. Diefenbach GJ Uncovering the role of substance use in suicide attempts using a mixed-methods approach Suicide Life-Threatening Behav 2024 54 1 70 82 10.1111/sltb.13019 37987548
5. Cao Z Healthy lifestyle and the risk of depression recurrence requiring hospitalisation and mortality among adults with pre-existing depression: a prospective cohort study BMJ Mental Health 2024 27 1 e300915 10.1136/bmjment-2023-300915 38589227 PMC11015220
6. Brådvik L Suicide risk and Mental disorders Int J Environ Res Public Health 2018 15 9 2028 10.3390/ijerph15092028 30227658 PMC6165520
7. Fonseka TM Bhat V Kennedy SH The utility of artificial intelligence in suicide risk prediction and the management of suicidal behaviors Aust N Z J Psychiatry 2019 53 10 954 64 10.1177/0004867419864428 31347389
8. Pluye P, Cargo RE, Bartlett M, O’Cathain G, Griffiths A. F. A Mixed Methods Appraisal Tool for systematic mixed studies reviews 2011. November 15, 2013]; http://mixedmethodsappraisaltoolpublic.pbworks.com.
9. Amini P Evaluating the high risk groups for suicide: a comparison of logistic regression, support vector machine, decision Tree and Artificial neural network Iran J Public Health 2016 45 9 1179 87 27957463 PMC5149472
10. Lindesay J. Suicide in the elderly. Int J Geriatr Psychiatry. 1991;6(6):355–61. 10.1002/gps.930060605.
11. Ormiston CK Trends in adolescent suicide by Method in the US, 1999–2020 JAMA Netw Open 2024 7 3 e244427 244427 10.1001/jamanetworkopen.2024.4427 38551558 PMC10980967
12. Schunk DH Meece JL Self-efficacy development in adolescence Self-efficacy Beliefs Adolescents 2006 5 1 71 96
13. O’Dea D Tucker S The cost of suicide to society 2005 WellingtonMinistry of Health
14. Clayton D Barceló A The cost of suicide mortality in New Brunswick, 1996 Chronic Dis Injuries Can 1999 20 2 89 10455041
15. Kennelly B The economic cost of suicide in Ireland Crisis 2007 28 2 89 94 10.1027/0227-5910.28.2.89 17722690
16. Kayikci S Khoshgoftaar TM Blockchain meets machine learning: a survey J Big Data 2024 11 1 9 10.1186/s40537-023-00852-y
17. Love BC Comparing supervised and unsupervised category learning Psychon Bull Rev 2002 9 4 829 35 10.3758/BF03196342 12613690
18. Mendes-Santos C Understanding mental health professionals’ perspectives and practices regarding the implementation of digital mental health: qualitative study 2022 JMIR formative researche32558 10.2196/32558 PMC9044148 35412459
19. Bucci S Schwannauer M Berry N The digital revolution and its impact on mental health care Psychol Psychotherapy: Theory Res Pract 2019 92 2 277 97 10.1111/papt.12222 30924316
20. Bucci S, Berry N, Morris R, Berry K, Haddock G, Lewis S, Edge D. They are not hard-to-reach clients. We have just got hard-to-reach services. Staff views of digital health tools in specialist mental health services. Front Psychiatr. 2019;10:344. 10.3389/fpsyt.2019.00344. 10.3389/fpsyt.2019.00344 PMC6524662 31133906
21. Fonseka TM Bhat V Kennedy SH The utility of artificial intelligence in suicide risk prediction and the management of suicidal behaviors Australian New Z J Psychiatry 2019 53 10 954 64 10.1177/0004867419864428 31347389
22. Freeman MF Tukey JW Transformations related to the angular and the Square Root Ann Math Stat 1950 21 4 607 11 10.1214/aoms/1177729756
23. DerSimonian R Laird N Meta-analysis in clinical trials Control Clin Trials 1986 7 3 177 88 10.1016/0197-2456(86)90046-2 3802833
24. Bai S Potential biomarkers for diagnosing major depressive disorder patients with suicidal ideation J Inflamm Res 2021 14 495 503 10.2147/JIR.S297930 33654420 PMC7910095
25. Coley RY Racial/Ethnic disparities in the performance of Prediction models for death by suicide after Mental Health visits JAMA Psychiatry 2021 78 7 726 34 10.1001/jamapsychiatry.2021.0493 33909019 PMC8082428
26. Hanley JA McNeil BJ The meaning and use of the area under a receiver operating characteristic (ROC) curve Radiology 1982 143 1 29 36 10.1148/radiology.143.1.7063747 7063747
27. Ting KM Sammut C Webb GI Precision and Recall Encyclopedia of machine learning 2010 Boston, MASpringer US781 781
28. Baratloo A, Hosseini M, Negida A, El Ashal G. Part 1: simple definition and calculation of accuracy, sensitivity and specificity. Emerg (Tehran). 2015 Spring;3(2):48–9. PMC4614595 26495380
29. Riffenburgh RH Statistics in medicine 2012 Academic
30. Jiang T Suicide prediction among men and women with depression: a population-based study J Psychiatr Res 2021 142 275 82 10.1016/j.jpsychires.2021.08.003 34403969 PMC8456450
31. Edgcomb JB Machine learning to differentiate risk of suicide attempt and self-harm after General Medical hospitalization of Women with Mental Illness Med Care 2021 59 S58 64 10.1097/MLR.0000000000001467 33438884 PMC7810157
32. de Beurs D A network perspective on suicidal behavior: understanding suicidality as a complex system Suicide Life-Threatening Behav 2021 51 1 115 26 10.1111/sltb.12676 PMC7986393 33624872
33. Burke TA Ammerman BA Jacobucci R The use of machine learning in the study of suicidal and non-suicidal self-injurious thoughts and behaviors: a systematic review J Affect Disord 2019 245 869 84 10.1016/j.jad.2018.11.073 30699872
34. Chahar R Dubey AK Narang SK A review and meta-analysis of machine intelligence approaches for mental health issues and depression detection Int J Adv Technol Eng Explor 2021 8 83 1279
35. Christodoulou E A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models J Clin Epidemiol 2019 110 12 22 10.1016/j.jclinepi.2019.02.004 30763612
36. Zheng S Can cognition help predict suicide risk in patients with major depressive disorder? A machine learning study BMC Psychiatry 2022 22 1 580 10.1186/s12888-022-04223-4 36050667 PMC9434973
37. Castillo-Sánchez G Suicide risk Assessment using machine learning and Social Networks: a scoping review J Med Syst 2020 44 12 205 10.1007/s10916-020-01669-5 33165729 PMC7649702
38. Bernert RA, Hilberg AM, Melia R, Kim JP, Shah NH, Abnousi F. Artificial intelligence and suicide prevention: A systematic review of machine learning investigations. Int J Environ Res Public Health. 2020;17(16):5929. 10.3390/ijerph17165929. 10.3390/ijerph17165929 PMC7460360 32824149
39. Corke M Meta-analysis of the strength of exploratory suicide prediction models; from clinicians to computers BJPsych Open 2021 7 1 e26 10.1192/bjo.2020.162 33407984 PMC8058929
40. Kumar P, Chauhan R, Stephan T, Shankar A, Thakur S. A Machine learning implementation for mental health care. Application: Smart Watch for depression detection. 2021 11th international conference on cloud computing, data science & engineering (Confluence), Noida, India, 2021. p. 568–574. 10.1109/Confluence51648.2021.9377199.
41. Belsher BE Prediction models for suicide attempts and deaths: a systematic review and Simulation JAMA Psychiatry 2019 76 6 642 51 10.1001/jamapsychiatry.2019.0174 30865249
42. Cho S-E Geem ZW Na K-S Development of a suicide prediction model for the Elderly using Health Screening Data Int J Environ Res Public Health 2021 18 19 10150 10.3390/ijerph181910150 34639457 PMC8507921
43. Edgcomb JB Predicting suicidal behavior and self-harm after general hospitalization of adults with serious mental illness J Psychiatr Res 2021 136 515 21 10.1016/j.jpsychires.2020.10.024 33218748 PMC8009812
44. Hughes JL Suicide in young people: screening, risk assessment, and intervention BMJ 2023 381 e070630 10.1136/bmj-2022-070630 37094838 PMC11741005
45. Fradera M Can routine primary Care records help in detecting suicide risk? A Population-based case-control study in Barcelona Archives Suicide Res 2022 26 3 1395 409 10.1080/13811118.2021.1911894 33896400
46. Choi SB Ten-year prediction of suicide death using Cox regression and machine learning in a nationwide retrospective cohort study in South Korea J Affect Disord 2018 231 8 14 10.1016/j.jad.2018.01.019 29408160
47. Chattopadhyay S Daneshgar F A study on suicidal risks in psychiatric adults Int J BioMed Eng Technol 2011 5 4 390 408 10.1504/IJBET.2011.039928
48. Chang HB The role of substance use, smoking, and inflammation in risk for suicidal behavior J Affect Disord 2019 243 33 41 10.1016/j.jad.2018.09.005 30223137 PMC6241516
49. Sareen J Anxiety disorders and risk for suicidal ideation and suicide attempts: a Population-based longitudinal study of adults Arch Gen Psychiatry 2005 62 11 1249 57 10.1001/archpsyc.62.11.1249 16275812
50. Choi J, Cho S, Ko I, Han S. Identification of risk factors for suicidal ideation and attempt based on machine learning algorithms: A longitudinal survey in Korea (2007-2019). Int J Environ Res Public Health. 2021;18(23):12772. 10.3390/ijerph182312772. 10.3390/ijerph182312772 PMC8657265 34886497
51. Schilling EA Adolescent alcohol use, suicidal ideation, and suicide attempts J Adolesc Health 2009 44 4 335 41 10.1016/j.jadohealth.2008.08.006 19306791
52. Smith JC Mercy JA Conn JM Marital status and the risk of suicide Am J Public Health 1988 78 1 78 80 10.2105/AJPH.78.1.78 3337311 PMC1349216
53. Berkelmans G Identifying socio-demographic risk factors for suicide using data on an individual level BMC Public Health 2021 21 1 1702 10.1186/s12889-021-11743-3 34537046 PMC8449910
54. Troisi A Cholesterol in coronary heart disease and psychiatric disorders: same or opposite effects on morbidity risk? Neurosci Biobehavioral Reviews 2009 33 2 125 32 10.1016/j.neubiorev.2008.09.003 18824194
55. Loas G Relationships between Anhedonia, alexithymia, impulsivity, suicidal ideation, recent suicide attempt, C-reactive protein and serum lipid levels among 122 inpatients with mood or anxious disorders Psychiatry Res 2016 246 296 302 10.1016/j.psychres.2016.09.056 27744231
56. Ma YJ, Zhou YJ, Wang DF, Li Y, Wang DM, Liu TQ, Zhang XY. Association of lipid profile and suicide attempts in a large sample of first episode drug-naive patients with major depressive disorder. Front Psychiatr. 2020;11:543632. 10.3389/fpsyt.2020.543632. 10.3389/fpsyt.2020.543632 PMC7561363 33132931
57. Barzilay S Determinants and predictive value of Clinician Assessment of short-term suicide risk Suicide Life-Threatening Behav 2019 49 2 614 26 10.1111/sltb.12462 29665120
58. Castillo-Sánchez G, Acosta MJ, Garcia-Zapirain B, De la Torre I, Franco-Martín M. Application of machine learning techniques to help in the feature selection related to hospital readmissions of suicidal behavior. Int J Ment Health Addict. 2022;18:1–22. 10.1007/s11469-022-00868-0. Epub ahead of print. 10.1007/s11469-022-00868-0 PMC9294773 35873865
59. Alexopoulos GS Modifiable predictors of suicidal ideation during psychotherapy for late-life major depression. A machine learning approach Translational Psychiatry 2021 11 1 536 10.1038/s41398-021-01656-5 34663787 PMC8523563
60. Balbuena LD Identifying long-term and imminent suicide predictors in a general population and a clinical sample with machine learning BMC Psychiatry 2022 22 1 120 10.1186/s12888-022-03702-y 35168594 PMC8848909
61. Ballester PL 5-year incidence of suicide-risk in youth: a gradient tree boosting and SHAP study J Affect Disord 2021 295 1049 56 10.1016/j.jad.2021.08.033 34706413
62. Barak-Corren Y Predicting suicidal behavior from longitudinal electronic health records Am J Psychiatry 2017 174 2 154 62 10.1176/appi.ajp.2016.16010077 27609239
63. Bhak Y Depression and suicide risk prediction models using blood-derived multi-omics data Translational Psychiatry 2019 9 1 262 10.1038/s41398-019-0595-2 31624227 PMC6797735
64. Cho S-E Geem ZW Na K-S Prediction of suicide among 372,813 individuals under medical check-up J Psychiatr Res 2020 131 9 14 10.1016/j.jpsychires.2020.08.035 32906052
65. Choi KS Deep graph neural network-based prediction of acute suicidal ideation in young adults Sci Rep 2021 11 1 1 11 34349156 10.1038/s41598-021-95102-7 PMC8338980
66. Etter DJ Suicide screening in primary care: use of an electronic screener to assess suicidality and improve Provider Follow-Up for adolescents J Adolesc Health 2018 62 2 191 7 10.1016/j.jadohealth.2017.08.026 29195764 PMC6288792
67. Ge F, Jiang J, Wang Y, Yuan C, Zhang W. Identifying suicidal ideation among Chinese patients with major depressive disorder: Evidence from a real-world hospital-based study in China. Neuropsychiatr Dis Treat. 2020;16:665–72. 10.2147/NDT.S238286. 10.2147/NDT.S238286 PMC7061409 32184605
68. Hill RM Oosterhoff B Do C Using machine learning to identify suicide risk: a classification tree approach to prospectively identify adolescent suicide attempters Archives Suicide Res 2020 24 2 218 35 10.1080/13811118.2019.1615018 31079565
69. Kim S Lee H-K Lee K Detecting suicidal risk using MMPI-2 based on machine learning algorithm Sci Rep 2021 11 1 15310 10.1038/s41598-021-94839-5 34321546 PMC8319391
70. Haroz EE Comparing the predictive value of screening to the use of electronic health record data for detecting future suicidal thoughts and behavior in an urban pediatric emergency department: A preliminary analysis 2021 Suicide and Life-Threatening Behavior1189 202 10.1111/sltb.12800 PMC8961462 34515351
71. Melhem NM Severity and variability of depression symptoms Predicting suicide attempt in high-risk individuals JAMA Psychiatry 2019 76 6 603 13 10.1001/jamapsychiatry.2018.4513 30810713 PMC6551844
72. Machado CdS Prediction of suicide attempts in a prospective cohort study with a nationally representative sample of the US population Psychol Med 2021 52 14 2985 96 10.1017/S0033291720004997 33441206
73. Miranda O DeepBiomarker: identifying important lab tests from Electronic Medical Records for the prediction of suicide-related events among PTSD patients J Personalized Med 2022 12 4 524 10.3390/jpm12040524 PMC9025406 35455640
74. Zheng L Development of an early-warning system for high-risk patients for suicide attempt using deep learning and electronic health records Translational Psychiatry 2020 10 1 72 10.1038/s41398-020-0684-2 32080165 PMC7033212
75. Zhu R Discriminating suicide attempters and Predicting suicide risk using altered frontolimbic resting-state functional connectivity in patients with bipolar II disorder Front Psychiatry 2020 11 597770 10.3389/fpsyt.2020.597770 33324262 PMC7725800
76. Setoyama D Plasma metabolites predict severity of depression and suicidal ideation in psychiatric patients-a multicenter pilot analysis PLoS ONE 2016 11 12 e0165267 10.1371/journal.pone.0165267 27984586 PMC5161310
77. van Mens K Predicting future suicidal behaviour in young adults, with different machine learning techniques: a population-based longitudinal study J Affect Disord 2020 271 169 77 10.1016/j.jad.2020.03.081 32479313
78. Su C Machine learning for suicide risk prediction in children and adolescents with electronic health records Translational Psychiatry 2020 10 1 413 10.1038/s41398-020-01100-0 33243979 PMC7693189
79. Forkmann T Interpersonal theory of suicide: prospective examination BJPsych Open 2020 6 5 e113 10.1192/bjo.2020.93 32958092 PMC7576651
80. Adams RS Sex-specific risk profiles for suicide among persons with Substance Use disorders in Denmark Addiction 2021 116 10 2882 92 10.1111/add.15455 33620758 PMC8459184
81. Barak-Corren Y Validation of an Electronic Health record–based suicide risk prediction modeling Approach across multiple Health Care systems JAMA Netw Open 2020 3 3 e201262 201262 10.1001/jamanetworkopen.2020.1262 32211868 PMC11136522
82. Barros J Suicide detection in Chile: proposing a predictive model for suicide risk in a clinical sample of patients with mood disorders Brazilian J Psychiatry 2016 39 1 11 10.1590/1516-4446-2015-1877 PMC7112738 27783715
83. Delgado-Gomez D Computerized adaptive test vs. decision trees: development of a support decision system to identify suicidal behavior J Affect Disord 2016 206 204 9 10.1016/j.jad.2016.07.032 27475891
84. Delgado-Gomez D Improving the accuracy of suicide attempter classification Artif Intell Med 2011 52 3 165 8 10.1016/j.artmed.2011.05.004 21696929
85. Delgado-Gomez D Suicide attempters classification: toward predictive models of suicidal behavior Neurocomputing 2012 92 3 8 10.1016/j.neucom.2011.08.033
86. DelPozo-Banos M Using neural networks with routine health records to identify suicide risk: feasibility study JMIR Mental Health 2018 5 2 e10144 10.2196/10144 29934287 PMC6035342
87. Gradus JL Predicting Sex-specific nonfatal suicide attempt risk using machine learning and data from Danish National registries Am J Epidemiol 2021 190 12 2517 27 10.1093/aje/kwab112 33877265 PMC8796814
88. Harman G Prediction of suicidal ideation and attempt in 9 and 10 year-old children using transdiagnostic risk features PLoS ONE 2021 16 5 e0252114 10.1371/journal.pone.0252114 34033672 PMC8148349
89. Navarro MC Machine Learning Assessment of Early Life Factors Predicting Suicide Attempt in adolescence or young adulthood JAMA Netw Open 2021 4 3 e211450 211450 10.1001/jamanetworkopen.2021.1450 33710292 PMC7955274
90. McKernan LC Outpatient Engagement and predicted risk of suicide attempts in Fibromyalgia Arthritis Care Res 2019 71 9 1255 63 10.1002/acr.23748 PMC6405325 30192068
Publication and source details

Original title: Role of machine learning algorithms in suicide risk prediction: a systematic review-meta analysis of clinical studies

Houriyeh Ehtemam; Shabnam Sadeghi Esfahlani; Alireza Sanaei; Mohammad Mehdi Ghaemi; Sadrieh Hajesmaeel-Gohari; Rohaneh Rahimisadegh; Kambiz Bahaadinbeigy; Fahimeh Ghasemian; Hassan Shirvani

BMC Medical Informatics and Decision Making · 2024

© The Author(s) 2024https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Repository JATS snapshot; version as supplied

Source retrieved: 2026-11-11T11:19:12.554114+00:00

DOI: 10.1186/s12911-024-02524-0 · PMC11129374