Next Article in Journal
Factors Affecting Turnover Intention among New Graduate Nurses: Focusing on Job Stress and Sleep Disturbance
Previous Article in Journal
Comparison of Measurements of External Load between Professional Soccer Players
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comparison of Univariate and Multivariate Forecasting Models Predicting Emergency Department Patient Arrivals during the COVID-19 Pandemic

1
Department of Marketing & Business Analytics, San Jose State University, One Washington Square, San Jose, CA 95192, USA
2
Department of Industrial & Systems Engineering, Wayne State University, 4815 4th Street, Detroit, MI 48202, USA
3
Department of Computer Science, Wayne State University, 5057 Woodward Ave., Detroit, MI 48202, USA
4
Texas Commission on Environmental Quality, Critical Infrastructure Division, 1200 Park 35 Circle, Austin, TX 78711, USA
5
Departments of Emergency Medicine and Internal Medicine, Henry Ford Hospital, 2799 W Grand Blvd, Detroit, MI 48202, USA
*
Author to whom correspondence should be addressed.
Healthcare 2022, 10(6), 1120; https://doi.org/10.3390/healthcare10061120
Submission received: 12 May 2022 / Revised: 3 June 2022 / Accepted: 14 June 2022 / Published: 16 June 2022
(This article belongs to the Section Health Informatics and Big Data)

Abstract

:
The COVID-19 pandemic has heightened the existing concern about the uncertainty surrounding patient arrival and the overutilization of resources in emergency departments (EDs). The prediction of variations in patient arrivals is vital for managing limited healthcare resources and facilitating data-driven resource planning. The objective of this study was to forecast ED patient arrivals during a pandemic over different time horizons. A secondary objective was to compare the performance of different forecasting models in predicting ED patient arrivals. We included all ED patient encounters at an urban teaching hospital between January 2019 and December 2020. We divided the data into training and testing datasets and applied univariate and multivariable forecasting models to predict daily ED visits. The influence of COVID-19 lockdown and climatic factors were included in the multivariable models. The model evaluation consisted of the root mean square error (RMSE) and mean absolute error (MAE) over different forecasting horizons. Our exploratory analysis illustrated that monthly and weekly patterns impact daily demand for care. The Holt–Winters approach outperformed all other univariate and multivariable forecasting models for short-term predictions, while the Long Short-Term Memory approach performed best in extended predictions. The developed forecasting models are able to accurately predict ED patient arrivals and peaks during a surge when tested on two years of data from a high-volume urban ED. These short- and long-term prediction models can potentially enhance ED and hospital resource planning.

1. Introduction

Emergency departments (ED) are susceptible to significant variations in patient arrival times. At times, EDs experience “surges” of a large influx of patients. Surges are usually the result of human-made or natural events, such as the COVID-19 pandemic. The strain of unexpected and substantial fluctuations in patient volume can cause long patient waiting times [1] and long boarding times while awaiting placement in the hospital [2]. ED crowding results from a mismatch between existing hospital capacity and various input, throughput, and output factors, such as ED arrivals, beds, staffing, hospital admission, and discharge rates. Inadequate handling of patient crowding may lead to suboptimal ED operations linked to adverse patient outcomes, such as new or worsening symptoms or death [3,4]. Additionally, ED crowding causes strain on medical staff and is associated with reduced patient safety [1,5,6].
The COVID-19 pandemic has intensified existing ED crowding and throughput issues. Many hospitals and EDs have faced unprecedented challenges in managing surges in infected patients, leaving them overwhelmed and unable to meet patient care demands promptly. This challenge has been exacerbated by the nursing shortage. To maintain high-quality care and manage the increase in ED volumes during surges, as seen during the COVID-19 pandemic, hospitals and EDs could benefit from high-quality forecasting data.
ED demand prediction, expressed as daily visits, has been assessed using different time-series forecasting approaches [7,8]. Although such studies exist on forecasting ED arrivals before the pandemic [9], much of the variation in ED arrivals remains unaccounted for, and model derivation during surges in patient encounters is lacking [10]. Furthermore, it is well established in literature that climatic variables, such as temperature, can affect the health of a community, leading to an increase in ED patient arrivals and hospital admissions [11,12,13,14]. There is a need to understand if climatic variables significantly affect patient arrivals during the pandemic.
The primary objective of this study was to forecast ED arrivals during a pandemic over different time horizons. The secondary objective was to compare the performance of the four forecasting models in predicting the demand for medical care, considering the effect of a global pandemic and climatic factors on patient arrival to the ED. Such forecasting and comparative modeling have the potential to advance the science of predicting ED and hospital resource utilization before surges in patient encounters.

2. Materials and Methods

2.1. Study Design, Setting, and Selection of Participants

We derived forecasting models for the daily number of ED visits in a retrospective, observational, cross-sectional study. These models compared different time horizons ranging from 1 to 30 days to predict daily patient arrivals. For example, a 14-day horizon predicted patient arrivals in 14 days from the time the model was run. We compared the model performance with the inclusion of pandemic and climatic factors. Data collection was inclusive of encounters from January 2019 to December 2020. The study was approved by the Henry Ford Hospital Institutional Review Board prior to data collection, with a waiver of informed consent.
The data were collected from an 877-bed urban academic hospital with a Level 1 trauma center serving a high-acuity, diverse, urban patient population in Detroit, Michigan. The ED treats an estimated 100,000 patients annually and has a 24% admission rate. All patients were included during the study period. We did not exclude any patients.
Although this study builds on existing forecasting methods, our use-inspired analytics research aims to apply these methods to solve a unique and challenging healthcare operation problem during the ongoing COVID-19 pandemic. This work presents a retrospective study, applying predictive models to accurately forecast patient arrival, as portrayed in Figure 1.

2.2. Data Processing and Statistical Analysis

As shown in Figure 1, the framework starts with data processing and statistical analysis. The second phase focused on the development of predictive models. The predictive models included univariate models: seasonal autoregressive integrated moving average (SARIMA), Facebook Prophet (FP), Holt–Winters (HW), and Long Short-Term Memory (LSTM). They also included multivariable models: seasonal autoregressive integrated moving average exogenous (SARIMAX), FP with regressors, and exogenous LSTM. The forecasting algorithms were evaluated based on their performance on the test dataset using the root mean square error (RMSE) and mean absolute error (MAE).
From the de-identified data, we extracted the arrival time and date for all patients arriving at the ED. To investigate the variation in patients’ arrival, including the impact by month of the year and day of the week, we used analysis of variance (ANOVA). As part of the exploratory analysis, we applied a Bayesian change-point analysis to investigate the behavior of patients’ arrival to the ED. Next, we analyzed the time-series data for stationarity. As stationarity has a tremendous influence on how the data are perceived and predicted, first-order differencing was applied to stabilize the time-series mean and/or variance if the time-series data are non-stationary. We used the Augmented Dickey Fuller (ADF) test to analyze the stationarity of the transformed data. Finally, we used a Spearman correlation to assess the relationship between the time-series variables for feature selection analysis in multivariable forecasting.

2.3. Forecasting Models

Time-series forecasting is a machine learning strategy in which models are trained over time-sequenced data (i.e., time-series) to make predictions [15]. Time-series forecasting has many applications, such as disease prevention and incidence [16], finance (i.e., predicting future stock or sale prices) [17], weather forecasting (i.e., monitoring air pollution) [18], and transportation (i.e., predicting traffic flow) [19]. To develop forecasting models for time-series analysis, the ED patient arrival time-series data (T) can be modeled as a matrix, where T = [ [ t 1 ] , [ t 2 ] , [ t 3 ] , , [ t n ] ] and each element, T n , is a vector.
Patient arrival can be studied using either univariate or multivariable time-series forecasting. In the univariate time-series analysis, single observations of patient arrival were recorded sequentially over daily increments, and the forecasting model contained lag values of daily patient arrival as independent variables. Multivariable time-series models are extensions of the univariate case, incorporating the lags of other time series in addition to patient arrival at the same time increments. Table 1 presents the benefits and limitations of the models.
Multivariable time-series forecasting models study the interrelationships among time-series variables. Table 2 reports the exogenous variables implemented in the multivariable models. The influence of an emerging infectious disease outbreak and climatic features were the main factors included in the multivariable model. This study extracted historical climatic data from the National Weather Service Archive [20]. Literature supports the impact of climatic variables, such as temperature, on ED daily visits, which correlates with demand for medical services [21,22]. In addition to the climate factors, data on the COVID-19 pandemic are relevant to ED visits [23]. The timeframe of the disease outbreak and subsequent lockdown in Michigan was extracted from the Michigan Department of Human and Health Services [24].
A brief summary for the univariate and multivariable forecasting models are presented below. See the methodological equations section of Appendix A for a detailed explanation of the forecasting models.
Seasonal Autoregressive Integrated Moving Average (SARIMA). The SARIMA model is an extension of ARIMA which accounts for seasonality in time series data [25]. SARIMA captures patients’ arrival behavior based on historical time-series data and is widely applied in healthcare-related forecasting [26]. SARIMA is synonymous with a simple linear regression model and only accounts for one independent variable. The time series function, Yt, utilizes a lag operator, B, to process SARIMA as ( p , d , q ) × ( P , D , Q ) m . The SARIMA model equation is [25]:
p ( B ) Φ P ( B m ) d ( 1 B m ) D Y t = θ q ( B ) Θ Q ( B m ) ε t
In Equation (1), B is the lag operator (defined as B k × Y t = Y t k )
p ( B ) = 1 1 B 2 B 2 p B p
Φ P ( B m ) = 1 Φ m B m Φ 2 m B 2 m Φ P m B P m
θ q ( B ) = 1 θ 1 B θ 2 B 2 θ q B q
Θ Q ( B m ) = 1 Θ m B m Θ 2 m B 2 m Θ Q m B Q m
where ϕ ( B )   and   θ ( B ) are polynomials of order p and q, respectively. Φ ( B m )   and   Θ ( B m ) are polynomial in B of degrees P   and   Q , respectively. p denotes the order of non-seasonal autoregression, d is the number of regular differences, and q is the order of the non-seasonal moving average. P means the order of seasonal autoregression, D is the number of seasonal differences, Q represents the order of the seasonal moving average, and m denotes the length of the season.
Seasonal Autoregressive Integrated Moving Average Exogenous (SARIMAX). The SARIMAX model expands the capabilities of SARIMA to cover the interrelations of exogenous variables (i.e., more than one independent variable) [27,28]. SARIMAX models consider exogenous factors in search of a better justification of the behavior of the target variable (i.e., patients’ arrival). It provides the required modeling framework to rectify autocorrelation by describing error terms of linear regression models, expressed as ( p ,   d ,   q ) × ( P ,   D ,   Q ) m . SARIMAX has the potential to be a good fit for modeling ED patient arrivals as they exhibit a seasonal pattern, and the effect of COVID-19 and climatic factors can be modeled as an exogenous variable that affects daily ED visits. The SARIMAX is modeled as:
Y t = β 0 + β 1 X 1 , t + β 2 X 2 , t + + β k X k , t + ( 1 θ 1 B θ 2 B 2 θ q B q ) ( 1 Θ 1 B s Θ 2 B 2 s Θ Q B Q s ) ( 1 ϕ 1 B ϕ 2 B 2 ϕ p B p ) ( 1 Φ 1 B s Φ 2 B 2 s Φ P B P s ) ε t
where Y t is the tth observation of the dependent variable; X 1 , t ,   X 2 , t ,   ,   X k , t expresses the corresponding observations of the explanatory (exogenous) variables; β 0 ,   β 1 ,   β 2 ,   .   .   .   ,   β k denotes parameters of the regression part; and φ 1 ,   φ 2 ,   .   .   .   ,   φ p ,   Φ 1 ,   Φ 2 ,   .   .   .   ,   Φ P ,   θ 1 ,   θ 2 ,   .   .   .   ,   θ q ,   and   Θ 1 ,   Θ 2 ,   .   .   .   ,   Θ Q represents the weights for the non-seasonal and seasonal autoregressive terms and moving average terms. SARIMAX seems to be a good fit in the present study, as ED patient arrival exhibits a seasonal pattern, as does the COVID-19 lockdown, and climatic factors can be modeled as an exogenous variable that affects daily ED visits.
Facebook Prophet (FP). FP was developed and introduced by Facebook in 2017. FP is a method for forecasting time series data using an additive model, where nonlinear trends fit daily, weekly, and yearly seasonality, including the effects of events [29]. FP utilizes a generalized linear and additive regression model y ( t ) comprising the following components:
y ( t ) = g ( t ) + s ( t ) + h ( t ) + ϵ t
where trend, g ( t ) , is the non-periodic changes; seasonality, s ( t ) , represents the periodic changes; the holiday component, h ( t ) , contributes information about events occurring within the ED patient arrival data and as an extra regressor. The error term, ϵ t , represents any distinctive features of the data that the model does not fit. The FP trend function, g(t), can be denoted as a piecewise linear growth model or a saturating growth model. Since patient arrival does not exhibit a saturating growth, a piecewise linear growth model is utilized:
g ( t ) = ( k + a ( t ) T × δ ) t + ( m + a ( t ) T × γ )
where k is the growth rate; δ is the rate adjustment; m is an offset parameter; and γ is the trend changepoints, s j , and is set as s j δ j , with a ( t ) defined as:
a j ( t ) = { 1   i f   t s j   0   o t h e r w i s e
The changepoints allow us to adjust the resulting forecast based on experience. Therefore, the trend of the forecast can be fine-tuned, which results in an improved forecast. The seasonality function s ( t ) can be analyzed and fit into the proposed model with seasonality effects (i.e., daily, weekly, and yearly) using the Fourier series. The seasonality equation is given as:
s ( t ) = n = 1 N ( a n × cos ( 2 π nt P ) + b n × sin ( 2 π nt P ) )
where P is the regular period of 365 days for the yearly seasonality pattern. Additionally, FP allows the inclusion of explanatory variables to enhance the forecast results. In this study, the events are modeled as the COVID-19 pandemic period. For instance, using the h ( t ) function and defining the dates of the pandemic as a matrix of regressors, Z ( t ) is defined as:
Z ( t ) = [ 1 ( t   D 1 ) ,   ,   1 ( t   D L ) ]
h ( t ) = Z ( t ) k
where D is the set of pandemic dates, κ ~ N o r m a l ( 0 ,   v 2 ), and v is the event smoothing parameter. For the multivariable FP model, additional variables such as the maximum temperature, average temperature, minimum temperature, pressure, humidity, and precipitation were utilized, resulting in a more reliable forecast.
Holt–Winters (HW). The HW method models the patients’ arrival in three dimensions: a typical value (average), a slope (trend) over time, and seasonality. It encompasses forecast and smoothing equations—one for the level, t ; one for the trend, b t ; and one for the seasonal component, s t , with corresponding smoothing parameters, α ,   β * ,   and   γ . c is used to denote the seasonality frequency (i.e., the number of seasons in a year in which patients present to the ED). Two variations exist for the HW method, namely additive HW and multiplicative HW. The additive HW method is ideal when seasonal variations are constant through the series, whereas the multiplicative HW method is ideal when seasonal variations are changing proportionally to the level of the series [22,30]. In this study, the seasonal multiplicative HW method was used as it exhibited a better fit to the data. The equation for the multiplicative HW form is expressed as [31]:
y ^ ( t + h | t ) = ( t + h b t ) s t + h c ( k + 1 )
t = α × y t s t c + ( 1 α ) × ( t 1 + b t 1 )
b t = β * × ( t t 1 ) + ( 1 β * ) × b t 1
s t = γ × y t ( t 1 + b t 1 )   + ( 1 γ ) × s t c
where 0 < α     1 ,   0     β     1   and   0     γ     1 α . The t values represent the baseline, the b t values represent the trend, and the s t values represent the seasonality component. In the multiplicative model, for any consecutive c periods, the sum of s t 1 .
Long Short-Term Memory (LSTM). LSTM neural networks are a type of recurrent neural network (RNN) capable of learning order dependence in forecasting problems. LSTM has successively addressed the vanishing gradient problem of RNNs by introducing cell states [32,33]. We utilized LSTM as a univariate model to forecast ED patient arrivals. In Figure 2, the forward propagation of time-series data in LSTMs is illustrated.
Given an input time series v = { v 1 ,   v 2 ,   ,   v T } , the LSTM network maps the input time-series data to two output time sequences, h = { h 1 ,   h 2 ,   ,   h T } and y = { y 1 ,   y 2 ,   ,   y T } , iteratively by updating the states of memory cells with the following procedure. First, as shown in Figure 2, the forget gate is applied to help the LSTM network decide how to process information from the cell state. A sigmoid function σ ( · ) is applied to calculate the activation of the forget gate as [18]:
f t = σ ( W f v v t + W f h h t 1 + W f c C t 1 + b f )
The output, f t , from Equation (17) is a value between 0 and 1, corresponding to the last cell state, C t 1 . The value 0 results in forgetting the last state completely, while the value 1 stands for keeping the last state completely. Next, the LSTM model decides the new information to be stored in the new cell state by utilizing a sigmoid layer. The input gate layer, i t , is represented as
i t = σ ( W i v v t + W i h h t 1 + W i c C t 1 + b i )
The input gate identifies the information to be updated. The tanh function constructs a vector, C ˜ t , to store the new values, which is added to the new cell state as
C ˜ t = t a n h ( W c v v t + W c h h t 1 + b c )
The old cell state, C t 1 , is updated with the estimated f t and C ˜ t values. Specifically, the old cell state is multiplied with f t in order to forget information from the last state. The new values are multiplied with the input gate layer to decide how much new information should be updated to the new cell state, presented in Equation (20)
C t = C ˜ t × i t + C t 1 f t
Another sigmoid layer, σ ( · ) , is used as the output gate to filter and output the cell state as o t , given as
o t = σ ( W o v v t + W o h h t 1 + W o c C t 1 + b o )
A cell output tanh activation function is also applied over the cell state and multiplied by the output, o t , to give the desired result.
h t = o t × t a n h ( C t )
Notations W i ,   W f ,   W o ,   W c and b i ,   b f , b o ,   b c represent the weights and biases associated with the input gate, forget gate, output gate, and cell state within Equations (17)–(21), respectively. h t 1 is the hidden state output at time t 1 , v t is the input at time t , and C t is the intermediate cell state of the network. For the multivariable LSTM model, additional variables such as the maximum temperature, average temperature, minimum temperature, pressure, humidity, and precipitation were utilized.
We divided the data into training (90%) and testing (10%) datasets to train and evaluate the forecasting models. As the training and validation aspects were not significantly affected by the forecasting horizons, the same approaches were applied for the training models based on the remaining forecasting horizons of 7, 14, 21, and 30 days.

2.4. Model Evaluation Criteria

The mean absolute error (MAE) and root mean squared error (RMSE) are frequently used to evaluate the performance of supervised learning algorithms by comparing predicted values against observations. MAE denotes the mean absolute difference between the predicted ED patient arrival and the observed values, whereas RMSE is the average root mean squared error between the predicted and observed values. Although RMSE and MAE are appropriate quality measures to assess the average model performance error, RMSE better penalizes larger discrepancies, whereas MAE provides easier interpretation. The goal of this study was to select a model that provides low RMSE and MAE values, as it shows that the given forecasting model is able to fit the time-series data. The developed algorithms were compared to select the best forecasting model with the smallest forecast error. All algorithms were implemented in Python (v. 3.8).

3. Results

3.1. Statistical Data Analysis

There were a total of 173,285 patient arrivals to the ED between 1 January 2019 and 31 December 2020. A total of 2191 patients tested positive for COVID-19 upon arrival to the ED. The mean age of patients arriving to the ED was 47.1 ± 18.8 years. A majority were female (88,679, 51.2%), and 123,721 (71.4%) were Black. The average ED arrival per day was 237.1 (SD 56.6) patients. Figure 3 illustrates the average ED patient arrival by month and weekdays. Overall, the high variation in monthly patient arrivals reflects the impact of the COVID-19 pandemic. Daily variation reflects the expected peak arrivals on Mondays and a nadir on weekends. Figure 4 shows a time series plot of the total daily ED visits over the two-year time frame.
Viewing these arrivals with a Bayesian changepoint analysis, significant changes were notable between December 2019 and January 2020. In addition, a major change was observed on day 446 (21 March 2020) owing to the strict COVID-19 lockdown measures instituted in Michigan. The existence of these changepoints illustrates the nonstationary behavior of the data. As stationarity has a tremendous influence on how the data is perceived and predicted, first-order differencing is applied to stabilize the time-series mean and/or variance. Figure 5 displays the transformed stationary data after first-order differencing.
The ADF results indicate that the dataset was stationary (p > 0.05). Thus, the differenced series presented a stationary trend: the mean, variance, and autocorrelation did not change significantly during the overall observation time. First-order differencing was only applied to the SARIMA and SARIMAX models. The HW, FP, and LSTM models do not require the time-series models to be differenced or stationary.
The results of the Two-way ANOVA illustrate that although there were at least a weekday (p < 0.05) and a month (p < 0.05) that significantly impacted the patient’s arrival, no interaction could be detected between the weekday and the month factors. Figure 6 demonstrates Tukey’s HSD test results, including a total of 21 and 66 pairwise comparisons for weekdays and months in part (a) and (b), respectively. Both parts (a) and (b) plot the confidence interval for the difference in means between the pairs, and significantly different levels (i.e., p < 0.05) of weekdays and month are mentioned on the left margin of each plot. A statistically significant difference (p < 0.05) could be found between weekdays and weekends.
The Spearman correlation showed that only humidity (r = 0.11) had a positive correlation that was statistically significant (p < 0.05) with ED patient arrivals. Maximum temperature (r = −0.10), average temperature (r = −0.10), minimum temperature (r = −0.09), COVID lockdown (r = −0.77), and precipitation (r = −0.54) were statistically significant (p < 0.05) with a negative correlation to ED patient arrivals. We used these significant variables to develop the multivariable forecasting models.

3.2. Forecasting Models

3.2.1. Univariate Models: SARIMA, FP, HW, and LSTM

Potential parameters (i.e., p, d, q values) for the SARIMA model were generated using the autocorrelation and the partial autocorrelation functions. An Auto ARIMA time series function was utilized to select an optimal order for the model by automatically iterating through different combinations of p, d, q parameters based on a grid search algorithm. The Auto ARIMA function returns the best SARIMA model according to the smallest Akaike information criterion (AIC) or Bayesian information criterion (BIC). The function searches for possible models within the order constraints provided.
The SARIMA with parameters (2,1,2)(1,0,[2])7 presented the smallest AIC value of 6606 (Table A1). The non-seasonal element gave a trend autoregression order, p = 2; a trend differencing order, d = 1, which calculates the first order non-seasonal differencing; and a trend moving average order, q = 2. The SARIMA model justified our ADF results as it showed that the time series data were not stationary; hence, a differencing of lag 1 was applied to achieve stationarity. The seasonal element gave a seasonal autoregressive order, p = 1, which made use of the first seasonally offset observation in the model; a D = 0, which indicates that the seasonality was stationary and that no seasonal differencing was required; and a Q = 2, which would use first-order errors in the model (e.g., moving average). The model gave the m value, the number of periods in a seasonal cycle, as 7 days.
Table A1 reports the estimated value of the coefficients of the model, their relative standard errors, and significance level. The intercept value was not significant and did not produce the average value of ED patient arrival during the forecast horizon. The non-seasonal and seasonal autoregressive orders were statistically significant (p < 0.05), but the first order non-seasonal moving average (ma.L1) was not statistically significant, so we proceeded to use the second-order non-seasonal moving average coefficient (ma.L2), which was statistically significant. The seasonal moving average (ma.S.L7 and ma.S.L14) coefficients were statistically significant. The parameter estimates ar.L1, ar.L2, ma.L2, ar.S.L7, and ma.S.L14 were the features that significantly impacted the time series data.
A non-exhaustive grid search was applied to achieve the best values for a univariate FP model’s parameter. The changepoint prior and seasonality prior scales were tuned, which determined the flexibility of the trend and seasonality. The model automatically captured the weekly seasonal trends based on the priors. The optimal values for the parameters consisted of a changepoint prior scale of 0.01 and a seasonality prior scale = 1.0.
The HW forecast model determined by the seasonal multiplicative HW method (i.e., refer to Equations (13)–(16)) gave the following smoothing parameters: α = 0.384, β = 4.94 × 10−12 and γ = 9.88 × 10−12, with the AIC value as low as 4135. The seasonality component, st, gave a value of 7, representing a weekly cycle for the time series. The alpha (α) value was similar to the moving average, which shows how the weights adjusted the amount of smoothing by defining how each component reacts to the current time series conditions. Lower smoothing weights give less weight to recent data and vice versa. Thus, adjusting the weight of the α component usually has the best chance of improving the accuracy measures.
For the LSTM model, a grid search was employed to tune the model. The weights and biases in each gate were updated with the backpropagation algorithm. The model’s optimal parameters included an Adam optimizer, batch size of 70, hidden layer of 1, and 350 epochs. As shown in Figure A1a, the model was trained over 350 epochs to achieve stationary loss, leading to RMSE and MAE scores of 29.92 and 23.64, respectively.
Figure 7 shows a graphical comparison between the observed data (i.e., test data) and the forecasted SARIMA, FB, HW, and LSTM models using a 1-day horizon. Table 3 shows the RMSE and MAE scores for each model with varying performances in different forecasting horizons. The results illustrate that HW outperformed all other models in short-term predictions (1–7 days), LSTM performed best in long-term predictions (21 days or more), and SARIMA displayed the best performance in the forecasting horizon of 14 days. FP had a weak prediction compared with the other models in different forecast horizons.
Table 3 presents the results of the univariate models across different forecasting horizons. For example, across a seven-day forecasting horizon, the observed average ED daily arrivals were 207 patients, and the HW model estimated 216 (SD ± 28.19) patients (mean absolute percent error of 4.3%). The MAE values implied that, on average, the HW forecast error from the true daily patient arrival rate was 21.32.

3.2.2. Multivariable Models: SARIMAX, FP, and LSTM

A SARIMAX model was fitted to ED patient arrival data, as shown in Table A2. The SARIMAX model parameters were tuned using a grid search. The best (p, d, q)(P, D, Q)m parameters provided an AIC score of 6200 for a SARIMAX model with parameters (2, 0, 1)(2, 0, [])7. The non-seasonal element for the SARIMAX model gave a trend autoregression order, p = 2; a trend differencing order, d = 0, which means no differencing; and a trend moving average order, q = 1. The seasonal element gave a seasonal autoregressive order, p = 2, which makes use of the second seasonally offset observation in the model, and D = 0, which indicates that the seasonality was stationary and that no seasonal differencing was required. The model gave the m value, the number of periods in a seasonal cycle, as 7 days.
Table A2 displays the estimated value of the model coefficients, the relative standard errors, and significance level. Lockdown and average temperature were the only significant variables that contributed to the model. The non-seasonal and seasonal autoregressive orders were statistically significant (p < 0.05). Likewise, the first order non-seasonal moving average (ma.L1) coefficient was statistically significant (p < 0.05). These parameter estimates have a significant impact on the time series data.
For the FP model, a non-exhaustive grid search was applied to tune the model. The optimal values for the parameters were as follows: changepoint prior scale = 0.05; seasonality prior scale = 10; and a weekly seasonal trend, resulting in RMSE and MAE scores of 48.68 and 43.25, respectively.
The exogenous LSTM was fine-tuned using a grid search approach. The model’s optimal parameters included an Adam optimizer, batch size of 72, a hidden layer of 1, and 50 epochs. Figure A1b demonstrates a decrease in loss function over 50 epochs. The exogenous LSTM model achieved RMSE and MAE scores of 28.55 and 20.52, respectively.
As shown in Figure 8, the multivariable models performed more accurately than the univariate models did. In Table 4, the values of the performance measures (i.e., RMSE and MAE) are reported for the multivariable forecasting models over different forecasting horizons. LSTM exhibited the best overall performance among the multivariable models. Forecast modeling with SARIMAX and FP did not perform well for the extended time horizons.
The interpretation of the results in Table 4 is analogous to that in Table 3. For a seven-day forecasting horizon, the observed average ED daily arrivals were 207 patients, and the exogenous LSTM model estimated 195 (SD ± 30.04) patients (mean absolute percent error of 5.8%). The MAE values imply that, on average, the exogenous LSTM forecast distance from the true daily patient arrival rate was 21.32. See Appendix A for detailed results of the forecasting models.

4. Discussion

The COVID-19 pandemic has exposed the healthcare system’s poor ability to predict surges in ED arrivals and match resources and staffing accordingly. This research addresses the problem of time-series modeling of ED patient arrival through extreme swings during the COVID-19 pandemic. Using univariate and multivariable forecasting methods, this study established a framework to improve future resource planning for EDs and hospitals.
The major contribution of this research is the development of forecasting models capable of quickly adjusting to unexpected changes in the trends of ED patient arrivals during a medical surge, such as that occurring during a pandemic. Previous time-series studies have established the existence of seasonal and weekly variations in ED patient arrival patterns prior to the pandemic [35,36,37]. Limited data addresses forecasting during a pandemic [38]. Our study shows that seasonal and weekly patterns of daily demand for ED services are maintained during the pandemic. Furthermore, time-series models can accurately forecast ED visits during short- and long-term forecast horizons. The forecasting accuracy depends on the specific model employed and the length of the time horizon.
Our feature selection analysis showed that only humidity was positively correlated and statistically significant with patient arrivals. Temperature, precipitation, and COVID lockdown were negatively correlated and statistically significant with patient arrivals. We hypothesized that incorporating additional climatic factors in the multivariable models would improve forecasting accuracy, as has been previously reported [21,39]. Furthermore, we observed the negative influence of COVID lockdown (i.e., disease outbreak) on patient arrivals, especially during the early days of the pandemic. Nevertheless, the univariate models performed best in this study.
Our forecasting results illustrate that univariate HW modeling performed well, with an average RMSE of 28.3 patients for short-term predictions (1–7 days), and LSTM modeling, which runs on recursive neural networks, performed best in long-term predictions (>21 days) with an average RMSE of 30.9 patients. The average MAE for these models was 21.3 to 24.5, indicating a 7–10% absolute error in forecasting arrivals, depending on the time horizon. Highly accurate short-term models may be most useful in situations where resources can be shifted relatively quickly, such as on-call staffing. Models that are more accurate over a longer horizon are likely to be useful for staff scheduling, supply readiness, and the preparation of additional treatment beds or areas.
This study has several limitations. First, we investigated data from a single hospital (i.e., urban academic ED) located in Michigan. With slight modifications to the forecasting models, it can be generalizable and scalable to other hospital settings and ED. Furthermore, the data contained ED patient arrivals before and during COVID-19, which may have influenced the forecasting efficacy of different methods. Second, our results can only be generalized to hospitals within our geographic regions because of the climatic characteristics used in the study. Future studies will extend this model to regions with different climatic characteristics. Third, this study did not consider the impact of holidays and ED diversion status during the pandemic, and their inclusion may improve the model fit. Lastly, the study did not assess the classification of patients according to diagnosis or severity. In future studies, we will utilize the vector autoregressive moving average to forecast multiple time-series models of ED arrivals based on the severity of illness and diagnoses.

5. Conclusions

Forecasting models are promising tools for predicting trends in ED patient arrivals during significant swings caused by the pandemic. Further model validation across diverse populations and time horizons may create a framework for improved resource matching to forecasted patient arrivals.

Author Contributions

Conceptualization, E.-E.E., L.M. and J.B.M.; Data curation, J.B.M. and S.K.; Formal analysis, E.-E.E., L.M., S.M., S.A., I.T., T.H., D.J. and S.K.; Funding acquisition E.-E.E., L.M. and J.B.M.; Investigation, E.-E.E., S.M., J.B.M. and S.A.; Methodology, E.-E.E., S.M., S.A., J.E. and I.T.; Supervision, L.M. and J.B.M.; Validation, S.A., T.H., D.J. and S.K.; Visualization, E.-E.E., S.M. and J.E.; Writing—original draft, E.-E.E.; Writing—review and editing, all authors reviewed and edited the article. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Blue Cross Blue Shield of Michigan Foundation (Grant #: 002934.PIRAP). The funding agency had no role in the study design, analysis, or decision to publish.

Institutional Review Board Statement

The study was conducted in accordance with the ethical standards set by the Declaration of Helsinki and was approved by the Institutional Review Board of the Henry Ford Health System (protocol code #14426, approved on 12 November 2020).

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Forecasting Modeling Results

Table A1. Parameter Estimates for SARIMA (2,1,2)(1,0,[2])7 with a One Day Forecast Time Horizon.
Table A1. Parameter Estimates for SARIMA (2,1,2)(1,0,[2])7 with a One Day Forecast Time Horizon.
ParameterEstimated ValueStandard Errorp-Value
Intercept0.0000.0020.940
ar.L1−0.6440.2260.004 *
ar.L20.2160.0560.000 *
ma.L10.0950.2250.672
ma.L2−0.6620.1590.000 *
ar.S.L70.9990.0010.000 *
ma.S.L7−0.8570.0390.000 *
ma.S.L14−0.1140.0400.004 *
* significant at p < 0.05.
Figure A1. The loss function for ED patient arrival of the best LSTM: (A) univariate and (B) multivariate.
Figure A1. The loss function for ED patient arrival of the best LSTM: (A) univariate and (B) multivariate.
Healthcare 10 01120 g0a1
Table A2. Parameter estimates for SARIMAX (2, 0, 1)(1, 0, [])7 with a one day forecast horizon.
Table A2. Parameter estimates for SARIMAX (2, 0, 1)(1, 0, [])7 with a one day forecast horizon.
ParameterEstimated ValueStandard Errorp-Value
Lockdown−104.8458.0610.000 *
Humidity0.0780.0890.382
Max. Temp−0.7610.5700.182
Avg. Temp2.1310.9300.022 *
Min. Temp−0.4210.5060.405
Precipitation0.1740.3110.577
ar.L11.4900.0350.000 *
ar.L2−0.4930.0310.000 *
ma.L1−0.9990.2800.000 *
ar.S.L70.4180.0390.000 *
ar.S.L140.1730.0400.000 *
* significant at p < 0.05.

References

  1. Woodruff, A.; Frakt, A.B. COVID-19 Pandemic Leads to Decrease in Emergency Department Wait Times. Proc. JAMA Health Forum 2020, 1, e201172. [Google Scholar] [CrossRef]
  2. Dugas, A.F.; Morton, M.; Beard, R.; Pines, J.M.; Bayram, J.D.; Hsieh, Y.-H.; Kelen, G.; Uscher-Pines, L.; Jeng, K.; Cole, G. Interventions to mitigate emergency department and hospital crowding during an infectious respiratory disease outbreak: Results from an expert panel. PLoS Curr. 2013, 5, 23856917. [Google Scholar] [CrossRef]
  3. Sullivan, C.; Staib, A.; Khanna, S.; Good, N.M.; Boyle, J.; Cattell, R.; Heiniger, L.; Griffin, B.R.; Bell, A.J.; Lind, J. The National Emergency Access Target (NEAT) and the 4-hour rule: Time to review the target. Med. J. Aust. 2016, 204, 354. [Google Scholar] [CrossRef]
  4. Carr, B.G.; Kaye, A.J.; Wiebe, D.J.; Gracias, V.H.; Schwab, C.W.; Reilly, P.M. Emergency department length of stay: A major risk factor for pneumonia in intubated blunt trauma patients. J. Trauma Acute Care Surg. 2007, 63, 9–12. [Google Scholar] [CrossRef] [Green Version]
  5. Robertson, J.J.; Long, B. Suffering in silence: Medical error and its impact on health care providers. J. Emerg. Med. 2018, 54, 402–409. [Google Scholar] [CrossRef]
  6. Hall, L.H.; Johnson, J.; Watt, I.; Tsipa, A.; O’Connor, D.B. Healthcare staff wellbeing, burnout, and patient safety: A systematic review. PLoS ONE 2016, 11, e0159015. [Google Scholar]
  7. Gul, M.; Celik, E. An exhaustive review and analysis on applications of statistical forecasting in hospital emergency departments. Health Syst. 2020, 9, 263–284. [Google Scholar] [CrossRef]
  8. Marcilio, I.; Hajat, S.; Gouveia, N. Forecasting daily emergency department visits using calendar variables and ambient temperature readings. Acad. Emerg. Med. 2013, 20, 769–777. [Google Scholar] [CrossRef] [Green Version]
  9. Batal, H.; Tench, J.; McMillan, S.; Adams, J.; Mehler, P.S. Predicting patient visits to an urgent care clinic using calendar variables. Acad. Emerg. Med. 2001, 8, 48–53. [Google Scholar] [CrossRef]
  10. Giannakeas, V.; Bhatia, D.; Warkentin, M.T.; Bogoch, I.; Stall, N.M. Estimating the maximum daily number of incident COVID-19 cases manageable by a healthcare system. MedRxiv 2020. [Google Scholar] [CrossRef]
  11. Zhang, Y.; Zhang, J.; Tao, M.; Shu, J.; Zhu, D. Forecasting patient arrivals at emergency department using calendar and meteorological information. Appl. Intell. 2022, 1–12. [Google Scholar]
  12. Corcuera Hotz, I.; Hajat, S. The effects of temperature on accident and emergency department attendances in London: A time-series regression analysis. Int. J. Environ. Res. Public Health 2020, 17, 1957. [Google Scholar] [CrossRef] [Green Version]
  13. Chan, E.Y.; Goggins, W.B.; Yue, J.S.; Lee, P. Hospital admissions as a function of temperature, other weather phenomena and pollution levels in an urban setting in China. Bull. World Health Organ. 2013, 91, 576–584. [Google Scholar] [CrossRef]
  14. Linares, C.; Diaz, J. Impact of high temperatures on hospital admissions: Comparative analysis with previous studies about mortality (Madrid). Eur. J. Public Health 2008, 18, 317–322. [Google Scholar] [CrossRef] [Green Version]
  15. Wargon, M.; Casalino, E.; Guidet, B. From model to forecasting: A multicenter study in emergency departments. Acad. Emerg. Med. 2010, 17, 970–978. [Google Scholar] [CrossRef]
  16. Sato, R.C. Disease management with ARIMA model in time series. Einstein 2013, 11, 128. [Google Scholar] [CrossRef] [Green Version]
  17. Qiu, M.; Song, Y. Predicting the direction of stock market index movement using an optimized artificial neural network model. PLoS ONE 2016, 11, e0155133. [Google Scholar] [CrossRef] [Green Version]
  18. Toharudin, T.; Pontoh, R.S.; Caraka, R.E.; Zahroh, S.; Lee, Y.; Chen, R.C. Employing long short-term memory and Facebook prophet model in air temperature forecasting. Commun. Stat.-Simul. Comput. 2020, 1–24. [Google Scholar] [CrossRef]
  19. Zhang, X.; Pang, Y.; Cui, M.; Stallones, L.; Xiang, H. Forecasting mortality of road traffic injuries in China using seasonal autoregressive integrated moving average model. Ann. Epidemiol. 2015, 25, 101–106. [Google Scholar] [CrossRef]
  20. Service, N.W. NOWDATA—NOAA Online Weather Data. Available online: https://www.weather.gov/wrh/Climate?wfo=dtx (accessed on 15 December 2021).
  21. Calegari, R.; Fogliatto, F.S.; Lucini, F.R.; Neyeloff, J.; Kuchenbecker, R.S.; Schaan, B.D. Forecasting daily volume and acuity of patients in the emergency department. Comput. Math. Methods Med. 2016, 2016, 3863268. [Google Scholar] [CrossRef] [Green Version]
  22. Jones, S.S.; Thomas, A.; Evans, R.S.; Welch, S.J.; Haug, P.J.; Snow, G.L. Forecasting daily patient volumes in the emergency department. Acad. Emerg. Med. 2008, 15, 159–170. [Google Scholar] [CrossRef] [PubMed]
  23. Romero, T. Americans Fear Hospital Visits Amid the COVID-19 Crisis. The Beach? Not So Much. Philly Voice Newspaper. Available online: https://www.phillyvoice.com/hospital-fear-covid-19-coronavirus-pandemic-beach-salons-survey/ (accessed on 29 May 2020).
  24. Michigan.gov. Coronavirus—Michigan Data. Available online: https://www.michigan.gov/coronavirus/0,9753,7-406-98163_98173---,00.html (accessed on 15 December 2021).
  25. Zhang, X.; Liu, Y.; Yang, M.; Zhang, T.; Young, A.A.; Li, X. Comparative study of four time series methods in forecasting typhoid fever incidence in China. PLoS ONE 2013, 8, e63116. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Kam, H.J.; Sung, J.O.; Park, R.W. Prediction of daily patient numbers for a regional emergency medical center using time series analysis. Healthc. Inform. Res. 2010, 16, 158. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Arunraj, N.S.; Ahrens, D.; Fernandes, M. Application of SARIMAX model to forecast daily sales in food retail industry. Int. J. Oper. Res. Inf. Syst. 2016, 7, 1–21. [Google Scholar] [CrossRef]
  28. Cools, M.; Moons, E.; Wets, G. Investigating the variability in daily traffic counts through use of ARIMAX and SARIMAX models: Assessing the effect of holidays on two site locations. Transp. Res. Rec. 2009, 2136, 57–66. [Google Scholar] [CrossRef] [Green Version]
  29. Taylor, S.J.; Letham, B. Forecasting at scale. Am. Stat. 2018, 72, 37–45. [Google Scholar] [CrossRef]
  30. Champion, R.; Kinsman, L.D.; Lee, G.A.; Masman, K.A.; May, E.A.; Mills, T.M.; Taylor, M.D.; Thomas, P.R.; Williams, R.J. Forecasting emergency department presentations. Aust. Health Rev. 2007, 31, 83–90. [Google Scholar] [CrossRef] [Green Version]
  31. Koehler, A.B.; Snyder, R.D.; Ord, J.K. Forecasting models and prediction intervals for the multiplicative Holt–Winters method. Int. J. Forecast. 2001, 17, 269–286. [Google Scholar] [CrossRef] [Green Version]
  32. Le, X.-H.; Ho, H.V.; Lee, G.; Jung, S. Application of long short-term memory (LSTM) neural network for flood forecasting. Water 2019, 11, 1387. [Google Scholar] [CrossRef] [Green Version]
  33. Zheng, J.; Xu, C.; Zhang, Z.; Li, X. Electric load forecasting in smart grids using long-short-term-memory based recurrent neural network. In Proceedings of the 2017 51st Annual Conference on Information Sciences and Systems (CISS), Baltimore, MD, USA, 22–24 March 2017; pp. 1–6. [Google Scholar]
  34. Masoud, S.; Mariscal, N.; Huang, Y.; Zhu, M. A Sensor-Based Data Driven Framework to Investigate PM 2.5 in the Greater Detroit Area. IEEE Sens. J. 2021, 21, 16192–16200. [Google Scholar] [CrossRef]
  35. Upshur, R.E.; Moineddin, R.; Crighton, E.; Kiefer, L.; Mamdani, M. Simplicity within complexity: Seasonality and predictability of hospital admissions in the province of Ontario 1988–2001, a population-based analysis. BMC Health Serv. Res. 2005, 5, 13. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Jones, S.A.; Joy, M.P.; Pearson, J. Forecasting demand of emergency care. Health Care Manag. Sci. 2002, 5, 297–305. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  37. Downing, A.; Wilson, R. Temporal and demographic variations in attendance at accident and emergency departments. Emerg. Med. J. 2002, 19, 531–535. [Google Scholar] [CrossRef] [PubMed]
  38. Duarte, D.; Walshaw, C.; Ramesh, N. A comparison of time-series predictions for healthcare emergency department indicators and the impact of COVID-19. Appl. Sci. 2021, 11, 3561. [Google Scholar] [CrossRef]
  39. Wargon, M.; Guidet, B.; Hoang, T.; Hejblum, G. A systematic review of models for forecasting the number of emergency department visits. Emerg. Med. J. 2009, 26, 395–399. [Google Scholar] [CrossRef]
Figure 1. Forecasting modeling framework for ED patient arrivals. The proposed method has three main parts: data processing/statistical analysis, model building, and evaluation.
Figure 1. Forecasting modeling framework for ED patient arrivals. The proposed method has three main parts: data processing/statistical analysis, model building, and evaluation.
Healthcare 10 01120 g001
Figure 2. The structure of the LSTM model [34].
Figure 2. The structure of the LSTM model [34].
Healthcare 10 01120 g002
Figure 3. The ED patient arrivals for the two years. The figure depicts: (A) The average arrivals for 2019; (B) The average arrivals for 2020; (C) The weekday arrivals for 2019; and (D) The weekday arrivals for 2020.
Figure 3. The ED patient arrivals for the two years. The figure depicts: (A) The average arrivals for 2019; (B) The average arrivals for 2020; (C) The weekday arrivals for 2019; and (D) The weekday arrivals for 2020.
Healthcare 10 01120 g003
Figure 4. Time series plot of total ED patient visits for 2019–2020. The solid red lines depict the changepoints that occurred in the time series data, while the red dash line depicts the start of the COVID lockdown in Michigan, USA.
Figure 4. Time series plot of total ED patient visits for 2019–2020. The solid red lines depict the changepoints that occurred in the time series data, while the red dash line depicts the start of the COVID lockdown in Michigan, USA.
Healthcare 10 01120 g004
Figure 5. Time series plot of the stationary ED patient visits for 2019 to 2020. The red dash line depicts the start of the COVID lockdown in Michigan, USA.
Figure 5. Time series plot of the stationary ED patient visits for 2019 to 2020. The red dash line depicts the start of the COVID lockdown in Michigan, USA.
Healthcare 10 01120 g005
Figure 6. Tukey’s test: compare the mean difference of ED patient arrivals by (A) week day and (B) month.
Figure 6. Tukey’s test: compare the mean difference of ED patient arrivals by (A) week day and (B) month.
Healthcare 10 01120 g006
Figure 7. The univariate model predicted values vs. observed data (i.e., test data) for patient arrivals with a one-day forecast horizon. SARIMA: seasonal autoregressive integrated moving average, FP: Facebook Prophet, HW: Holt–Winters, and LSTM: Long Short-Term Memory.
Figure 7. The univariate model predicted values vs. observed data (i.e., test data) for patient arrivals with a one-day forecast horizon. SARIMA: seasonal autoregressive integrated moving average, FP: Facebook Prophet, HW: Holt–Winters, and LSTM: Long Short-Term Memory.
Healthcare 10 01120 g007
Figure 8. The multivariable model predicted values vs. observed data (i.e., test data) for the ED patient arrival with a one-day forecast horizon. SARIMAX: seasonal autoregressive integrated moving average exogenous, LSTM: Long Short-Term Memory, and FP: Facebook Prophet.
Figure 8. The multivariable model predicted values vs. observed data (i.e., test data) for the ED patient arrival with a one-day forecast horizon. SARIMAX: seasonal autoregressive integrated moving average exogenous, LSTM: Long Short-Term Memory, and FP: Facebook Prophet.
Healthcare 10 01120 g008
Table 1. Benefits and limitations of selected forecasting models.
Table 1. Benefits and limitations of selected forecasting models.
ModelsBenefitsLimitations
SARIMA/
SARIMAX
Solid mathematical and statistical theory.
Time-varying trends/seasonal patterns.
Relatively few parameters.
Handles exogenous variables.
Difficulty tuning the model parameters.
Usually computationally expensive.
Prone to overfitting.
FPSupports seasonality with multiple periods.
Robust to missing data.
Does not require data interpolation.
Handles outliers.
Handles exogenous variables.
Does not consider multiplicative models.
Strict formatting requirement
Restricted to Gaussian noise distribution.
Does not take autocorrelation into account.
Does not assume a stochastic trend.
HWWorks best for data with trends and with seasonality that increases over time.
The results are interpretable.
Very easy to implement.
The presence of outliers distorts the results.
Not expanded to multivariable approach.
Accounts for only a single seasonal pattern.
LSTMLearns information for an extended period.
Mitigates the vanishing gradient problem.
No specific assumptions.
Handles exogenous variables.
Computationally time-consuming.
Sensitive to random weight initializations.
Prone to overfitting.
SARIMA: seasonal autoregressive integrated moving average; FP: Facebook Prophet; HW: Holt-Winters; LSTM: Long Short-Term Memory; and SARIMAX: seasonal autoregressive integrated moving average exogenous.
Table 2. Exogenous variables.
Table 2. Exogenous variables.
FactorsVariablesExplanation
Disease OutbreakCOVID lockdownDenoting whether the COVID lockdown was in place or not in Michigan
ClimaticAverage temperatureThe average temperature (K)
Minimum temperatureThe minimum temperature (K)
Maximum temperatureThe maximum temperature (K)
PrecipitationQuantity of water deposited (i.e., rain, snow, or hail)
Relative humidityPercentage of relative humidity
PressurePressure within the earth atmosphere (Hg)
Note: K—Kelvin, Hg—Barometric pressure.
Table 3. RMSE and MAE values for univariate models in five different forecasting horizons.
Table 3. RMSE and MAE values for univariate models in five different forecasting horizons.
ModelsForecasting Horizon (in Days)
17142130
RMSEMAERMSEMAERMSEMAERMSEMAERMSEMAE
SARIMA33.5726.5832.7326.0328.8122.2847.5939.9796.2089.92
FP43.8234.7445.9441.6254.5051.1560.6757.2753.7549.99
HW28.4221.2928.1921.3230.2023.0738.4732.3489.7484.09
LSTM29.9223.6429.9423.6530.7023.9230.4323.9731.3224.52
Note: Green highlights the model with the best results. Interpretation: The LTSM model with a 30-day horizon had the lowest RMSE of 31.32 and lowest MAE of 24.52 of all four models, suggesting that the prediction of daily patients on a 30-day horizon was best accomplished with the LTSM model. MAE, mean absolute error; RMSE, root mean square error (units = patients).
Table 4. RMSE and MAE values for multivariable models in five different forecasting horizons.
Table 4. RMSE and MAE values for multivariable models in five different forecasting horizons.
ModelsForecasting Horizon (in days)
17142130
RMSEMAERMSEMAERMSEMAERMSEMAERMSEMAE
SARIMAX 35.5731.0839.7634.7548.2743.0252.8946.9660.9253.91
FP48.6843.2558.2753.3770.0765.5680.3476.1378.0072.39
LSTM28.5520.5230.0421.3231.2622.1431.2023.5435.9628.03
Note: Green highlights the model with the best results. Interpretation: The LSTM model had the smallest RMSE and MAE values for the 30-day forecasting horizon. MAE, mean absolute error; RMSE, root mean square error (units = patients).
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Etu, E.-E.; Monplaisir, L.; Masoud, S.; Arslanturk, S.; Emakhu, J.; Tenebe, I.; Miller, J.B.; Hagerman, T.; Jourdan, D.; Krupp, S. A Comparison of Univariate and Multivariate Forecasting Models Predicting Emergency Department Patient Arrivals during the COVID-19 Pandemic. Healthcare 2022, 10, 1120. https://doi.org/10.3390/healthcare10061120

AMA Style

Etu E-E, Monplaisir L, Masoud S, Arslanturk S, Emakhu J, Tenebe I, Miller JB, Hagerman T, Jourdan D, Krupp S. A Comparison of Univariate and Multivariate Forecasting Models Predicting Emergency Department Patient Arrivals during the COVID-19 Pandemic. Healthcare. 2022; 10(6):1120. https://doi.org/10.3390/healthcare10061120

Chicago/Turabian Style

Etu, Egbe-Etu, Leslie Monplaisir, Sara Masoud, Suzan Arslanturk, Joshua Emakhu, Imokhai Tenebe, Joseph B. Miller, Tom Hagerman, Daniel Jourdan, and Seth Krupp. 2022. "A Comparison of Univariate and Multivariate Forecasting Models Predicting Emergency Department Patient Arrivals during the COVID-19 Pandemic" Healthcare 10, no. 6: 1120. https://doi.org/10.3390/healthcare10061120

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop