# Exploring the optimal age for total knee arthroplasty to minimize risk of adverse outcomes: machine learning analysis of a statewide cohort

**Authors:** Chloe Heiting, Yiyuan Wu, Susan M. Goodman, Peter Sculco, Fei Wang, Said Ibrahim, Peter Cram, Rich Caruana, Bella Mehta

PMC · DOI: 10.1186/s42836-026-00372-z · Arthroplasty · 2026-02-28

## TL;DR

This study uses machine learning to find the best age for knee replacement surgery to reduce risks like readmission and complications.

## Contribution

The study identifies specific age thresholds where risks for adverse TKA outcomes change significantly using explainable machine learning.

## Key findings

- Age has a nonlinear relationship with TKA risks, with key thresholds at 63.5, 73.5, and 76.5 years.
- Optimal age for lower 90-day mortality, readmission, and longer hospital stay is below 73.5 years.
- Lower risk of 1-year revision is observed for patients above 63.5 years.

## Abstract

Rates of total knee arthroplasty (TKA) in the United States have risen in patients of a wide age range. Although rates of postoperative TKA complications have decreased, they remain a significant concern. In this study, we aim to determine how the risk of adverse TKA outcomes changes dynamically with age and explore the optimal ages with the lowest risk for adverse outcomes.

This retrospective cohort study included patients who underwent elective primary TKA from 2012 to 2018 in the Pennsylvania Health Care Cost Containment Council Database. We trained (70% train:30% test) an explainable boosting machine (EBM), a modern generalized additive model, to predict risk for 90-day mortality, 90-day readmission, 1-year revision, and longer length of stay (LOS). This “glass box” model allowed us to measure and visualize feature importance using mean absolute scores and determine the role of age in the model. We then ran EBM models that allowed two-way interactions between age and patient-level covariates.

In our cohort of 227,959 patients, 90-day readmission was observed in 7.5%, 90-day mortality in 0.2%, and 1-year revision in 0.8%. The median LOS was 2 days (IQR [2, 3]). Age was among the most important factors for predicting all outcomes, and these were nonlinear relationships. The risk for 90-day mortality increased substantially at 76.5 years, and for 90-day readmission and longer LOS at 73.5 years. Risk for 1-year revision was greater before 63.5 years.

We determined that there is a nonlinear relationship between age and risk for adverse TKA outcomes, and it changes dramatically at specific time points. Our data suggests that the optimal age for lower risk of 90-day mortality, 90-day readmission, and longer LOS is below 73.5 years, and above 63.5 years for 1-year revision. These findings can help in decision-making when trying to quantify risks related to aging.

## Full-text entities

- **Diseases:** pain (MESH:D010146), fracture (MESH:D050723), metastatic and bone cancer (MESH:D001859), Comorbidity (MESH:D004194), injuries (MESH:D014947), avascular necrosis (MESH:D010020), diabetes (MESH:D003920), LOS (MESH:D007870), EBM (MESH:D007859), obesity (MESH:D009765), OA (MESH:D010003), hypertension (MESH:D006973), died (MESH:D003643), rheumatoid arthritis (MESH:D001172), Arthritis (MESH:D001168), TKA (MESH:D007718), Musculoskeletal and Skin Diseases (MESH:D009140)
- **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/PMC12949503/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12949503/full.md

## References

5 references — full list in the complete paper: https://tomesphere.com/paper/PMC12949503/full.md

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