# Establishment and validation of a clinical prediction model for perioperative pneumonia in elderly patients with hip fractures combined with preoperative stroke

**Authors:** Yuying Li, Yu Chang, Xiaomin Wang, Jiaxuan Zhu, Fan Yang, Yuwei Shi, Xiuguo Zhang

PMC · DOI: 10.3389/fmed.2026.1716295 · Frontiers in Medicine · 2026-03-09

## TL;DR

This study creates a model to predict pneumonia risk in elderly hip fracture patients with a history of stroke, using clinical data to improve early intervention and outcomes.

## Contribution

A novel clinical prediction model for perioperative pneumonia in elderly hip fracture patients with preoperative stroke is developed and validated.

## Key findings

- The nomogram model achieved an AUC of 0.9203 in training and 0.7356 in validation sets.
- Albumin, hemoglobin, age, and BNP were identified as core predictive variables via SHAP analysis.
- Logistic regression and LDA showed optimal performance among machine learning models with AUC of 0.743.

## Abstract

Hip fractures in the elderly are associated with alarmingly high disability and mortality rates, which severely impair patients’ quality of life. Patients with a history of stroke face a significantly increased risk of perioperative pneumonia and a threefold higher risk of death. This study aimed to establish a clinical prediction model for perioperative pneumonia in elderly patients with hip fractures and preoperative stroke.

A total of 698 patients (244 in the pneumonia group and 454 in the non-pneumonia group) were retrieved from medical records and randomly divided into a training set and a validation set at a 7:3 ratio. The Least Absolute Shrinkage and Selection Operator (LASSO) was used for variable selection, and a nomogram prediction model was constructed. The model’s discriminative ability, calibration, and clinical utility were evaluated using receiver operating characteristic (ROC) curves, calibration curves, and decision curve analysis (DCA). Shapley Additive explanations (SHAP) was employed to identify core predictive variables. Additionally, the predictive performance of 10 machine learning models was systematically compared.

Pulmonary hypertension, respiratory failure, chronic obstructive pulmonary disease (COPD), surgical type, age, albumin level, hemoglobin level, and brain natriuretic peptide (BNP) level were identified as independent risk factors for perioperative pneumonia. The nomogram model had an area under the ROC curve (AUC) of 0.9203 in the training set and 0.7356 in the validation set. Calibration curves demonstrated good consistency between the model’s predicted probabilities and actual pneumonia risk. Decision curve analysis showed that the nomogram had clinical utility within the moderate-risk threshold range. SHAP analysis further identified albumin, hemoglobin, age, and BNP as core predictive variables. Among the machine learning models, logistic regression and linear discriminant analysis (LDA) exhibited optimal performance (both with an AUC of 0.743), achieving accuracies of 0.712 and 0.708, respectively. All models had a recall exceeding 0.680, precision ranging from 0.650 to 0.660, and high F1 scores.

This study established a risk prediction model for perioperative pneumonia in elderly patients with hip fractures and preoperative stroke using objective clinical indicators. The model shows good predictive performance and clinical applicability, enabling individualized risk assessment and early intervention for this patient population, with the potential to improve outcomes in high-risk individuals.

## Linked entities

- **Diseases:** pneumonia (MONDO:0005249), stroke (MONDO:0005098), pulmonary hypertension (MONDO:0005149), respiratory failure (MONDO:0021113), chronic obstructive pulmonary disease (MONDO:0005002), COPD (MONDO:0005002)

## Full-text entities

- **Genes:** NPPB (natriuretic peptide B) [NCBI Gene 4879] {aka BNP, Iso-ANP}, ALB (albumin) [NCBI Gene 213] {aka FDAHT, HSA, PRO0883, PRO0903, PRO1341}
- **Diseases:** COPD (MESH:D029424), pneumonia (MESH:D011014), death (MESH:D003643), stroke (MESH:D020521), respiratory failure (MESH:D012131), Pulmonary hypertension (MESH:D006976), Hip fractures (MESH:D006620)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13006692/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13006692/full.md

## References

58 references — full list in the complete paper: https://tomesphere.com/paper/PMC13006692/full.md

---
Source: https://tomesphere.com/paper/PMC13006692