临床荟萃 ›› 2026, Vol. 41 ›› Issue (9): 787-793.doi: 10.3969/j.issn.1004-583X.2026.09.002

• 论著 • 上一篇    下一篇

多因素logistic回归与XGBoost模型对慢性心力衰竭患者30天再入院风险预测效能的对比

睢国鑫(), 郑明修, 李慧丹, 赵金明, 赵宏林   

  1. 新乡市第一人民医院 心血管内三病区, 河南 新乡 453000
  • 收稿日期:2026-06-01 出版日期:2026-09-20 发布日期:2026-09-17
  • 通讯作者: 睢国鑫 E-mail:16637326082@163.com

Comparison of the predictive performance of multivariable logistic regression and XGBoost models for 30-day readmission risk in patients with chronic heart failure

Sui Guoxin(), Zheng Mingxiu, Li Huidan, Zhao Jinming, Zhao Honglin   

  1. Ward 3, Department of Cardiovascular Medicine, Xinxiang First People's Hospital, Xinxiang 453000, China
  • Received:2026-06-01 Online:2026-09-20 Published:2026-09-17
  • Contact: Sui Guoxin E-mail:16637326082@163.com

摘要:

目的 比较多因素logistic回归与XGBoost模型对慢性心力衰竭(CHF)患者出院后30 d再入院风险的预测效能。方法 本研究采用回顾性分析方法,选取我院2022年11月-2025年11月住院治疗的CHF患者288例, 按照7∶3的比例随机划分为训练组(202例)和验证组(86例)。根据患者出院后30 d内是否因心力衰竭加重再入院,分为再入院组(n=62)和非再入院组(n=226)。分析CHF患者出院后30 d再入院的单因素,建立多因素logistic回归与XGBoost模型。在验证组数据集上进行内部验证,采用受试者工作特征(ROC)曲线评价两种模型的预测效能。结果 相较于非再入院组,再入院组年龄、NYHA分级Ⅲ~Ⅳ级患者构成比、NT-proBNP水平、住院时长及出院后不规范服药患者构成比更高,LVEF、血钠、eGFR更低(P<0.05)。多因素logistic回归结果证实,年龄、NT-proBNP、血钠、出院后不规范服药均是CHF患者出院后30 d再入院的影响因素(P<0.05)。XGBoost模型特征重要性排在前8位的特征变量依次为:NT-proBNP、LVEF、血钠、年龄、eGFR、NYHA分级、住院时长、出院后不规范服药。采用ROC曲线评价多因素logistic回归分析模型和 XGBoost模型,结果显示,XGBoost模型预测效果优于多因素logistic回归模型,使用delong检验进一步比较两个模型的AUC分别为0.793、0.886,差异有统计学意义(Z=2.415,P=0.016)。结论 多因素logistic回归与 XGBoost模型均能有效预测CHF患者出院后30 d再入院风险,其中XGBoost模型展现出更优的预测性能,可作为临床早期识别高危患者及干预决策的辅助工具。

关键词: 心力衰竭, 再入院, 风险预测, Logistic回归, XGBoost模型

Abstract:

Objective To compare the predictive performance of multivariable logistic regression and XGBoost models for the risk of 30-day post-discharge readmission in patients with chronic heart failure (CHF). Methods This retrospective study included 288 patients with CHF who were hospitalized in our institution from November 2022 to November 2025. The patients were randomly assigned in a 7∶3 ratio to a training set (n=202) and a validation set (n=86). According to whether readmission occurred within 30 days after discharge because of worsening heart failure, patients were divided into a readmission group (n=62) and a non-readmission group (n=226). Univariate factors associated with 30-day readmission after discharge were analyzed, and multivariable logistic regression and XGBoost models were developed. Internal validation was performed using the validation set. Receiver operating characteristic (ROC) curves were used to assess the predictive performance of the two models. Results Compared with the non-readmission group, the readmission group had higher age, a higher proportion of patients with New York Heart Association (NYHA) class Ⅲ-Ⅳ, higher N-terminal pro-B-type natriuretic peptide (NT-proBNP) levels, longer length of hospital stay, and a higher proportion of patients with irregular medication use after discharge, as well as lower left ventricular ejection fraction (LVEF), serum sodium, and estimated glomerular filtration rate (eGFR) levels (P<0.05). Multivariable logistic regression confirmed that age, NT-proBNP, serum sodium, and irregular medication use after discharge were all factors associated with 30-day readmission after discharge in patients with CHF (P<0.05). The top 8 feature variables ranked by importance in the XGBoost model were NT-proBNP, LVEF, serum sodium, age, eGFR, NYHA class, length of hospital stay, and irregular medication use after discharge. ROC analysis showed that the XGBoost model outperformed the multivariable logistic regression model. Further comparison using DeLong’s test showed that the areas under the curve (AUCs) of the two models were 0.793 and 0.886, respectively, and the difference was statistically significant (Z=2.415, P=0.016). Conclusion Both multivariable logistic regression and XGBoost models can effectively predict the risk of 30-day readmission after discharge in patients with CHF. However, the XGBoost model demonstrated superior predictive performance and may serve as an auxiliary tool for early identification of high-risk patients and clinical intervention decisions.

Key words: heart failure, readmission, risk prediction, logistic regression, XGBoost model

中图分类号: