Development and internal validation of models to predict poor range- of-motion recovery at three months after primary total knee arthroplasty

Background Poor early range of motion (ROM) recovery after primary total knee arthroplasty (TKA) can impair function. This study aimed to develop and internally validate models predicting poor three-month ROM recovery using information available by the end of surgery. Methods This single-center retrospective cohort study included consecutive primary TKAs for knee osteoarthritis performed between 2018 and 2023. Poor recovery was defined as flexion < 90° at three months or manipulation under anesthesia within three months. Development and held-out validation cohorts were partitioned approximately 7:3 with patient grouping. Seven models were compared. After the final predictor set was defined, machine-learning hyperparameters were re-tuned by 10-fold cross-validation without patient grouping, and models were refitted and locked before validation. Discrimination, calibration, decision curves, and Shapley additive explanations (SHAP) were assessed. Results A total of 881 knees from 738 patients were included: 618 development knees with 73 events and 263 validation knees with 30 events. The seven inputs were diabetes mellitus, body mass index, preoperative flexion, preoperative extension limitation, operative time, closure ROM, and deformity magnitude. Validation areas under the receiver operating characteristic curve (AUCs) ranged from 0.868 to 0.918. XGBoost had an AUC of 0.918 (95% CI, 0.868–0.964) and Brier score of 0.059; logistic regression had an AUC of 0.915 (95% CI, 0.864–0.961) and Brier score of 0.060. Their AUC difference was not statistically significant (P = 0.79; Holm-adjusted P = 1.00). The XGBoost calibration slope was 0.716 (95% CI, 0.504–0.928), indicating overly extreme predictions. Operative time, preoperative flexion, closure ROM, and preoperative extension limitation contributed most to XGBoost predictions. Conclusions Using information available by the end of surgery, logistic regression and machine-learning models showed good internal discrimination for poor three-month ROM recovery after primary TKA, and machine learning showed no statistically significant AUC advantage over logistic regression. XGBoost predictions require recalibration, and independent validation is needed before clinical use. This study evaluates knee-specific prediction of a three-month composite outcome using baseline motion and intraoperative findings.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-12-02
DOI
https://doi.org/10.21203/rs.3.rs-11740946/v1
Primary Topic
Total Knee Arthroplasty Outcomes
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Development and internal validation of models to predict poor range- of-motion recovery at three months after primary total knee arthroplasty

Changwen GU, Jiangwei Li, Siyu Yang, Yuxuan Su¹
Research Square
Total Knee Arthroplasty Outcomes
preprint

Development and internal validation of models to predict poor range- of-motion recovery at three months after primary total knee arthroplasty

Changwen GU, Jiangwei Li, Siyu Yang, Yuxuan Su¹
preprint en

Abstract

Background Poor early range of motion (ROM) recovery after primary total knee arthroplasty (TKA) can impair function. This study aimed to develop and internally validate models predicting poor three-month ROM recovery using information available by the end of surgery. Methods This single-center retrospective cohort study included consecutive primary TKAs for knee osteoarthritis performed between 2018 and 2023. Poor recovery was defined as flexion < 90° at three months or manipulation under anesthesia within three months. Development and held-out validation cohorts were partitioned approximately 7:3 with patient grouping. Seven models were compared. After the final predictor set was defined, machine-learning hyperparameters were re-tuned by 10-fold cross-validation without patient grouping, and models were refitted and locked before validation. Discrimination, calibration, decision curves, and Shapley additive explanations (SHAP) were assessed. Results A total of 881 knees from 738 patients were included: 618 development knees with 73 events and 263 validation knees with 30 events. The seven inputs were diabetes mellitus, body mass index, preoperative flexion, preoperative extension limitation, operative time, closure ROM, and deformity magnitude. Validation areas under the receiver operating characteristic curve (AUCs) ranged from 0.868 to 0.918. XGBoost had an AUC of 0.918 (95% CI, 0.868–0.964) and Brier score of 0.059; logistic regression had an AUC of 0.915 (95% CI, 0.864–0.961) and Brier score of 0.060. Their AUC difference was not statistically significant (P = 0.79; Holm-adjusted P = 1.00). The XGBoost calibration slope was 0.716 (95% CI, 0.504–0.928), indicating overly extreme predictions. Operative time, preoperative flexion, closure ROM, and preoperative extension limitation contributed most to XGBoost predictions. Conclusions Using information available by the end of surgery, logistic regression and machine-learning models showed good internal discrimination for poor three-month ROM recovery after primary TKA, and machine learning showed no statistically significant AUC advantage over logistic regression. XGBoost predictions require recalibration, and independent validation is needed before clinical use. This study evaluates knee-specific prediction of a three-month composite outcome using baseline motion and intraoperative findings.

Research Square
Guiyang Medical University (CN), Affiliated Hospital of Guizhou Medical University (CN)
Total Knee Arthroplasty Outcomes
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon