Categories
Nevin Manimala Statistics

Predicting Frailty Trajectories Using Interpretable Machine Learning Among Older Adults Following Hip Surgery: Prospective Longitudinal Study

JMIR Aging. 2026 Jun 16;9:e90705. doi: 10.2196/90705.

ABSTRACT

BACKGROUND: Postoperative frailty is highly prevalent among older adults undergoing hip surgery and is closely linked to poor clinical outcomes. Despite growing interest in understanding its progression, the temporal patterns of frailty remain underexplored. Moreover, there is a lack of validated models that can predict frailty trajectories and stratify patients by risk in the early postoperative period.

OBJECTIVE: This study aimed to identify distinct frailty trajectories within 6 months following hip surgery in older adults and to explore their associated predictors. An interpretable machine-learning model was developed and internally validated for individualized risk prediction and was implemented as a clinically accessible web-based calculator.

METHODS: This prospective longitudinal observational study was conducted among older adults undergoing hip surgery at a tertiary hospital in China. Frailty assessments were performed preoperatively and at 1, 3, and 6 months postoperatively. A total of 209 participants who completed the 6-month follow-up were included in the analysis. Frailty was assessed using the Frailty Index, and group-based trajectory modeling was applied to identify distinct frailty progression patterns. Predictive variables were selected using the least absolute shrinkage and selection operator regression. An interpretable Extreme Gradient Boosting (XGBoost) model was developed using a 60:40 training-test data split. Model performance was evaluated in terms of discrimination, calibration, and clinical utility. Interpretability was assessed using SHAP (Shapley Additive Explanations) at both the global and individual levels.

RESULTS: Three distinct frailty trajectories were identified: low-fluctuation frailty (55/209, 26%), high-improvement frailty (81/209, 39%), and high-deterioration frailty (73/209, 35%). Twelve predictors grounded in the Health Ecology Model were selected, spanning individual characteristics, interpersonal networks, and the living environment. The XGBoost model demonstrated excellent discrimination, with a microaverage area under the receiver operating characteristic curve of 0.98 (95% CI 0.96-0.99) in the training set and 0.93 (95% CI 0.90-0.96) in the test set. Calibration was acceptable, with a weighted Brier score of 0.0852. Decision curve analysis showed favorable clinical utility across a range of threshold probabilities. A web-based risk calculator was developed to facilitate personalized frailty trajectory prediction.

CONCLUSIONS: The XGBoost model demonstrated strong predictive performance and interpretability, enabling the early identification of older patients at risk for adverse frailty trajectories following hip surgery. This tool may support targeted interventions and improve perioperative care in geriatric populations.

PMID:42302293 | DOI:10.2196/90705

By Nevin Manimala

Portfolio Website for Nevin Manimala