Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Dec;95(4):711-730.
doi: 10.1007/s11126-024-10101-x. Epub 2024 Oct 28.

Prediction of Suicidal Thoughts and Suicide Attempts in People Who Gamble Based on Biological-Psychological-Social Variables: A Machine Learning Study

Affiliations

Prediction of Suicidal Thoughts and Suicide Attempts in People Who Gamble Based on Biological-Psychological-Social Variables: A Machine Learning Study

Mohsen Mohajeri et al. Psychiatr Q. 2024 Dec.

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.

PubMed Disclaimer

Conflict of interest statement

Declarations Ethics Approval and Consent to Participate Written informed consent was achieved from all patients before the research procedures were operated. In addition, we informed them that they could leave the project whenever they wanted without any consequences. All methods were carried out following relevant guidelines and regulations or the declaration of Helsinki. Ethical review and approval were not required for the study on human participants in accordance with the local legislation and institutional requirements. Consent for Publication Not applicable. Conflict of Interest The authors declare no conflict of interest.

Similar articles

Cited by

References

    1. Abela JR, Hankin BL. Handbook of depression in children and adolescents. Guilford Press; 2008.
    1. 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
    1. 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. - DOI - PubMed - PMC
    1. 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 .
    1. Andreeva M, Audette-Chapdelaine S, Brodeur M. Gambling-related completed suicides: a scoping review. Addict Res Theory. 2022;30(6):391–402. - DOI

LinkOut - more resources