Accurate identification of persons at risk of suicide is challenging because suicide is a rare outcome with a multifactorial origin. The purpose of this study was to predict suicide among persons with depression using machine learning methods.
A case-cohort study was conducted in Denmark between January 1, 1995 and December 31, 2015. Cases were all persons who died by suicide and had an incident depression diagnosis in Denmark (n = 2,774). The comparison subcohort was a 5% random sample of all individuals in Denmark at baseline, restricted to persons with an incident depression diagnosis during the study period (n = 11,963). Classification trees and random forests were used to predict suicide.
In men with depression, there was a high risk of suicide among those who were prescribed other analgesics and antipyretics (i.e., non-opioid analgesics such as acetaminophen), prescribed hypnotics and sedatives, and diagnosed with a poisoning (n = 96; risk = 81%). In women with depression, there was an elevated risk of suicide among those who were prescribed other analgesics and antipyretics, anxiolytics, and hypnotics and sedatives, but were not diagnosed with poisoning nor cerebrovascular diseases (n = 338; risk = 58%).
Psychiatric disorders and their associated medications were strongly indicative of suicide risk. Notably, anti-inflammatory medications (e.g., acetaminophen) prescriptions, which are used to treat chronic pain and illnesses, were associated with suicide risk in persons with depression. Machine learning may advance our ability to predict suicide deaths.

Copyright © 2021. Published by Elsevier Ltd.

Author