Related Experiment Video
Updated: Jul 24, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Bayesian model averaging for predicting factors associated with length of COVID-19 hospitalization
Shabnam Bahrami1, Karimollah Hajian-Tilaki2,3, Masomeh Bayani4
1Student Research Center, Research Institute, Babol University of Medical Sciences, Babol, Iran.
Insights
Bayesian model averaging (BMA) identified key predictors for COVID-19 length of hospital stay (LOHS). ICU admission, respiratory distress, and diabetes significantly impact LOHS, informing clinical management and resource allocation.
Area of Science:
- Medical Informatics
- Epidemiology
- Biostatistics
Background:
- The length of hospital stay (LOHS) for COVID-19 patients presents significant financial and psychological burdens.
- Identifying predictors of LOHS is crucial for healthcare system management and patient care.
Purpose of the Study:
- To determine the key predictors of COVID-19 length of hospital stay (LOHS).
- To evaluate the performance of Bayesian model averaging (BMA) against classical and machine learning models for LOHS prediction.
Main Methods:
- A historical cohort study of 4996 COVID-19 patients.
- Comparison of six models: stepwise, AIC, BIC (classical linear regression), two BMA methods (Occam's Window, MCMC), and Gradient Boosting Decision Tree (GBDT).
- Analysis of demographic, clinical, and biomarker data to predict LOHS.
Main Results:
- The average LOHS was 6.7 ± 5.7 days.
- Bayesian model averaging (BMA) using Occam's Window demonstrated superior performance (R² = 0.174) compared to classical models.
- Significant predictors of LOHS included ICU admission, respiratory distress, age, diabetes, CRP, PO2, WBC, AST, BUN, and NLR.
Conclusions:
- The BMA with Occam's Window method offers a better fit and predictive performance for identifying factors influencing COVID-19 LOHS.
- Findings highlight critical clinical indicators for predicting prolonged hospitalization in COVID-19 patients.
Introduction:
The length of hospital stay (LOHS) caused by COVID-19 has imposed a financial burden, and cost on the healthcare service system and a high psychological burden on patients and health workers. The purpose of this study is to adopt the Bayesian model averaging (BMA) based on linear regression models and to determine the predictors of the LOHS of COVID-19.
Methods:
In this historical cohort study, from 5100 COVID-19 patients who had registered in the hospital database, 4996 patients were eligible to enter the study. The data included demographic, clinical, biomarkers, and LOHS. Factors affecting the LOHS were fitted in six models, including the stepwise method, AIC, BIC in classical linear regression models, two BMA using Occam's Window and Markov Chain Monte Carlo (MCMC) methods, and GBDT algorithm, a new method of machine learning.
Results:
The average length of hospitalization was 6.7 ± 5.7 days. In fitting classical linear models, both stepwise and AIC methods (R 2 = 0.168 and adjusted R 2 = 0.165) performed better than BIC (R 2 = 0.160 and adjusted = 0.158). In fitting the BMA, Occam's Window model has performed better than MCMC with R 2 = 0.174. The GBDT method with the value of R 2 = 0.64, has performed worse than the BMA in the testing dataset but not in the training dataset. Based on the six fitted models, hospitalized in ICU, respiratory distress, age, diabetes, CRP, PO2, WBC, AST, BUN, and NLR were associated significantly with predicting LOHS of COVID-19.
Conclusion:
The BMA with Occam's Window method has a better fit and better performance in predicting affecting factors on the LOHS in the testing dataset than other models.
More Related Videos
Related Concept Videos
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Factors Affecting Illness
For instance, risk factors are connected to illness,...
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Steps in Outbreak Investigation
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Statistical Methods for Analyzing Epidemiological Data

