A longitudinal cohort study: developing an interpretable machine learning model to predict incident depression risk in elderly Chinese patients with gastrointestinal or chronic liver diseases

Depression is highly prevalent in elderly patients with gastrointestinal (GID) or chronic liver diseases (CLD), significantly impairing quality of life and treatment outcomes. This study aimed to develop and validate an interpretable machine learning (ML) model to identify depression risk in this population, overcoming the “black box” limitation of conventional ML. This prospective analysis utilized data from the baseline (2018) and follow-up (2020) waves of the China Health and Retirement Longitudinal Study (CHARLS). Potential predictors measured at baseline were selected via Least Absolute Shrinkage and Selection Operator (LASSO) regression. The outcome was incident depression at the 2020 follow-up, defined by a CES-D-10 score ≥ 10 among participants free of depression at baseline. Ten ML algorithms were employed to construct models. Performance was evaluated using the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, precision, F1-score, calibration curves, and decision curve analysis. The SHapley Additive exPlanations (SHAP) framework interpreted feature contributions. Among 1,353 participants (424 with depression), LASSO identified 10 key predictors. The Logistic Regression (LR) model demonstrated optimal discriminative performance, with an AUC of 0.723 (95% CI: 0.674–0.772). SHAP analysis revealed the top five predictors: self-reported health, life satisfaction, gender, education, and memory scores. We developed an interpretable ML model for predicting depression risk in elderly patients with GID or CLD. This tool aids early detection and intervention, potentially improving clinical outcomes in this vulnerable population.

Authors

Institutions

Publication Details

Journal
BMC Geriatrics
Published
2026-02-25
DOI
https://doi.org/10.1186/s12877-026-07239-7
Primary Topic
Chronic Disease Management Strategies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A longitudinal cohort study: developing an interpretable machine learning model to predict incident depression risk in elderly Chinese patients with gastrointestinal or chronic liver diseases

Yin Chen, Mingyu Chen
BMC Geriatrics
Chronic Disease Management Strategies
article

A longitudinal cohort study: developing an interpretable machine learning model to predict incident depression risk in elderly Chinese patients with gastrointestinal or chronic liver diseases

Yin Chen, Mingyu Chen
article en

Abstract

Depression is highly prevalent in elderly patients with gastrointestinal (GID) or chronic liver diseases (CLD), significantly impairing quality of life and treatment outcomes. This study aimed to develop and validate an interpretable machine learning (ML) model to identify depression risk in this population, overcoming the “black box” limitation of conventional ML. This prospective analysis utilized data from the baseline (2018) and follow-up (2020) waves of the China Health and Retirement Longitudinal Study (CHARLS). Potential predictors measured at baseline were selected via Least Absolute Shrinkage and Selection Operator (LASSO) regression. The outcome was incident depression at the 2020 follow-up, defined by a CES-D-10 score ≥ 10 among participants free of depression at baseline. Ten ML algorithms were employed to construct models. Performance was evaluated using the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, precision, F1-score, calibration curves, and decision curve analysis. The SHapley Additive exPlanations (SHAP) framework interpreted feature contributions. Among 1,353 participants (424 with depression), LASSO identified 10 key predictors. The Logistic Regression (LR) model demonstrated optimal discriminative performance, with an AUC of 0.723 (95% CI: 0.674–0.772). SHAP analysis revealed the top five predictors: self-reported health, life satisfaction, gender, education, and memory scores. We developed an interpretable ML model for predicting depression risk in elderly patients with GID or CLD. This tool aids early detection and intervention, potentially improving clinical outcomes in this vulnerable population.

BMC Geriatrics
Miwa Hospital (JP), Beijing Xuanwu Traditional Chinese Medicine Hospital (CN)
Good health and well-being
Openalex Percentile: Top 44%
Chronic Disease Management Strategies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.