ORIGINAL RESEARCH article
Front. Med.
Sec. Geriatric Medicine
This article is part of the Research TopicPerioperative Management and Clinical Challenges in Elderly Major Surgical PatientsView all 19 articles
Establishment and validation of a clinical prediction model for perioperative pneumonia in elderly patients with hip fractures combined with preoperative stroke
Provisionally accepted- Third Hospital of Hebei Medical University, Shijiazhuang, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background: 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. Methods: 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. Results: 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. Conclusion: This study established a risk prediction model for perioperative pneumonia in elderly patients with hip fractures and preoperative stroke using objective clinical indicators.
Keywords: Hip fracture, machine learning, perioperative pneumonia, predictive model, Stroke
Received: 11 Nov 2025; Accepted: 16 Feb 2026.
Copyright: © 2026 Li, Chang, Wang, Zhu, Yang, Shi and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Xiuguo Zhang
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
