PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 18, 2026Digital Health1 citationsOpen Access

Development of a machine learning-based depression risk prediction model for middle-aged and elderly Chinese heart disease patients: Evidence from CHARLS data

View Full Paper
GFGuangzhen FuYSYuhan ShenJYJingjing Yang

Key Result

A 4-variable logistic regression model (pain, address, sleep time, and grip-max) demonstrated robust predictive performance for depression risk in heart disease patients, achieving an AUC of 0.788.

Key Points

  • The aim is to create a reliable prediction model for depression risk in middle-aged and elderly heart disease patients using CHARLS data.
  • Included 947 heart disease patients from CHARLS 2015 after missing data criteria were applied.
  • Missing values were imputed using random forest, with a training-validation split of 7:3.
  • Developed and evaluated 11 machine learning models, focusing on logistic regression with multi-step variable selection.
  • The logistic regression model achieved an AUC of 0.792, indicating good predictive performance.
  • Identified important predictors: pain (69% of depressed vs. 27% of non-depressed), rural location, shorter sleep time, and lower grip strength.
  • Developed a user-friendly web-based calculator for assessing high depression risk.

Study Design

Type

Observational (n=947)

Multicenter

Yes

Structured PICO

Can a machine learning-based model accurately predict depression risk in middle-aged and elderly Chinese patients with heart disease?

P
Population
947 middle-aged and elderly heart disease patients from the China Health and Retirement Longitudinal Study (CHARLS) 2015
I
Intervention
Machine learning-based depression risk prediction models (11 models evaluated, optimized to a 4-variable logistic regression model)
O
Outcome
Depression risk prediction performance (evaluated by AUC, sensitivity, specificity, positive predictive value, negative predictive value, F1 score, calibration curve, and decision curve analysis)

A simplified 4-variable logistic regression model using pain, address, sleep time, and grip strength can accurately predict depression risk in middle-aged and elderly Chinese patients with heart disease.

Main Result

Effect estimate: AUC 0.788

Abstract

Objective Heart disease is a leading cause of death and disability among middle-aged and elderly populations. Depression is a common comorbidity that impairs prognosis and quality of life. This study aimed to develop a machine learning (ML)-based depression risk prediction model based on China Health and Retirement Longitudinal Study (CHARLS) data. Methods A total of 947 middle-aged and elderly heart disease patients from CHARLS 2015 were included after applying missing data criteria. Missing values were filled using random forest (RF), and data were split 7:3 into training and validation cohorts. Variables selection in the training cohort using univariate analysis, Lasso regression, recursive feature elimination (RFE), and feature importance evaluation using RF and decision tree (DT). Variables appearing in at least three of these five methods were selected. Eleven ML models were constructed and evaluated by area under the curve (AUC), sensitivity, specificity, positive predictive value, negative predictive value, F1 score, calibration curve and decision curve analysis. Five-fold cross-validation enhanced stability and SHapley Additive exPlanation (SHAP) values interpreted feature importance. Results Fifty-eight variables were extracted. After multi-step variable selection within the training cohort, nine variables (address, grip-max, arthritis rheumatism, Hope, sleep time, pain, Retire, ADL, IADL) were initially identified. Among 11 ML models, the logistic regression (LR) algorithm demonstrated the best overall performance with an AUC of 0.792 in the validation cohort. A 4-variable LR model (pain, address, sleep time, and grip-max) was optimized, achieving a comparable AUC of 0.788. SHAP analysis confirmed pain as the most critical predictor (69.0% of depressed patients reported pain versus 26.9% of non-depressed patients). Rural residence (86.5% vs. 66.7%), shorter sleep time (median 5.25(4.00, 7.00) vs. 6.00(5.00, 8.00) hours), and lower grip-max (24.50(20.00, 30.00) vs. 27.00(22.50, 33.40) increased depression risk. A user-friendly web-based calculator was developed for clinical applications. Conclusions The simplified LR model exhibits robust predictive performance and clinical applicability for assessing high depression risk in middle-aged and elderly patients with heart disease.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Fu et al. (2026) conducted an observational in Heart disease with depression risk (n=947). Machine learning-based depression risk prediction model (Logistic Regression) was evaluated on Area under the curve (AUC) for depression risk prediction (AUC 0.788). A 4-variable logistic regression model (pain, address, sleep time, and grip-max) demonstrated robust predictive performance for depression risk in heart disease patients, achieving an AUC of 0.788.

synapsesocial.com/papers/6a0aacb35ba8ef6d83b7008dhttps://doi.org/10.1177/20552076261452941
Ask AI
Helpful
Bookmark
Share
View Full Paper