Welcome to Psychiatryai.com: Latest Evidence - RAISR4D

Estimated reading time for CME/CPD: 2 mins

Machine learning classification of recorded suicide attempts in the Spanish prison population using non-clinical administrative variables: A cross-sectional study

AI Summary
  • A blended ensemble using routine administrative data distinguished inmates with recorded suicide attempts, achieving an AUC-ROC of 0.91.
  • Self-harm records and enrolment in the suicide prevention programme were the most influential features; without them, discrimination was moderate.
  • Because predictors may follow the attempt, prospective, time-indexed studies are needed before these models can anticipate future attempts.
Summarise with AI (MRCPsych/FRANZCP)

J Psychiatr Res. 2026 Nov 13;204:787-798. doi: 10.1016/j.jpsychires.2026.11.038. Online ahead of print.

ABSTRACT

INTRODUCTION: Suicide accounts for approximately 34.8% of deaths in Spanish prisons, yet prevention relies largely on clinical assessments that require scarce specialised staff. Prisons routinely collect non-medical administrative data that remain underused for prevention. This cross-sectional study examined whether machine learning models applied to such data can distinguish inmates with and without a recorded suicide attempt.

METHODS: We analysed ten monthly snapshots (May 2024-February 2025) of the Spanish central penitentiary information system and the records of 258 deaths by suicide (descriptive sample: 66,124 inmates). The classification target was a suicide attempt recorded in the preceding 24 months (66,004 inmates, 788 with an attempt). Predictors and outcome came from the same records, so no prediction index time was defined. After feature engineering and selection, a blended ensemble was trained on an undersampled sample and evaluated on a held-out test set; sensitivity analyses removed self-harm and suicide prevention programme indicators.

RESULTS: The ensemble achieved an AUC-ROC of 0.91 (95% CI 0.89-0.94), with recall 0.67 and precision 0.75 at a 0.23 test base rate; at the cohort prevalence (1.2%), the positive predictive value was 0.12. Self-harm records and enrolment in the suicide prevention programme were the most influential features; without them, discrimination was moderate (AUC-ROC 0.78).

CONCLUSION: Routinely recorded administrative data distinguish inmates with a recorded suicide attempt, largely through indicators that may follow the attempt. Prospective, time-indexed studies are needed before such models can be used to anticipate future suicide attempts.

PMID:43103177 | DOI:10.1016/j.jpsychires.2026.11.038

Document this CPD

Share Evidence Blueprint

QR Code

Save to Google Notes

Search Google Scholar

⭐ My Revision List

close chatgpt icon
ChatGPT

Enter your request.

← →
RAISR4D CME/CPD Evidence Nodes
Swipe to navigate RAISR4D CME/CPD evidence nodes.
CME/CPD