Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis

Background: Community-acquired pneumonia (CAP) remains a leading cause of hospitalization worldwide. Accurate prediction of length of stay (LOS) is crucial for optimizing hospital bed turnover, improving clinical resource allocation, and facilitating the development of individualized discharge plans, thereby reducing the strain on healthcare systems. Methods: , Akaike Information Criterion, and 10-fold cross-validation. To further explain the complex relationship between specific treatment factors and LOS, restricted cubic splines and piecewise regression were utilized, specifically to evaluate non-linear associations and identify clinical inflection points. Results: < 0.05). Piecewise regression identified an inflection point at 7.398 days, after which LOS increased more rapidly. Conclusions: Multiple clinical and treatment-related factors were associated with LOS in CAP. Antibiotic duration showed a pronounced non-linear pattern, with treatment beyond 1 week linked to markedly longer hospitalization. These findings may help identify patients at risk of prolonged LOS and support more efficient clinical decision-making.

Authors

Institutions

Publication Details

Journal
Frontiers in Public Health
Published
2026-04-22
DOI
https://doi.org/10.3389/fpubh.2026.1768432
Primary Topic
Pneumonia and Respiratory Infections
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis

Lin Feng, Xi Zhu, Hong Wei, Xiaohui Luo et al.
Frontiers in Public Health
Pneumonia and Respiratory Infections
article

Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis

Lin Feng, Xi Zhu, Hong Wei, Xiaohui Luo, Xianyang Chen, C Chia-Kai Yang, Juewei Pan, Lei Wang, Xiaomin Zheng, Yige Song, Genxiu Luo, Min Jiang, Hualong Zeng
article en

Abstract

Background: Community-acquired pneumonia (CAP) remains a leading cause of hospitalization worldwide. Accurate prediction of length of stay (LOS) is crucial for optimizing hospital bed turnover, improving clinical resource allocation, and facilitating the development of individualized discharge plans, thereby reducing the strain on healthcare systems. Methods: , Akaike Information Criterion, and 10-fold cross-validation. To further explain the complex relationship between specific treatment factors and LOS, restricted cubic splines and piecewise regression were utilized, specifically to evaluate non-linear associations and identify clinical inflection points. Results: < 0.05). Piecewise regression identified an inflection point at 7.398 days, after which LOS increased more rapidly. Conclusions: Multiple clinical and treatment-related factors were associated with LOS in CAP. Antibiotic duration showed a pronounced non-linear pattern, with treatment beyond 1 week linked to markedly longer hospitalization. These findings may help identify patients at risk of prolonged LOS and support more efficient clinical decision-making.

Frontiers in Public HealthVol. 14
Fujian Medical University (CN), Capital Medical University (CN), Alliance Data (United States) (US)
Openalex Percentile: Top 23%
Pneumonia and Respiratory Infections
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.

Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis — Lin Feng, Xi Zhu, et al. · Frontiers in Public Health (2026) | TGRS Research Map | TGRS