Forecasting emergency department waiting time using a state space representation

Stat Med. 2023 Oct 30;42(24):4458-4483. doi: 10.1002/sim.9870. Epub 2023 Aug 9.

Abstract

The provision of waiting time information in emergency departments (ED) has become an increasingly popular practice due to its positive impact on patient experience and ED demand management. However, little scientific attention has been given to the quality and quantity of waiting time information presented to patients. To improve both aspects, we propose a set of state space models with flexible error structures to forecast ED waiting time for low acuity patients. Our approach utilizes a Bayesian framework to generate uncertainties associated with the forecasts. We find that the state-space models with flexible error structures significantly improve forecast accuracy of ED waiting time compared to the benchmark, which is the rolling average model. Specifically, incorporating time-varying and correlated error terms reduces the root mean squared errors of the benchmark by 10%. Furthermore, treating zero-recorded waiting times as unobserved values improves forecast performance. Our proposed model has the ability to provide patient-centric waiting time information. By offering more accurate and informative waiting time information, our model can help patients make better informed decisions and ultimately enhance their ED experience.

Keywords: Bayesian state space model; MCMC; emergency department waiting time.