A machine learning model to predict the risk of depression in US adults with obstructive sleep apnea hypopnea syndrome: a cross-sectional study
Authors:
Open Access
- 8 January 2024
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Public Health
- Vol. 11, 1348803
Abstract
Objective: Depression is very common and harmful in patients with obstructive sleep apnea hypopnea syndrome (OSAHS). It is necessary to screen OSAHS patients for depression early. However, there are no validated tools to assess the likelihood of depression in patients with OSAHS. This study used data from the National Health and Nutrition Examination Survey (NHANES) database and machine learning (ML) methods to construct a risk prediction model for depression, aiming to predict the probability of depression in the OSAHS population. Relevant features were analyzed and a nomogram was drawn to visually predict and easily estimate the risk of depression according to the best performing model.Study design: This is a cross-sectional study.Methods: Data from three cycles (2005–2006, 2007–2008, and 2015–2016) were selected from the NHANES database, and 16 influencing factors were screened and included. Three prediction models were established by the logistic regression algorithm, least absolute shrinkage and selection operator (LASSO) algorithm, and random forest algorithm, respectively. The receiver operating characteristic (ROC) area under the curve (AUC), specificity, sensitivity, and decision curve analysis (DCA) were used to assess evaluate and compare the different ML models.Results: The logistic regression model had lower sensitivity than the lasso model, while the specificity and AUC area were higher than the random forest and lasso models. Moreover, when the threshold probability range was 0.19–0.25 and 0.45–0.82, the net benefit of the logistic regression model was the largest. The logistic regression model clarified the factors contributing to depression, including gender, general health condition, body mass index (BMI), smoking, OSAHS severity, age, education level, ratio of family income to poverty (PIR), and asthma.Conclusion: This study developed three machine learning (ML) models (logistic regression model, lasso model, and random forest model) using the NHANES database to predict depression and identify influencing factors among OSAHS patients. Among them, the logistic regression model was superior to the lasso and random forest models in overall prediction performance. By drawing the nomogram and applying it to the sleep testing center or sleep clinic, sleep technicians and medical staff can quickly and easily identify whether OSAHS patients have depression to carry out the necessary referral and psychological treatment.Keywords
This publication has 62 references indexed in Scilit:
- Obstructive Sleep Apnea and the Subsequent Risk of Depressive Disorder: A Population-Based Follow-up StudyJournal of Clinical Sleep Medicine, 2013
- Severity of depression and anxiety in obstructive sleep apnea syndromeEuropean Archives of Oto-Rhino-Laryngology, 2012
- Age- and gender-specific prevalence and risk factors for depressive symptoms in the elderly: a population-based studyInternational Psychogeriatrics, 2011
- Obstructive sleep apnea and depressionSleep Medicine Reviews, 2009
- Depression and anxiety in obstructive sleep apnea syndrome: a reviewActa Neurologica Scandinavica, 2007
- No health without mental healthThe Lancet, 2007
- Longitudinal Association of Sleep-Related Breathing Disorder and DepressionArchives of internal medicine (1960), 2006
- The many C’s of primary careJournal of General Internal Medicine, 2004
- The PHQ-9Journal of General Internal Medicine, 2001
- Depression and smoking initiation among US LatinosAddiction, 1996