An explainable machine learning model for predicting depressive symptoms among Chinese older adults with chronic diseases
Xiaoqian Wang, Mei Xue, Fang-Jie-Yi Zheng, Chung‐Chou H. Chang, Xiao-Qun Dong, Wen-Quan Niu
Chinese Academy of Medical Sciences & Peking Union Medical College · Beijing University of Chinese Medicine
Key points
From the paper's conclusion- Using multidimensional data, the XGBoost, emerged as the top-performing model for predicting depressive symptoms among elderly individuals with chronic conditions, and this model was translated into an open-access, user-friendly interactive application.
Abstract
BACKGROUND: Depression is a multifactorial disorder whose coexistence with chronic diseases imposes a substantial health burden and complicates the identification of at-risk older adults. To address this, we analyzed seven-dimensional data derived from the China Health and Retirement Longitudinal Study (CHARLS) and applied machine learning (ML) to predict depressive symptoms among older adults with chronic diseases. METHODS: Participants from wave 4 of CHARLS were included. Depressive symptoms were assessed using the 10-item Center for Epidemiologic Studies Depression Scale (CESD-10), with a total score > 12 indicating clinically significant depressive symptoms. Five ML models were trained using 70% of the dataset and validated on the remaining 30%. Hyperparameters were optimized using grid search combined with five-fold cross-validation. Feature importance was calculated, ranked, and visualized using SHapley Additive exPlanations (SHAP). RESULTS: Totally, 5,564 participants from CHARLS Wave 4 who met the eligibility criteria were enrolled in the analysis, of whom 1,862 exhibited depressive symptoms. The prevalence of depressive symptoms in this cohort was approximately one-third to one-half of that reported in populations with other chronic diseases. Among the 55 features, 17 potential predictors were selected. The eXtreme Gradient Boosting (XGBoost) model outperformed the others, achieving the highest area under the curve (AUC, 0.756) and lowest binary Brier score (0.180). This model also obtained an accuracy of 0.736, precision of 0.657, F1 score of 0.517, and specificity of 0.890. Based on SHAP values, nighttime sleep duration was the most influential of the 17 features in predicting depressive symptoms, followed by bodily pain, life satisfaction, self-reported health, and gender. The optimal XGBoost model, validated via five-fold cross-validation, was ultimately deployed as a web application for predicting depressive symptoms. CONCLUSIONS: Using multidimensional data, the XGBoost, emerged as the top-performing model for predicting depressive symptoms among elderly individuals with chronic conditions, and this model was translated into an open-access, user-friendly interactive application. This work establishes a viable technical framework for precision public health strategies to enhance mental health in older adults with chronic comorbidities, enabling large-scale, low-cost population-level proactive health management. CLINICAL TRIAL NUMBER: Not applicable.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable Machine Learning Reveals Pattern-Specific Drivers of Depression in Middle-Aged and Older Adults with Multimorbidity: A Nationwide Cross-Sectional Study from CHARLS.Healthcare (Basel, Switzerland) · 2026
- Exploration of comorbidity mechanisms between chronic pain and depression: Machine learning prediction models and SHAP interpretability analysis based on the CHARLS cohortPLoS ONE · 2026
- Prediction model for depression risk in middle-aged and elderly patients with metabolic syndrome: a nomogram and interpretable machine learning approach based on CHARLSBMC Psychiatry · 2025
- Machine learning identifies depression risk in older adults with chronic diseases: Clarifying shared risk factors stratified by cognitive impairment status.Geriatric nursing (New York, N.Y.) · 2026
- Cross-national predictive correlates of depressive symptoms among middle-aged and older adults with chronic conditions: an explainable machine learning analysis.Frontiers in psychiatry · 2026
- Predicting longitudinal depressive symptom trajectories among older Chinese adults with chronic health conditions: An interpretable machine learning study.International psychogeriatrics · 2026