Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Med.

Sec. Geriatric Medicine

Enhanced Risk Prediction of Femoral Head Osteonecrosis in the Elderly: A Comparative Study of Random Forest and Logistic Regression Models

Provisionally accepted
Peng  ShangPeng ShangQingqing  LiuQingqing LiuHao  MuHao MuHaijin  YangHaijin YangJunqing  JiaJunqing Jia*
  • Shanxi Bethune Hospital, Shanxi Academy of Medical Sciences,Tongji Shanxi Hospital, Third Hospital of Shanxi Medical University, Taiyuan, China

The final, formatted version of the article will be published soon.

Background and aim: Osteonecrosis of the femoral head (ONFH) is a degenerative joint disorder that frequently leads to structural collapse and impaired mobility, particularly in older adults. Early detection of associated risk factors is essential for timely intervention. This study aimed to compare the predictive performance of a Random Forest (RF) algorithm and a Logistic Regression (LR) model in identifying key contributors to ONFH in elderly patients. Methods: This retrospective study included 339 patients aged ≥75 years who received treatment at Shanxi Bethune Hospital from January 2017 to December 2023, with complete clinical and imaging records. Variables included demographics, bone mineral density, medication and lifestyle history, comorbidities, and radiographic findings. Patients were randomly allocated into training (70%) and validation (30%) cohorts. Predictive models were developed using RF and LR, with performance assessed by accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC). Results: Both models consistently identified corticosteroid exposure, reduced bone mineral density, prior femoral fractures, and advanced age as major risk factors. The RF model demonstrated superior performance (AUC = 0.896; accuracy = 83.5%; sensitivity = 82.4%; specificity = 84.3%) compared to the LR model (AUC = 0.797; accuracy = 75.0%; sensitivity = 72.0%; specificity = 76.0%). ROC analysis confirmed the RF model's enhanced discriminative ability. Conclusions: The RF algorithm outperformed traditional logistic regression in predicting ONFH among older adults, highlighting the potential of machine learning techniques to support early risk identification and improve clinical decision-making in orthopedic care.

Keywords: Avascular necrosis, Femoral head, Elderly, random forest, Logistic regression, Prediction model, Risk factors

Received: 09 Jun 2025; Accepted: 10 Nov 2025.

Copyright: © 2025 Shang, Liu, Mu, Yang and Jia. 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: Junqing Jia, jjq_bethune@163.com

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.