Related Experiment Video
Updated: Oct 29, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predicting involuntary hospitalization in psychiatry: A machine learning investigation
Benedetta Silva1,2, Mehdi Gholam3,4, Philippe Golay1,5
1Community Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland.
Background:
Coercion in psychiatry is a controversial issue. Identifying its predictors and their interaction using traditional statistical methods is difficult, given the large number of variables involved. The purpose of this study was to use machine-learning (ML) models to identify socio-demographic, clinical and procedural characteristics that predict the use of compulsory admission on a large sample of psychiatric patients.
Methods:
We retrospectively analyzed the routinely collected data of all psychiatric admissions that occurred between 2013 and 2017 in the canton of Vaud, Switzerland (N = 25,584). The main predictors of involuntary hospitalization were identified using two ML algorithms: Classification and Regression Tree (CART) and Random Forests (RFs). Their predictive power was compared with that obtained through traditional logistic regression. Sensitivity analyses were also performed and missing data were imputed through multiple imputation using chain equations.
Results:
The three models achieved similar predictive balanced accuracy, ranging between 68 and 72%. CART showed the lowest predictive power (68%) but the most parsimonious model, allowing to estimate the probability of being involuntarily admitted with only three checks: aggressive behaviors, who referred the patient to hospital and primary diagnosis. The results of CART and RFs on the imputed data were almost identical to those obtained on the original data, confirming the robustness of our models.
Conclusions:
Identifying predictors of coercion is essential to efficiently target the development of professional training, preventive strategies and alternative interventions. ML methodologies could offer new effective tools to achieve this goal, providing accurate but simple models that could be used in clinical practice.
More Related Videos
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Steps in Outbreak Investigation
Psychosis: Goals of Pharmacotherapy