Predicting Risk of Suicide Attempts Over Time Through Machine Learning
The DOI matches its Crossref record; 26 of the 26 references it cites were found in a registry or an index.
Abstract
Traditional approaches to the prediction of suicide attempts have limited the accuracy and scale of risk detection for these dangerous behaviors. We sought to overcome these limitations by applying machine learning to electronic health records within a large medical database. Participants were 5,167 adult patients with a claim code for self-injury (i.e., ICD-9, E95x); expert review of records determined that 3,250 patients made a suicide attempt (i.e., cases), and 1,917 patients engaged in self-injury that was nonsuicidal, accidental, or nonverifiable (i.e., controls). We developed machine learning algorithms that accurately predicted future suicide attempts (AUC = 0.84, precision = 0.79, recall = 0.95, Brier score = 0.14). Moreover, accuracy improved from 720 days to 7 days before the suicide attempt, and predictor importance shifted across time. These findings represent a step toward accurate and scalable risk detection and provide insight into how suicide attempt risk shifts over time.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
R: A Language and Environment for Statistical Computing
R Core Team (2025) · doi:10.32614/r.manuals · Cited by 352,181
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016
The Elements of Statistical Learning
Hastie, T., Friedman, J., & Tibshirani, R. (2001) · Springer Series in Statistics · doi:10.1007/978-0-387-21606-5 · Cited by 24,162
Harrell, F. E. (2001) · Springer Series in Statistics · doi:10.1007/978-1-4757-3462-1 · Cited by 9,195
Supervised Machine Learning: A Review of Classification Techniques
Kotsiantis, S. B. (2007) · Informatica · Cited by 6,169
IPython: A System for Interactive Scientific Computing
Perez, F., & Granger, B. E. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.53 · Cited by 4,009
Risk factors for suicidal thoughts and behaviors: A meta-analysis of 50 years of research
Franklin, J. C., Ribeiro, J. D., Fox, K. R., Bentley, K. H., Kleiman, E. M., Huang, X., Musacchio, K. M., Jaroszewski, A. C., Chang, B. P., & Nock, M. K. (2017) · Psychological Bulletin · doi:10.1037/bul0000084 · Cited by 3,784
Self-citationArea Deprivation and Widening Inequalities in US Mortality, 1969–1998
Singh, G. K. (2003) · American Journal of Public Health · doi:10.2105/ajph.93.7.1137 · Cited by 1,423
Ribeiro, J. D., Franklin, J. C., Fox, K. R., Bentley, K. H., Kleiman, E. M., Chang, B. P., & Nock, M. K. (2016) · Psychological Medicine · doi:10.1017/s0033291715001804 · Cited by 1,346 · cited 4×
“Second, given the importance of prior suicidal behaviors in future suicidal behavior (see Ribeiro et al., 2016a), one possibility is that the present approach would be more effective for individuals with a documented history of prior suicidal behaviors.”
BackgroundResultInfluentialSelf-citationTowards an integrated motivational–volitional model of suicidal behaviour
O'connor, R. C. (2011) · International Handbook of Suicide Prevention · doi:10.1002/9781119998556.ch11 · Cited by 552 · cited 2×
“Although short-term risk is a major part of many suicide theories (e.g., O’Connor, 2011; Wenzel & Beck, 2008) and a major focus of clinical guidelines (e.g., Rudd et al., 2006), few studies have examined short-term risk for suicide attempts.”
BackgroundWarning signs for suicide: theory, research, and clinical applications
Rudd, M. D., Berman, A. L., Joiner, T. E., Nock, M. K., Silverman, M. M., Mandrusiak, M., Van Orden, K., & Witte, T. (2006) · Suicide and Life-Threatening Behavior · doi:10.1521/suli.2006.36.3.255 · Cited by 548
A cognitive model of suicidal behavior: theory and treatment
Wenzel, A., & Beck, A. T. (2008) · Applied and Preventive Psychology · doi:10.1016/j.appsy.2008.05.001 · Cited by 491 · cited 3×
“Given the substantial overlap between risk factors for these behaviors and suicidal behaviors (Fox et al., 2015; Franklin et al., 2017; Neeleman, 2001; Wenzel & Beck, 2008), we expected this control group to provide a rigorous test of ML algorithm performance.”
BackgroundBentley, K. H., Franklin, J. C., Ribeiro, J. D., Kleiman, E. M., Fox, K. R., & Nock, M. K. (2016) · Clinical Psychology Review · doi:10.1016/j.cpr.2015.11.008 · Cited by 422
Self-citationCorrecting for Optimistic Prediction in Small Data Sets
Smith, G. C. S., Seaman, S. R., Wood, A. M., Royston, P., & White, I. R. (2014) · American Journal of Epidemiology · doi:10.1093/aje/kwu140 · Cited by 352
Ribeiro, J. D., Pease, J. L., Gutierrez, P. M., Silva, C., Bernert, R. A., Rudd, M. D., & Joiner, T. E. (2012) · Journal of Affective Disorders · doi:10.1016/j.jad.2011.09.049 · Cited by 304 · cited 1×
“The shortest term study to our knowledge included a follow-up interval of 1 month (Ribeiro et al., 2012); the second shortest included a follow-up interval of 6 months (Cha, Najmi, Park, Finn, & Nock, 2010).”
BackgroundSelf-citationAttentional bias toward suicide-related stimuli predicts suicidal behavior
Cha, C. B., Najmi, S., Park, J. M., Finn, C. T., & Nock, M. K. (2010) · Journal of Abnormal Psychology · doi:10.1037/a0019710 · Cited by 303
A comparison of models for predicting early hospital readmissions
Futoma, J., Morris, J., & Lucas, J. (2015) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2015.05.016 · Cited by 283
On safari to Random Jungle: a fast implementation of Random Forests for high-dimensional data
Schwarz, D. F., König, I. R., & Ziegler, A. (2010) · Bioinformatics · doi:10.1093/bioinformatics/btq257 · Cited by 269
Multiple imputation for nonresponse in surveys
(1990) · Computers, Environment and Urban Systems · doi:10.1016/0198-9715(90)90061-w · Cited by 254
Mann, J. J., Ellis, S. P., Waternaux, C. M., Liu, X., Oquendo, M. A., Malone, K. M., Brodsky, B. S., Haas, G. L., & Currier, D. (2008) · The Journal of Clinical Psychiatry · doi:10.4088/jcp.v69n0104 · Cited by 149
Biological risk factors for suicidal behaviors: a meta-analysis
Chang, B. P., Franklin, J. C., Ribeiro, J. D., Fox, K. R., Bentley, K. H., Kleiman, E. M., & Nock, M. K. (2016) · Translational Psychiatry · doi:10.1038/tp.2016.165 · Cited by 113
Self-citationAustin, P. C., Lee, D. S., Steyerberg, E. W., & Tu, J. V. (2012) · Biometrical Journal · doi:10.1002/bimj.201100251 · Cited by 79
Neeleman, J. (2001) · International Journal of Epidemiology · doi:10.1093/ije/30.1.154 · Cited by 79 · cited 1×
“Given the substantial overlap between risk factors for these behaviors and suicidal behaviors (Fox et al., 2015; Franklin et al., 2017; Neeleman, 2001; Wenzel & Beck, 2008), we expected this control group to provide a rigorous test of ML algorithm performance.”
BackgroundVan Calster, B., Vickers, A. J., Pencina, M. J., Baker, S. G., Timmerman, D., & Steyerberg, E. W. (2013) · Medical Decision Making · doi:10.1177/0272989x12470757 · Cited by 76
Ribeiro, J. D., Franklin, J. C., Fox, K. R., Bentley, K. H., Kleiman, E. M., Chang, B., & Nock, M. K. (2016) · Psychological Medicine · doi:10.1017/s0033291716000611 · Cited by 63
Self-citationAmalakuhan, B., Kiljanek, L., Parvathaneni, A., Hester, M., Cheriyath, P., & Fischman, D. (2012) · Journal of Community Hospital Internal Medicine Perspectives · doi:10.3402/jchimp.v2i1.9915 · Cited by 59
Cited by
High-performance medicine: the convergence of human and artificial intelligence
Topol, E. J. (2019) · Nature Medicine · doi:10.1038/s41591-018-0300-7 · Cited by 10,450
The integrated motivational–volitional model of suicidal behaviour
O'Connor, R. C., & Kirtley, O. J. (2018) · Philosophical Transactions of the Royal Society B: Biological Sciences · doi:10.1098/rstb.2017.0268 · Cited by 1,781
Artificial intelligence, bias and clinical safety
Challen, R., Denny, J., Pitt, M., Gompels, L., Edwards, T., & Tsaneva-Atanasova, K. (2019) · BMJ Quality & Safety · doi:10.1136/bmjqs-2018-008370 · Cited by 956
Ribeiro, J. D., Huang, X., Fox, K. R., & Franklin, J. C. (2018) · British Journal of Psychiatry · doi:10.1192/bjp.2018.27 · Cited by 894
Self-citationSupervised Machine Learning: A Brief Primer
Jiang, T., Gradus, J. L., & Rosellini, A. J. (2020) · Behavior Therapy · doi:10.1016/j.beth.2020.05.002 · Cited by 847
Metadata
- Authors
- Walsh, C. G., Ribeiro, J. D., & Franklin, J. C.
- Venue
- Clinical Psychological Science
- Publisher
- SAGE Publications
- Published
- 2017-04-11
- Volume
- 5
- Issue
- 3
- Pages
- 457-469
- ISSN
- 2167-7026 (ISSN-L)
- 2167-7034
- OpenAlex
- W2605512411
- Cited by
- 567
- References
- 26
- FWCI
- 64.17
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.