Predicting the risk of postoperative constipation in middle-aged and elderly patients with lower limb fractures using machine learning algorithms
Xiaoyan Yang,
Wenqiang Li,
Qin Xiao,
Shiyun Du,
Xi Wang,
Ying Zhang and
Sulian Li
PLOS ONE, 2025, vol. 20, issue 11, 1-14
Abstract:
Objective: To construct and validate a predictive model for the risk of postoperative constipation in middle-aged and elderly patients with lower limb fractures based on machine learning algorithms, so as to provide decision-making support for clinical prevention and early intervention. Methods: This study conducted a retrospective analysis of clinical data of 1,128 middle-aged and elderly patients who underwent lower limb fracture surgery between January 2020 and May 2024, with data collection occurring from October to December 2024. Whether constipation occurred or not was used as the outcome variable. Eight machine learning algorithms, namely logistic regression (LR), extreme gradient boosting (XGBoost), random forest (RF), decision tree classifier (DT), complement naive bayes (CNB), multilayer perceptron (MLP), support vector machine (SVM), and K-Nearest neighbors (KNN), were employed to construct predictive models. Key risk factors were identified using SHAP (SHapley Additive exPlanations), a game theory-based approach for analyzing feature importance. Model predictive performance was comprehensively evaluated using metrics including the area under the receiver operating characteristic curve (AUC), accuracy, and other relevant indicators. Results: The logistic regression (LR) model demonstrated the optimal predictive performance. Age, femoral fracture, length of hospital stay, nutritional risk, and chronic gastritis were identified as important predictive factors. This model can be integrated into the clinical information system to automatically flag high-risk patients upon admission and provide individualized interventions based on risk stratification. Conclusion: The logistic regression (LR) model developed in this study exhibits strong discriminative ability and clinical utility, enabling dynamic perioperative monitoring of constipation risk through digital health tools, thereby potentially reducing related complications.
Date: 2025
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0336466 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 36466&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0336466
DOI: 10.1371/journal.pone.0336466
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().