NARX Neural Networks Model for Forecasting Daily Patient Arrivals in the Emergency Department
Regarding measuring of service quality at the emergency departments (ED), essential parameters are length of stay (LOS) and waiting times. Patient arrivals, which is related to LOS and waiting times, is hard to forecast and is affected by many parameters. Therefore, authors employed a Nonlinear Autoregressive Exogenous (NARX) model for forecasting of ED arrivals. NARX models are used extensively in many applications that show non-linear and dynamic behavior, but as far as authors know, the NARX method has not yet been used in the forecast of ED arrivals before. In this study, calendar and climatic variables are defined as input parameters. Patient Arrivals is defined as output parameter. A commercial software, MATLAB, was used to train and test the data set. To find the best network architecture Levenberg-Marquardt (LM) and Bayesian Regularization (BR) algorithms, different lags, and number of neurons were tested. R-squared and mean square error (MSE) are used to evaluate the accuracy of the tested networks.