Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment

Abstract Background Cognitive impairment and depressive symptoms are prevalent and closely interrelated mental health issues in the elderly. Traditional methods for identifying depressive symptoms in this population often lack effectiveness. Machine learning provides a promising alternative for deve...

Full description

Saved in:
Bibliographic Details
Main Authors: Enguang Li, Fangzhu Ai, Qingyan Tian, Haocheng Yang, Ping Tang, Botang Guo
Format: Article
Language:English
Published: BMC 2025-03-01
Series:BMC Psychiatry
Subjects:
Online Access:https://doi.org/10.1186/s12888-025-06657-y
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849773904471523328
author Enguang Li
Fangzhu Ai
Qingyan Tian
Haocheng Yang
Ping Tang
Botang Guo
author_facet Enguang Li
Fangzhu Ai
Qingyan Tian
Haocheng Yang
Ping Tang
Botang Guo
author_sort Enguang Li
collection DOAJ
description Abstract Background Cognitive impairment and depressive symptoms are prevalent and closely interrelated mental health issues in the elderly. Traditional methods for identifying depressive symptoms in this population often lack effectiveness. Machine learning provides a promising alternative for developing predictive models that can facilitate early identification and intervention. Methods This study utilized data from 945 participants aged 60 years and older with cognitive impairment, sourced from National Health and Nutrition Examination Surveys (2011–2014). Depressive symptoms were assessed using the Patient Health Questionnaire-9. Lasso regression was applied for feature selection, ensuring consistency across models. Several machine learning models, including XGBoost, Logistic Regression, Random Forest, and SVM, were trained and evaluated. Model performance was assessed using accuracy, precision, recall, F1 score, and AUC. Results The incidence of depressive symptoms in older adults with cognitive impairment was 14.07%. Key predictors identified by lasso included general health, memory difficulties, and age, among others. Notably, general health emerged as a novel and significant predictor in this population, underscoring the interplay between physical and mental health. XGBoost was the best model for comprehensively comparing discrimination, calibration, and clinical utility. Conclusions Machine learning models, particularly XGBoost, effectively predict depressive symptoms in cognitively impaired older adults. The findings highlight the importance of physical, cognitive, and social factors in depressive symptoms risk. These models have the potential to assist in early screening and intervention, improving patient outcomes. Future research should explore ways to enhance model generalizability, including the use of clinically diagnosed depressive symptoms data and alternative feature selection approaches.
format Article
id doaj-art-29e478319da44d749aa4fd903efd6b1e
institution DOAJ
issn 1471-244X
language English
publishDate 2025-03-01
publisher BMC
record_format Article
series BMC Psychiatry
spelling doaj-art-29e478319da44d749aa4fd903efd6b1e2025-08-20T03:01:55ZengBMCBMC Psychiatry1471-244X2025-03-0125111510.1186/s12888-025-06657-yDevelop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairmentEnguang Li0Fangzhu Ai1Qingyan Tian2Haocheng Yang3Ping Tang4Botang Guo5School of Nursing, Jinzhou Medical UniversitySchool of Nursing, Jinzhou Medical UniversityDepartment of General Practice, Shenzhen Luohu People’s Hospital(Luohu Clinical College of Shantou University Medical College)Department of General Practice, Shenzhen Luohu People’s Hospital(Luohu Clinical College of Shantou University Medical College)Department of General Practice, Shenzhen Luohu People’s Hospital(Luohu Clinical College of Shantou University Medical College)Department of General Practice, Shenzhen Luohu People’s Hospital(Luohu Clinical College of Shantou University Medical College)Abstract Background Cognitive impairment and depressive symptoms are prevalent and closely interrelated mental health issues in the elderly. Traditional methods for identifying depressive symptoms in this population often lack effectiveness. Machine learning provides a promising alternative for developing predictive models that can facilitate early identification and intervention. Methods This study utilized data from 945 participants aged 60 years and older with cognitive impairment, sourced from National Health and Nutrition Examination Surveys (2011–2014). Depressive symptoms were assessed using the Patient Health Questionnaire-9. Lasso regression was applied for feature selection, ensuring consistency across models. Several machine learning models, including XGBoost, Logistic Regression, Random Forest, and SVM, were trained and evaluated. Model performance was assessed using accuracy, precision, recall, F1 score, and AUC. Results The incidence of depressive symptoms in older adults with cognitive impairment was 14.07%. Key predictors identified by lasso included general health, memory difficulties, and age, among others. Notably, general health emerged as a novel and significant predictor in this population, underscoring the interplay between physical and mental health. XGBoost was the best model for comprehensively comparing discrimination, calibration, and clinical utility. Conclusions Machine learning models, particularly XGBoost, effectively predict depressive symptoms in cognitively impaired older adults. The findings highlight the importance of physical, cognitive, and social factors in depressive symptoms risk. These models have the potential to assist in early screening and intervention, improving patient outcomes. Future research should explore ways to enhance model generalizability, including the use of clinically diagnosed depressive symptoms data and alternative feature selection approaches.https://doi.org/10.1186/s12888-025-06657-yDepressive symptomsCognitive impairmentNHANESMachine learningOlder adults
spellingShingle Enguang Li
Fangzhu Ai
Qingyan Tian
Haocheng Yang
Ping Tang
Botang Guo
Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
BMC Psychiatry
Depressive symptoms
Cognitive impairment
NHANES
Machine learning
Older adults
title Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
title_full Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
title_fullStr Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
title_full_unstemmed Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
title_short Develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
title_sort develop and validate machine learning models to predict the risk of depressive symptoms in older adults with cognitive impairment
topic Depressive symptoms
Cognitive impairment
NHANES
Machine learning
Older adults
url https://doi.org/10.1186/s12888-025-06657-y
work_keys_str_mv AT enguangli developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment
AT fangzhuai developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment
AT qingyantian developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment
AT haochengyang developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment
AT pingtang developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment
AT botangguo developandvalidatemachinelearningmodelstopredicttheriskofdepressivesymptomsinolderadultswithcognitiveimpairment