A SHAP-interpretable nomogram for predicting postoperative pneumonia in elderly hip fracture patients with preoperative anemia: a single-center retrospective study with internal validation
- 1Department of Joint Surgery, The Third Affiliated Hospital of Zunyi Medical University (The First People’s Hospital of Zunyi), Zunyi, Guizhou, China
- 2Department of Anesthesia, The Third Affiliated Hospital of Zunyi Medical University (The First People’s Hospital of Zunyi), Zunyi, Guizhou, China
Abstract
Background: Postoperative pneumonia is a frequent and serious complication in elderly patients undergoing surgery for hip fractures, particularly in those with preoperative anemia. Early identification of high-risk individuals is crucial for improving clinical outcomes.
Methods: This retrospective study included 339 elderly patients with hip fractures and preoperative anemia. A multivariable logistic regression model, incorporating variables selected via the Boruta algorithm, was used to identify independent predictors of postoperative pneumonia. A clinical nomogram was constructed to facilitate individualized risk stratification. The model's performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration plots, and decision curve analysis (DCA). The SHapley Additive exPlanations (SHAP) method was utilized to interpret the model and quantify the contribution of each predictor.
Results: Four variables were identified as independent predictors of postoperative pneumonia: chronic obstructive pulmonary disease (COPD), preoperative planned intensive care unit (ICU) admission, preoperative serum albumin (ALB) levels, and preoperative non-steroidal anti-inflammatory drug (NSAID) use. The developed nomogram showed moderate discrimination, with an apparent AUC of 0.746 and a nested bootstrap-validated AUC of 0.751 (95% CI 0.691–0.808). The calibration plot demonstrated acceptable agreement, and DCA confirmed the model's clinical utility across a broad threshold probability range (0.13–0.87). SHAP analysis revealed that COPD and hypoalbuminemia were the most significant drivers of risk.
Conclusion: This study provides an internally validated nomogram for predicting postoperative pneumonia in elderly, anemic patients with hip fractures. By integrating clinical and laboratory data, this tool may support early risk stratification and inform the implementation of targeted perioperative preventive strategies for high-risk patients.
Related
- Development and Validation of an Interpretable Machine Learning Model for Predicting Postoperative Functional Exercise Adherence in Breast Cancer Patients: The Central Role of Illness Perception
- Developing and validating an interpretable machine learning model for predicting postoperative nausea and vomiting in pulmonary resection patients: a retrospective observational study
- Development and validation of an interpretable clinical-radiomics model for predicting 3-year postoperative recurrence in clinical stage I lung adenocarcinoma: a multicentre study.
- Preoperative risk stratification for postoperative inflammatory–nutritional deterioration after colorectal cancer surgery: an interpretable machine learning study
- Preoperative prediction of microvascular invasion in hepatocellular carcinoma using routine clinical variables: development and temporal validation of an interpretable random forest model in a single-center retrospective cohort study.
BibTeX
@article{liu2026shapinterpretable,
title = {{A SHAP-interpretable nomogram for predicting postoperative pneumonia in elderly hip fracture patients with preoperative anemia: a single-center retrospective study with internal validation}},
author = {Wanshun Liu and Yunxi Lu and Yihui Yang and Kun Huang},
journal = {Frontiers in Medicine},
year = {2026},
month = nov,
doi = {10.3389/fmed.2026.1981572},
url = {https://doi.org/10.3389/fmed.2026.1981572},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - A SHAP-interpretable nomogram for predicting postoperative pneumonia in elderly hip fracture patients with preoperative anemia: a single-center retrospective study with internal validation
AU - Wanshun Liu
AU - Yunxi Lu
AU - Yihui Yang
AU - Kun Huang
PY - 2026
DA - 2026/11/02
JO - Frontiers in Medicine
DO - 10.3389/fmed.2026.1981572
UR - https://doi.org/10.3389/fmed.2026.1981572
AB - Background: Postoperative pneumonia is a frequent and serious complication in elderly patients undergoing surgery for hip fractures, particularly in those with preoperative anemia. Early identification of high-risk individuals is crucial for improving clinical outcomes. Methods: This retrospective study included 339 elderly patients with hip fractures and preoperative anemia. A multivariable logistic regression model, incorporating variables selected via the Boruta algorithm, was used to identify independent predictors of postoperative pneumonia. A clinical nomogram was constructed to facilitate individualized risk stratification. The model's performance was evaluated using the area under the receiver operating characteristic curve (AUC), calibration plots, and decision curve analysis (DCA). The SHapley Additive exPlanations (SHAP) method was utilized to interpret the model and quantify the contribution of each predictor. Results: Four variables were identified as independent predictors of postoperative pneumonia: chronic obstructive pulmonary disease (COPD), preoperative planned intensive care unit (ICU) admission, preoperative serum albumin (ALB) levels, and preoperative non-steroidal anti-inflammatory drug (NSAID) use. The developed nomogram showed moderate discrimination, with an apparent AUC of 0.746 and a nested bootstrap-validated AUC of 0.751 (95% CI 0.691–0.808). The calibration plot demonstrated acceptable agreement, and DCA confirmed the model's clinical utility across a broad threshold probability range (0.13–0.87). SHAP analysis revealed that COPD and hypoalbuminemia were the most significant drivers of risk. Conclusion: This study provides an internally validated nomogram for predicting postoperative pneumonia in elderly, anemic patients with hip fractures. By integrating clinical and laboratory data, this tool may support early risk stratification and inform the implementation of targeted perioperative preventive strategies for high-risk patients.
SN - 2296-858X
ER -