An interpretable machine learning framework for retrospective attribution of hospitalization costs in patients with chronic kidney disease
Hospitalization costs vary substantially among patients with chronic kidney disease (CKD), yet the factors underlying this heterogeneity are not fully understood. We developed an interpretable machine learning framework to retrospectively characterize differences in hospitalization costs among patients with CKD and externally evaluated its performance. The study included 3,017 hospitalizations from one tertiary hospital and 2,708 hospitalizations from another tertiary hospital for external validation. Patients were analyzed separately according to kidney transplant status, including non-transplant ( n = 2,435) and transplant ( n = 582) groups. Multiple machine learning and conventional statistical models were compared using temporal holdout testing, external validation, and sensitivity analyses. LightGBM performed best in the non-transplant group (R² = 0.7060), whereas XGBoost performed best in the transplant group (R² = 0.6235). External validation yielded R² values of 0.5921 and 0.5513, respectively. Model interpretation identified length of stay, treatment-related features, age, and selected laboratory measures as prominent contributors to predicted costs, with nonlinear patterns and substantial patient-level heterogeneity. This framework provides a transparent approach for retrospective hospitalization cost attribution and case-mix analysis in CKD.
Authors
- X Wu
- Peixuan Chen
- Ling Bai
- Linyong Xu
- Zhen Peng
- Fei Liu
- Wei Zhang
- Rui Chen
- Zirui Xin
- Pingping Dai
Institutions
- Central South University (CN)
- Beijing Institute of Big Data Research (CN)
- Shenzhen University Health Science Center (CN)
- Second Xiangya Hospital of Central South University (CN)
- Third Xiangya Hospital (CN)
- Xiangya Hospital Central South University (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-10-14
- DOI
- https://doi.org/10.1038/s41598-026-74741-8
- Primary Topic
- Machine Learning in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00