基于机器学习的中国老年慢性疼痛病人抑郁风险预测研究
苗傲霜 , 奚建媛 , 万霞 , 黄浩 , 姚宇游 , 谢冬静
蚌埠医科大学学报 ›› 2026, Vol. 51 ›› Issue (6) : 720 -726.
基于机器学习的中国老年慢性疼痛病人抑郁风险预测研究
Study on the prediction of depression risk in elderly Chinese patients with chronic pain based on machine learning
目的:构建中国老年慢性疼痛病人抑郁风险预测模型,验证不同模型的预测性能。方法:采用中国健康与养老追踪调查(CHARLS)2020 年的全国调查数据,根据纳入与排除标准选取研究对象,按照 7∶3 的比例随机分为训练集与验证集,纳入研究变量包括人口统计学信息、健康状况与功能及工作状态。基于决策树模型、随机森林模型和 XGBoost 模型构建老年慢性疼痛病人抑郁状态风险预测模型。比较各模型的准确率、灵敏度、特异度、F1 分数和受试者工作特征(ROC)曲线下面积(AUC),评价模型的预测性能。结果:1 037 例慢性疼痛老年病人中抑郁症状检出率为 29.89%。决策树模型筛选出疼痛干扰程度、睡眠质量、认知功能、社交活动频率及自评健康状况为重要解释变量,其中疼痛干扰程度为根节点;随机森林模型显示疼痛干扰程度(基尼系数下降值 0.213)、睡眠质量(0.186)、社交活动频率(0.152)为主要影响因素;XGBoost 模型中疼痛干扰程度特征增益值最高,且 SHAP 值分析显示疼痛与睡眠、社交因素存在交互效应。结论:构建的 3 种老年慢性疼痛病人抑郁风险预测模型中,XGBoost 模型性能最优,可有效识别抑郁高风险人群;疼痛干扰程度、睡眠质量、社交活动频率是关键影响因素,其交互作用对抑郁风险预测具有重要意义。研究结果可为老年慢性疼痛病人抑郁的早期识别及后续风险分层管理策略制定提供科学依据。
Objective: To construct a depression risk prediction model for elderly patients with chronic pain in China, and verify the predictive performance of different models. Methods: The national survey data of the China health and retirement longitudinal study (CHARLS) in 2020 was adopted. The research subjects were selected according to the inclusion and exclusion criteria, and randomly divided into the training set and validation set at a ratio of 7∶3. The included research variables were demographic information, health status and function, and working status. Risk prediction models for depressive state in elderly patients with chronic pain were constructed based on the decision tree model, random forest model and XGBoost model. The accuracy rate, sensitivity, specificity, F1 score and area under the receiver operating characteristic (ROC) curve (AUC) of each model were compared to evaluate the predictive performance of the models. Results: The detection rate of depressive symptoms among 1 037 elderly patients with chronic pain was 29.89%. The decision tree model screened out the degree of pain interference, sleep quality, cognitive function, frequency of social activities and self-rated health status as important explanatory variables, among which the degree of pain interference was the root node. The random forest model showed that the degree of pain disturbance (the decrease in Gini coefficient for 0.213), sleep quality (0.186) and frequency of social activities (0.152) were the main influencing factors. The XGBoost model had the highest characteristic gain value of pain interference degree, and the SHAP value analysis showed that there was an interaction effect between pain and sleep, as well as social factors. Conclusions: Among the three constructed prediction models for depression risk in elderly patients with chronic pain, the XGBoost model has the best performance, and can effectively identify high-risk groups for depression. The degree of pain interference, sleep quality and frequency of social activities are the key influencing factors, and their interaction is of great significance for predicting the risk of depression. The research results can provide a scientific basis for the early identification of depression in elderly patients with chronic pain, and the formulation of subsequent risk stratification management strategies.
| [1] |
曹伯旭, 林夏清, 吴莹, |
| [2] |
王瑞琪, 赵庆华, 黄欢欢, |
| [3] |
罗尔丹, 王遥, 卞鹰 . 我国老年人慢性疼痛特点及近年变化趋势——基于中国健康与养老追踪调查数据 [J]. 实用老年医学, 2021, 35(7):684. |
| [4] |
刘书莲, 张玉晶, 赵培文, |
| [5] |
陈晴, 王越, 刘鲁蓉 . 我国退休人员抑郁现状及影响因素的性别差异研究 [J]. 现代预防医学, 2023, 50(9):1584. |
| [6] |
|
| [7] |
|
| [8] |
赵蕊, 范文琪, 刘晓夏, |
| [9] |
|
| [10] |
|
| [11] |
WANG G,HUANG S,SUN N,et al. Depression and its influencing factors among older adults with chronic pain in China: an empirical analysis based on CHARLS data[J]. Front Public Health, 2025, 13:1547860. |
| [12] |
|
| [13] |
郭胜鹏, 那林格 . 慢性疼痛对我国中老年人抑郁的影响与机制研究 [J]. 现代预防医学, 2025, 52(2):336. |
| [14] |
|
| [15] |
诸葛剑 . 中国老年人抑郁症状影响因素分析及其预测 [D]. 南昌: 江西科技师范大学, 2024. |
| [16] |
赵涵, 向远, 裴丽君 . 老年人多维度社会参与和家庭交往与抑郁情绪发生风险的关联研究 [J]. 人口与发展, 2021, 27(3):110. |
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
倪传宝, 徐信龙, 崔胜, |
江苏省无锡市第二届“双百”中青年医疗卫生后备拔尖人才(HB2023020)
南京医科大学无锡医学中心护理类研究项目(WMCHL202303)
/
| 〈 |
|
〉 |