Forecasting emergency department hourly occupancy using time series analysis

Am J Emerg Med. 2021 Oct:48:177-182. doi: 10.1016/j.ajem.2021.04.075. Epub 2021 Apr 29.

Abstract

Study objective: To develop a novel predictive model for emergency department (ED) hourly occupancy using readily available data at time of prediction with a time series analysis methodology.

Methods: We performed a retrospective analysis of all ED visits from a large academic center during calendar year 2012 to predict ED hourly occupancy. Due to the time-of-day and day-of-week effects, a seasonal autoregressive integrated moving average with external regressor (SARIMAX) model was selected. For each hour of a day, a SARIMAX model was built to predict ED occupancy up to 4-h ahead. We compared the resulting model forecast accuracy and prediction intervals with previously studied time series forecasting methods.

Results: The study population included 65,132 ED visits at a large academic medical center during the year 2012. All adult ED visits during the first 265 days were used as a training dataset, while the remaining ED visits comprised the testing dataset. A SARIMAX model performed best with external regressors of current ED occupancy, average department-wide ESI, and ED boarding total at predicting up to 4-h-ahead ED occupancy (Mean Square Error (MSE) of 16.20, and 64.47 for 1-hr- and 4-h- ahead occupancy, respectively). Our 24-SARIMAX model outperformed other popular time series forecasting techniques, including a 60% improvement in MSE over the commonly used rolling average method, while maintaining similar prediction intervals.

Conclusion: Accounting for current ED occupancy, average department-wide ESI, and boarding total, a 24-SARIMAX model was able to provide up to 4 h ahead predictions of ED occupancy with improved performance characteristics compared to other forecasting methods, including the rolling average. The prediction intervals generated by this method used data readily available in most EDs and suggest a promising new technique to forecast ED occupancy in real time.

Keywords: ED crowding; Time series methods.

MeSH terms

  • Academic Medical Centers*
  • Adolescent
  • Adult
  • Aged
  • Bed Occupancy / trends*
  • Child
  • Child, Preschool
  • Crowding
  • Emergency Service, Hospital*
  • Female
  • Forecasting
  • Humans
  • Infant
  • Male
  • Middle Aged
  • Models, Statistical
  • Young Adult