| Literature DB >> 27725842 |
Rafael Calegari1, Flavio S Fogliatto1, Filipe R Lucini1, Jeruza Neyeloff2, Ricardo S Kuchenbecker3, Beatriz D Schaan2.
Abstract
This study aimed at analyzing the performance of four forecasting models in predicting the demand for medical care in terms of daily visits in an emergency department (ED) that handles high complexity cases, testing the influence of climatic and calendrical factors on demand behavior. We tested different mathematical models to forecast ED daily visits at Hospital de Clínicas de Porto Alegre (HCPA), which is a tertiary care teaching hospital located in Southern Brazil. Model accuracy was evaluated using mean absolute percentage error (MAPE), considering forecasting horizons of 1, 7, 14, 21, and 30 days. The demand time series was stratified according to patient classification using the Manchester Triage System's (MTS) criteria. Models tested were the simple seasonal exponential smoothing (SS), seasonal multiplicative Holt-Winters (SMHW), seasonal autoregressive integrated moving average (SARIMA), and multivariate autoregressive integrated moving average (MSARIMA). Performance of models varied according to patient classification, such that SS was the best choice when all types of patients were jointly considered, and SARIMA was the most accurate for modeling demands of very urgent (VU) and urgent (U) patients. The MSARIMA models taking into account climatic factors did not improve the performance of the SARIMA models, independent of patient classification.Entities:
Mesh:
Year: 2016 PMID: 27725842 PMCID: PMC5048091 DOI: 10.1155/2016/3863268
Source DB: PubMed Journal: Comput Math Methods Med ISSN: 1748-670X Impact factor: 2.238
MSARIMA explanatory variables.
| Variables | Explanation | |
|---|---|---|
| Calendrical | Month | January, February, March, April, May, June, July, August, September, October, November, December |
| Day of the week | Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday | |
|
| ||
| Climatic | Average temperature | Average temperature in Celsius |
| Minimal temperature | Minimal temperature in Celsius | |
| Maximal temperature | Maximal temperature in Celsius | |
| Temperature gap | Maximum-minimum temperature in Celsius | |
| Rain | Amount of rainfall | |
| Air-velocity | Wind speed in meters/second | |
| Relative humidity | % relative humidity | |
| Insolation | Hours of insolation | |
Figure 1Scatter plot of total emergency department (ED) visits.
Figure 2Demand variations within week (stratified per day) and year (stratified per month). p ≤ 0.05 (ANOVA, repeated measures).
MAPE values for each method and 5 different forecasting horizons.
| Forecasting horizon | 1 | 7 | 14 | 21 | 30 | |
|---|---|---|---|---|---|---|
| Total | MSARIMA | 6.23% | 12.01% | 11.79% | 12.29% | 11.51% |
| SARIMA | 6.23% | 12.01% | 11.79% | 12.29% | 11.51% | |
| SS | 2.91% | 10.67% | 10.67% | 11.35% | 11.07% | |
| SMHW | 3.02% | 10.80% | 10.85% | 11.54% | 11.11% | |
|
| ||||||
| VU | MSARIMA | 7.19% | 17.65% | 16.89% | 17.23% | 17.21% |
| SARIMA | 7.19% | 17.65% | 16.89% | 17.23% | 17.21% | |
| SS | 11.16% | 17.79% | 17.36% | 18.13% | 19.14% | |
| SMHW | 9.40% | 16.82% | 16.89% | 17.56% | 18.18% | |
|
| ||||||
| U | MSARIMA | 3.98% | 12.79% | 15.71% | 14.74% | 14.54% |
| SARIMA | 3.98% | 12.79% | 15.71% | 14.74% | 14.54% | |
| SS | 7.18% | 15.72% | 18.04% | 16.41% | 16.60% | |
| SMHW | 5.57% | 14.24% | 16.56% | 15.50% | 15.57% | |
Models with best fit
MSARIMA: multivariate seasonal autoregressive integrated moving average; SARIMA: seasonal autoregressive integrated moving average; SS: seasonal exponential smoothing; SMHW: seasonal multiplicative Holt-Winters; VU: very urgent; U: urgent.
Parameters of models with best fit in each patient category.
| Model | Coefficients | Lag | Estimate | SE |
| Sig. | |
|---|---|---|---|---|---|---|---|
| Total | SS | Alpha (level) | NA | 0.200 | 0.021 | 9.436 | 0.000 |
| Delta (Season) | NA | 0.212 | 0.018 | 6.090 | 0.000 | ||
|
| |||||||
| VU | SARIMA | Constant | NA | 30.356 | 1.879 | 16.151 | 0.000 |
| MA | 1 | −0.170 | 0.035 | −4.872 | 0.000 | ||
| MA | 3 | −0.166 | 0.035 | −4.753 | 0.000 | ||
| MA | 4 | −0.94 | 0.035 | −2.660 | 0.008 | ||
| AR (Seasonal) | 1 | 0.983 | 0.008 | 119.03 | 0.000 | ||
| MA (Seasonal) | 1 | 0.885 | 0.023 | 38.324 | 0.000 | ||
|
| |||||||
| U | SARIMA | Constant | NA | 32.274 | 3.702 | 8.717 | 0.000 |
| AR | 1 | 0.913 | 0.032 | 28.349 | 0.000 | ||
| MA | 1 | 0.576 | 0.049 | 11.769 | 0.000 | ||
| MA | 2 | 0.140 | 0.041 | 3.412 | 0.001 | ||
| AR (Seasonal) | 1 | 0.986 | 0.007 | 137.952 | 0.000 | ||
| MA (Seasonal) | 1 | 0.905 | 0.022 | 41.077 | 0.000 | ||
|
| |||||||
SS: seasonal exponential smoothing; SARIMA: seasonal autoregressive integrated moving average; VU: very urgent; U: urgent; NA: not applied; SE: standard error; t: t-value; Sig.: significance; MA: moving average; AR: autoregressive.
Significance of climate variables by classification of patients and for different time lags.
| Total | VU | U | |
|---|---|---|---|
| Average temperature (0) | 0.293 | 0.379 | 0.183 |
| Minimal temperature (0) | 0.007 | 0.64 | 0.000 |
| Maximal temperature (0) | 0.048 | 0.441 | 0.000 |
| Temperature gap (0) | 0.098 | 0.1 | 0.260 |
| Rain (0) | 0.178 | 0.534 | 0.001 |
| Air-velocity (0) | 0.060 | 0.462 | 0.000 |
| Relative humidity (0) | 0.593 | 0.309 | 0.020 |
| Insolation (0) | 0.477 | 0.243 | 0.458 |
|
| |||
| Average temperature (1) | 0.828 | 0.888 | 0.876 |
| Minimal temperature (1) | 0.016 | 0.903 | 0.000 |
| Maximal temperature (1) | 0.010 | 0.611 | 0.000 |
| Temperature gap (1) | 0.618 | 0.423 | 0.902 |
| Rain (1) | 0.942 | 0.627 | 0.248 |
| Air-velocity (1) | 0.031 | 0.49 | 0.000 |
| Relative humidity (1) | 0.359 | 0.144 | 0.719 |
| Insolation (1) | 0.211 | 0.079 | 0.388 |
|
| |||
| Average temperature (2) | 0.818 | 0.809 | 0.948 |
| Minimal temperature (2) | 0.096 | 0.453 | 0.000 |
| Maximal temperature (2) | 0.061 | 0.149 | 0.000 |
| Temperature gap (2) | 0.819 | 0.533 | 0.555 |
| Rain (2) | 0.829 | 0.547 | 0.266 |
| Air-velocity (2) | 0.169 | 0.081 | 0.000 |
| Relative humidity (2) | 0.272 | 0.033 | 0.755 |
| Insolation (2) | 0.773 | 0.346 | 0.426 |
|
| |||
| Average temperature (3) | 0.480 | 0.796 | 0.077 |
| Minimal temperature (3) | 0.392 | 0.078 | 0.000 |
| Maximal temperature (3) | 0.349 | 0.042 | 0.000 |
| Temperature gap (3) | 0.885 | 0.862 | 0.732 |
| Rain (3) | 0.699 | 0.496 | 0.100 |
| Air-velocity (3) | 0.591 | 0.01 | 0.000 |
| Relative humidity (3) | 0.639 | 0.236 | 0.410 |
| Insolation (3) | 0.356 | 0.335 | 0.445 |
|
| |||
| Average temperature (4) | 0.652 | 0.613 | 0.080 |
| Minimal temperature (4) | 0.522 | 0.024 | 0.000 |
| Maximal temperature (4) | 0.518 | 0.018 | 0.000 |
| Temperature gap (4) | 0.861 | 0.602 | 0.464 |
| Rain (4) | 0.761 | 0.063 | 0.005 |
| Air-velocity (4) | 0.771 | 0.004 | 0.000 |
| Relative humidity (4) | 0.461 | 0.016 | 0.072 |
| Insolation (4) | 0.884 | 0.863 | 0.753 |
|
| |||
| Average temperature (5) | 0.657 | 0.779 | 0.436 |
| Minimal temperature (5) | 0.652 | 0.058 | 0.000 |
| Maximal temperature (5) | 0.262 | 0.03 | 0.000 |
| Temperature gap (5) | 0.487 | 0.847 | 0.204 |
| Rain (5) | 0.767 | 0.268 | 0.039 |
| Air-velocity (5) | 0.678 | 0.011 | 0.000 |
| Relative humidity (5) | 0.876 | 0.237 | 0.094 |
| Insolation (5) | 0.677 | 0.884 | 0.634 |
|
| |||
| Average temperature (6) | 0.788 | 0.791 | 0.211 |
| Minimal temperature (6) | 0.485 | 0.034 | 0.000 |
| Maximal temperature (6) | 0.374 | 0.036 | 0.000 |
| Temperature gap (6) | 0.964 | 0.544 | 0.674 |
| Rain (6) | 0.468 | 0.36 | 0.019 |
| Air-velocity (6) | 0.786 | 0.005 | 0.000 |
| Relative humidity (6) | 0.570 | 0.164 | 0.009 |
| Insolation (6) | 0.891 | 0.779 | 0.798 |
|
| |||
| Average temperature (7) | 0.059 | 0.067 | 0.235 |
| Minimal temperature (7) | 0.191 | 0.116 | 0.000 |
| Maximal temperature (7) | 0.744 | 0.011 | 0.000 |
| Temperature gap (7) | 0.119 | 0.441 | 0.133 |
| Rain (7) | 0.152 | 0.888 | 0.004 |
| Air-velocity (7) | 0.679 | 0.006 | 0.000 |
| Relative humidity (7) | 0.913 | 0.134 | 0.022 |
| Insolation (7) | 0.774 | 0.857 | 0.549 |
(x) days of lags
p < 0.05.