Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-09T14:27:03.671Z Has data issue: false hasContentIssue false

Predicting involuntary hospitalization in psychiatry: A machine learning investigation

Published online by Cambridge University Press:  08 July 2021

Benedetta Silva*
Affiliation:
Community Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland Department of Health and Social Action (DSAS), Cantonal Medical Office, General Directorate for Health of Canton of Vaud, Lausanne, Switzerland
Mehdi Gholam
Affiliation:
Epidemiology and Psychopathology Research Unit, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland Ecole Polytechnique Fédérale de Lausanne EPFL, School of Basic Sciences, Institute of Mathematics, Lausanne, Switzerland
Philippe Golay
Affiliation:
Community Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland General Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland
Charles Bonsack
Affiliation:
Community Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland
Stéphane Morandi
Affiliation:
Community Psychiatry Service, Department of Psychiatry, Lausanne University Hospital and University of Lausanne, Lausanne, Switzerland Department of Health and Social Action (DSAS), Cantonal Medical Office, General Directorate for Health of Canton of Vaud, Lausanne, Switzerland
*
*Author for correspondence: Benedetta Silva, E-mail: benedetta.silva@chuv.ch

Abstract

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.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2021. Published by Cambridge University Press on behalf of the European Psychiatric Association
Figure 0

Table 1. Socio-demographic, clinical, and referral process characteristics: subgroups comparisons (N = 25,584).

Figure 1

Table 2. Comparison of models’ validity.

Figure 2

Figure 1. Classification and Regression Tree to predict involuntary hospitalizations on 70% of observations chosen randomly from completely observed sample (N = 10,464).Note: VH, voluntary hospitalization; IH, involuntary hospitalization. HoNOS scores: 0 = no problem; 1 = minor problem requiring no action; 2 = mild problem but definitely present; 3 = moderately severe problem; 4 = severe to very severe problem. Referral from: 1 = Patient; 2 = Family/relatives; 3 = General practitioner; 4 = General hospital; 5 = Outpatient psychiatrist; 6 = Psychiatric hospital; 7 = Civil justice/other justice authority; 8 = Other. Primary diagnosis: 1 = F00–F09; 2 = F10; 3 = F11–F19; 4 = F20–F29; 5 = F30–F31; 6 = F32–F39; 7 = F40–F48; 8 = F60–F69; 9 = Other mental disorders; 10 = Other non-mental disorders.

Figure 3

Figure 2. Mean decrease in accuracy and mean decrease in Gini coefficients (sorted decreasingly) in Random Forests model.

Figure 4

Table 3. Predictors of involuntary hospitalization: logistic regression analysis on 70% of observations chosen randomly from completely observed sample (N = 10,464).

Supplementary material: File

Silva et al. supplementary material

Silva et al. supplementary material

Download Silva et al. supplementary material(File)
File 17.7 KB
Submit a response

Comments

No Comments have been published for this article.