Prediction of Suicidal Thoughts and Suicide Attempts in People Who Gamble Based on Biological-Psychological-Social Variables: A Machine Learning Study
- PMID: 39466504
- DOI: 10.1007/s11126-024-10101-x
Prediction of Suicidal Thoughts and Suicide Attempts in People Who Gamble Based on Biological-Psychological-Social Variables: A Machine Learning Study
Abstract
Recent research has shown that people who gamble are more likely to have suicidal thoughts and attempts compared to the general population. Despite the advancements made, no study to date has predicted suicide risk factors in people who gamble using machine learning algorithms. Therefore, current study aimed to identify the most critical predictors of suicidal ideation and suicidal attempts among people who gamble using a machine learning approach. An online survey conducted a cross-sectional analysis of 741 people who gamble (mean age: 25.9 ± 5.56). To predict the risk of suicide attempts and ideation, we employed a comprehensive set of 40 biological, psychological, social, and socio-demographic variables. The predictive models were developed using Logistic Regression, Random Forest (RF), robust eXtreme Gradient Boosting (XGBoost), and ensemble machine learning algorithms. Data analysis was performed using R-Studio software. Random Forest emerged as the top-performing algorithm for predicting suicidal ideation, with an impressive AUC of 0.934, sensitivity of 0.7514, specificity of 0.9885, PPV of 0.9473, and NPV of 0.9347. Across all models, dissociation, depression, and anxiety symptoms consistently emerged as crucial predictors of suicidal ideation. However, for suicide attempt prediction, all models exhibited weaker performance. XGBoost showed the best performance in this regard, with an AUC of 0.663, sensitivity of 0.78, specificity of 0.8990, PPV of 0.34, NPV of 0.984, and accuracy of 0.8918. Depressive symptoms and rumination severity were highlighted as the most important predictors of suicide attempts according to this model. These findings have important implications for clinical practice and public health interventions. Machine learning could help detect individuals prone to suicidal ideation and suicide attempts among people who gamble, assisting in creating tailored prevention programs to address future suicide risks more effectively.
Keywords: Addiction; Anxiety; Depression; Dissociative disorders; Gambling; Suicide; Supervised machine learning.
© 2024. The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature.
Conflict of interest statement
Similar articles
-
Using machine learning approach to predict suicide ideation and suicide attempts among Chinese adolescents: A cross-sectional study.J Affect Disord. 2025 Aug 1;382:591-601. doi: 10.1016/j.jad.2025.04.132. Epub 2025 Apr 25. J Affect Disord. 2025. PMID: 40288453
-
Predicting Suicidal Ideation Among Youths With Autism Spectrum Disorder: An Advanced Machine Learning Study.Clin Psychol Psychother. 2025 May-Jun;32(3):e70082. doi: 10.1002/cpp.70082. Clin Psychol Psychother. 2025. PMID: 40369905
-
Prediction of suicidal ideation in children and adolescents using machine learning and deep learning algorithm: A case study in South Korea where suicide is the leading cause of death.Asian J Psychiatr. 2023 Oct;88:103725. doi: 10.1016/j.ajp.2023.103725. Epub 2023 Aug 6. Asian J Psychiatr. 2023. PMID: 37595385
-
Prevalence of depression, anxiety and suicide among men who have sex with men in China: a systematic review and meta-analysis.Epidemiol Psychiatr Sci. 2020 Jun 15;29:e136. doi: 10.1017/S2045796020000487. Epidemiol Psychiatr Sci. 2020. PMID: 32536353 Free PMC article.
-
The use of machine learning in the study of suicidal and non-suicidal self-injurious thoughts and behaviors: A systematic review.J Affect Disord. 2019 Feb 15;245:869-884. doi: 10.1016/j.jad.2018.11.073. Epub 2018 Nov 12. J Affect Disord. 2019. PMID: 30699872
Cited by
-
Early detection of mental health disorders using machine learning models using behavioral and voice data analysis.Sci Rep. 2025 May 13;15(1):16518. doi: 10.1038/s41598-025-00386-8. Sci Rep. 2025. PMID: 40360580 Free PMC article.
References
-
- Abela JR, Hankin BL. Handbook of depression in children and adolescents. Guilford Press; 2008.
-
- Ahuja M, Werner KB, Cunningham-Williams RM, Bucholz KK. Racial associations between Gambling and suicidal behaviors among Black and White adolescents and Young adults. Curr Addict Rep. 2021;8(2):246–54. https://doi.org/10.1007/s40429-021-00374-8 . - DOI - PubMed - PMC
-
- Ancillon L, Elgendi M, Menon C. Machine learning for anxiety detection using biosignals: a review. Diagnostics (Basel). 2022;12(8). https://doi.org/10.3390/diagnostics12081794 .
-
- Andreeva M, Audette-Chapdelaine S, Brodeur M. Gambling-related completed suicides: a scoping review. Addict Res Theory. 2022;30(6):391–402. - DOI
MeSH terms
LinkOut - more resources
Full Text Sources
Medical