Research Article

Hybrid GAM–XGB Model for Predicting Hospital Length of Stay

Number: Advanced Online Publication Early Pub Date: July 24, 2026
EN TR

Hybrid GAM–XGB Model for Predicting Hospital Length of Stay

Abstract

Due to the rise in both chronic illnesses and longevity, healthcare systems are now compelled to manage their resources more strategically. In this context, Length of Stay (LOS) stands out as a key performance indicator for measuring the efficiency of healthcare services. This study analyzed the effects of homogram findings and demographic data on LOS for 6560 patients admitted to the cardiology clinic with a diagnosis of decompensated heart failure. To overcome the limitations of existing statistical and machine learning models, a new hybrid model combining Generalized Additive Models (GAM) and Xtreme Gradient Boosting (XGB) was introduced. The transfer of partial effects from GAM into the XGB model, utilizing them as new features, was instrumental in achieving a significant improvement in the model's overall prediction and generalization performance. The results show that the proposed model offers higher performance and clinical interpretability in LOS prediction compared to other models. The proposed method is poised to significantly advance healthcare planning by mitigating critical shortcomings in existing LOS prediction tools and establishing a robust framework for advanced clinical decision support systems.

Keywords

References

  1. Wang, Z., Rostami-Tabar, B., Haider, J., Haider, J., and Naim, M., “Patient length of stay in trauma networks: Insights from advanced modelling”, Expert Systems with Applications, 289:127801, (2025). DOI: https://doi.org/10.1016/j.eswa.2025.127801
  2. https://www.who.int/news-room/facts-in-pictures/detail/patient-safety. Access date: 24.01.2026.
  3. Borghans, I., Heijink, R., Kool, T., Lagoe, R.J.,, and Westert, G.P., “Benchmarking and reducing length of stay in Dutch hospitals”, BMC Health Services Research, 8:220, (2008). DOI: https://doi.org/10.1186/1472-6963-8-220
  4. Fine, M.J., Pratt, H.M., Obrosky, D.S., Lave, J.R., McIntosh L.J., Singer D.S., Coley C.M., and Kapoor W.N., “Relation between length of hospital stay and costs of care for patients with community-acquired pneumonia”, The American Journal of Medicine, 109(5):378–385, (2000). DOI: https://doi.org/10.1016/s0002-9343(00)00500-3
  5. Su, M., Pan, D., Zhao, Y., Chen, C., Wang, X., Lu, W., Meng, H., Su, X., and Liang, P., “The direct and indirect effects of length of hospital stay on the costs of inpatients with stroke”, Frontiers in Public Health, 10:881273, (2022). DOI: https://doi.org/10.3389/fpubh.2022.881273
  6. Graves, N., “Economics of preventing hospital infection”, Emerging Infectious Diseases, 10(4):561–566, (2004). DOI: https://doi.org/10.3201/eid1004.020754
  7. Clarke, A., “Length of stay: How short should hospital care be?”, European Journal of Public Health, 11(2):166–170, (2001). DOI: https://doi.org/10.1093/eurpub/11.2.166
  8. Hirani, R., Podder, D., Stala, O., Mohebpour, R., Tiwari, R.K., and Etienne, M., “Strategies to reduce hospital length of stay: Evidence and challenges”, Medicina, 61(5):922, (2025). DOI: https://doi.org/10.3390/medicina61050922

Details

Primary Language

English

Subjects

Biostatistics, Computational Statistics, Statistical Data Science, Applied Statistics, Urban Planning and Health

Journal Section

Research Article

Early Pub Date

July 24, 2026

Publication Date

-

Submission Date

February 2, 2026

Acceptance Date

May 20, 2026

Published in Issue

Year 2026 Number: Advanced Online Publication

APA
Koçyiğit, G. İ., Bakır, M. A., & Candemir, M. (2026). Hybrid GAM–XGB Model for Predicting Hospital Length of Stay. Gazi University Journal of Science, Advanced Online Publication. https://doi.org/10.35378/gujs.1876013
AMA
1.Koçyiğit Gİ, Bakır MA, Candemir M. Hybrid GAM–XGB Model for Predicting Hospital Length of Stay. Gazi University Journal of Science. 2026;(Advanced Online Publication). doi:10.35378/gujs.1876013
Chicago
Koçyiğit, Gizem İklil, M. Akif Bakır, and Mustafa Candemir. 2026. “Hybrid GAM–XGB Model for Predicting Hospital Length of Stay”. Gazi University Journal of Science, no. Advanced Online Publication. https://doi.org/10.35378/gujs.1876013.
EndNote
Koçyiğit Gİ, Bakır MA, Candemir M (July 1, 2026) Hybrid GAM–XGB Model for Predicting Hospital Length of Stay. Gazi University Journal of Science Advanced Online Publication
IEEE
[1]G. İ. Koçyiğit, M. A. Bakır, and M. Candemir, “Hybrid GAM–XGB Model for Predicting Hospital Length of Stay”, Gazi University Journal of Science, no. Advanced Online Publication, July 2026, doi: 10.35378/gujs.1876013.
ISNAD
Koçyiğit, Gizem İklil - Bakır, M. Akif - Candemir, Mustafa. “Hybrid GAM–XGB Model for Predicting Hospital Length of Stay”. Gazi University Journal of Science. Advanced Online Publication (July 1, 2026). https://doi.org/10.35378/gujs.1876013.
JAMA
1.Koçyiğit Gİ, Bakır MA, Candemir M. Hybrid GAM–XGB Model for Predicting Hospital Length of Stay. Gazi University Journal of Science. 2026. doi:10.35378/gujs.1876013.
MLA
Koçyiğit, Gizem İklil, et al. “Hybrid GAM–XGB Model for Predicting Hospital Length of Stay”. Gazi University Journal of Science, no. Advanced Online Publication, July 2026, doi:10.35378/gujs.1876013.
Vancouver
1.Gizem İklil Koçyiğit, M. Akif Bakır, Mustafa Candemir. Hybrid GAM–XGB Model for Predicting Hospital Length of Stay. Gazi University Journal of Science. 2026 Jul. 1;(Advanced Online Publication). doi:10.35378/gujs.1876013