# Predicting Factors Associated with Extended Hospital Stay After Postoperative ICU Admission in Hip Fracture Patients Using Statistical and Machine Learning Methods: A Retrospective Single-Center Study

**Authors:** Volkan Alparslan, Sibel Balcı, Ayetullah Gök, Can Aksu, Burak İnner, Sevim Cesur, Hadi Ufuk Yörükoğlu, Berkay Balcı, Pınar Kartal Köse, Veysel Emre Çelik, Serdar Demiröz, Alparslan Kuş

PMC · DOI: 10.3390/healthcare13192507 · Healthcare · 2025-10-02

## TL;DR

This study uses machine learning to predict which hip fracture patients will have long hospital stays after ICU admission, helping improve hospital resource management.

## Contribution

A novel machine learning model is developed to predict extended hospital stays in hip fracture patients post-ICU admission.

## Key findings

- The XGBoost model outperformed others in predicting extended hospital stays with an AUROC of 0.80.
- Time from fracture to surgery, hypoalbuminaemia, and ASA score were key predictors of hospital stay length.
- SHAP analysis provided insights into feature contributions in the XGBoost model.

## Abstract

Background: Hip fractures are common in the elderly and often require ICU admission post-surgery due to high ASA scores and comorbidities. Length of hospital stay after ICU is a crucial indicator affecting patient recovery, complication rates, and healthcare costs. This study aimed to develop and validate a machine learning-based model to predict the factors associated with extended hospital stay (>7 days from surgery to discharge) in hip fracture patients requiring postoperative ICU care. The findings could help clinicians optimize ICU bed utilization and improve patient management strategies. Methods: In this retrospective single-centre cohort study conducted in a tertiary ICU in Turkey (2017–2024), 366 ICU-admitted hip fracture patients were analysed. Conventional statistical analyses were performed using SPSS 29, including Mann–Whitney U and chi-squared tests. To identify independent predictors associated with extended hospital stay, Least Absolute Shrinkage and Selection Operator (LASSO) regression was applied for variable selection, followed by multivariate binary logistic regression analysis. In addition, machine learning models (binary logistic regression, random forest (RF), extreme gradient boosting (XGBoost) and decision tree (DT)) were trained to predict the likelihood of extended hospital stay, defined as the total number of days from the date of surgery until hospital discharge, including both ICU and subsequent ward stay. Model performance was evaluated using AUROC, F1 score, accuracy, precision, recall, and Brier score. SHAP (SHapley Additive exPlanations) values were used to interpret feature contributions in the XGBoost model. Results: The XGBoost model showed the best performance, except for precision. The XGBoost model gave an AUROC of 0.80, precision of 0.67, recall of 0.92, F1 score of 0.78, accuracy of 0.71 and Brier score of 0.18. According to SHAP analysis, time from fracture to surgery, hypoalbuminaemia and ASA score were the variables that most affected the length of stay of hospitalisation. Conclusions: The developed machine learning model successfully classified hip fracture patients into short and extended hospital stay groups following postoperative intensive care. This classification model has the potential to aid in patient flow management, resource allocation, and clinical decision support. External validation will further strengthen its applicability across different settings.

## Linked entities

- **Diseases:** hip fracture (MONDO:0005327)

## Full-text entities

- **Diseases:** Hip Fracture (MESH:D006620), fracture (MESH:D050723)
- **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/PMC12524269/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12524269/full.md

## References

22 references — full list in the complete paper: https://tomesphere.com/paper/PMC12524269/full.md

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