Cargando…
Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data
BACKGROUND: Suicide is a major public health concern globally. Accurately predicting suicidal behavior remains challenging. This study aimed to use machine learning approaches to examine the potential of the Swedish national registry data for prediction of suicidal behavior. METHODS AND FINDINGS: Th...
Autores principales: | , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7647056/ https://www.ncbi.nlm.nih.gov/pubmed/33156863 http://dx.doi.org/10.1371/journal.pmed.1003416 |
_version_ | 1783606878334353408 |
---|---|
author | Chen, Qi Zhang-James, Yanli Barnett, Eric J. Lichtenstein, Paul Jokinen, Jussi D’Onofrio, Brian M. Faraone, Stephen V. Larsson, Henrik Fazel, Seena |
author_facet | Chen, Qi Zhang-James, Yanli Barnett, Eric J. Lichtenstein, Paul Jokinen, Jussi D’Onofrio, Brian M. Faraone, Stephen V. Larsson, Henrik Fazel, Seena |
author_sort | Chen, Qi |
collection | PubMed |
description | BACKGROUND: Suicide is a major public health concern globally. Accurately predicting suicidal behavior remains challenging. This study aimed to use machine learning approaches to examine the potential of the Swedish national registry data for prediction of suicidal behavior. METHODS AND FINDINGS: The study sample consisted of 541,300 inpatient and outpatient visits by 126,205 Sweden-born patients (54% female and 46% male) aged 18 to 39 (mean age at the visit: 27.3) years to psychiatric specialty care in Sweden between January 1, 2011 and December 31, 2012. The most common psychiatric diagnoses at the visit were anxiety disorders (20.0%), major depressive disorder (16.9%), and substance use disorders (13.6%). A total of 425 candidate predictors covering demographic characteristics, socioeconomic status (SES), electronic medical records, criminality, as well as family history of disease and crime were extracted from the Swedish registry data. The sample was randomly split into an 80% training set containing 433,024 visits and a 20% test set containing 108,276 visits. Models were trained separately for suicide attempt/death within 90 and 30 days following a visit using multiple machine learning algorithms. Model discrimination and calibration were both evaluated. Among all eligible visits, 3.5% (18,682) were followed by a suicide attempt/death within 90 days and 1.7% (9,099) within 30 days. The final models were based on ensemble learning that combined predictions from elastic net penalized logistic regression, random forest, gradient boosting, and a neural network. The area under the receiver operating characteristic (ROC) curves (AUCs) on the test set were 0.88 (95% confidence interval [CI] = 0.87–0.89) and 0.89 (95% CI = 0.88–0.90) for the outcome within 90 days and 30 days, respectively, both being significantly better than chance (i.e., AUC = 0.50) (p < 0.01). Sensitivity, specificity, and predictive values were reported at different risk thresholds. A limitation of our study is that our models have not yet been externally validated, and thus, the generalizability of the models to other populations remains unknown. CONCLUSIONS: By combining the ensemble method of multiple machine learning algorithms and high-quality data solely from the Swedish registers, we developed prognostic models to predict short-term suicide attempt/death with good discrimination and calibration. Whether novel predictors can improve predictive performance requires further investigation. |
format | Online Article Text |
id | pubmed-7647056 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-76470562020-11-16 Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data Chen, Qi Zhang-James, Yanli Barnett, Eric J. Lichtenstein, Paul Jokinen, Jussi D’Onofrio, Brian M. Faraone, Stephen V. Larsson, Henrik Fazel, Seena PLoS Med Research Article BACKGROUND: Suicide is a major public health concern globally. Accurately predicting suicidal behavior remains challenging. This study aimed to use machine learning approaches to examine the potential of the Swedish national registry data for prediction of suicidal behavior. METHODS AND FINDINGS: The study sample consisted of 541,300 inpatient and outpatient visits by 126,205 Sweden-born patients (54% female and 46% male) aged 18 to 39 (mean age at the visit: 27.3) years to psychiatric specialty care in Sweden between January 1, 2011 and December 31, 2012. The most common psychiatric diagnoses at the visit were anxiety disorders (20.0%), major depressive disorder (16.9%), and substance use disorders (13.6%). A total of 425 candidate predictors covering demographic characteristics, socioeconomic status (SES), electronic medical records, criminality, as well as family history of disease and crime were extracted from the Swedish registry data. The sample was randomly split into an 80% training set containing 433,024 visits and a 20% test set containing 108,276 visits. Models were trained separately for suicide attempt/death within 90 and 30 days following a visit using multiple machine learning algorithms. Model discrimination and calibration were both evaluated. Among all eligible visits, 3.5% (18,682) were followed by a suicide attempt/death within 90 days and 1.7% (9,099) within 30 days. The final models were based on ensemble learning that combined predictions from elastic net penalized logistic regression, random forest, gradient boosting, and a neural network. The area under the receiver operating characteristic (ROC) curves (AUCs) on the test set were 0.88 (95% confidence interval [CI] = 0.87–0.89) and 0.89 (95% CI = 0.88–0.90) for the outcome within 90 days and 30 days, respectively, both being significantly better than chance (i.e., AUC = 0.50) (p < 0.01). Sensitivity, specificity, and predictive values were reported at different risk thresholds. A limitation of our study is that our models have not yet been externally validated, and thus, the generalizability of the models to other populations remains unknown. CONCLUSIONS: By combining the ensemble method of multiple machine learning algorithms and high-quality data solely from the Swedish registers, we developed prognostic models to predict short-term suicide attempt/death with good discrimination and calibration. Whether novel predictors can improve predictive performance requires further investigation. Public Library of Science 2020-11-06 /pmc/articles/PMC7647056/ /pubmed/33156863 http://dx.doi.org/10.1371/journal.pmed.1003416 Text en © 2020 Chen et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Chen, Qi Zhang-James, Yanli Barnett, Eric J. Lichtenstein, Paul Jokinen, Jussi D’Onofrio, Brian M. Faraone, Stephen V. Larsson, Henrik Fazel, Seena Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title | Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title_full | Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title_fullStr | Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title_full_unstemmed | Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title_short | Predicting suicide attempt or suicide death following a visit to psychiatric specialty care: A machine learning study using Swedish national registry data |
title_sort | predicting suicide attempt or suicide death following a visit to psychiatric specialty care: a machine learning study using swedish national registry data |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7647056/ https://www.ncbi.nlm.nih.gov/pubmed/33156863 http://dx.doi.org/10.1371/journal.pmed.1003416 |
work_keys_str_mv | AT chenqi predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT zhangjamesyanli predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT barnettericj predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT lichtensteinpaul predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT jokinenjussi predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT donofriobrianm predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT faraonestephenv predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT larssonhenrik predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata AT fazelseena predictingsuicideattemptorsuicidedeathfollowingavisittopsychiatricspecialtycareamachinelearningstudyusingswedishnationalregistrydata |