| Literature DB >> 35581648 |
Jalmari Tuominen1, Francesco Lomio2, Niku Oksala3,4, Ari Palomäki3,5, Jaakko Peltonen2, Heikki Huttunen2, Antti Roine3.
Abstract
BACKGROUND ANDEntities:
Keywords: Crowding; Emergency department; Feature selection; Machine learning; Statistical learning; Time series forecasting
Mesh:
Year: 2022 PMID: 35581648 PMCID: PMC9112570 DOI: 10.1186/s12911-022-01878-7
Source DB: PubMed Journal: BMC Med Inform Decis Mak ISSN: 1472-6947 Impact factor: 3.298
List of potential explanatory variables
| Variable name | N columns | Type | Lag (days) |
|---|---|---|---|
| N of available hospital beds | 33 | Int | − 1 |
| N of available hospital beds | 1 | Float | − 1 |
| N of available hospital bedsΣ | 1 | Float | − 1 |
| Weekday | 7 | Binary | 0 |
| Month | 12 | Binary | 0 |
| Specific holiday | 18 | Binary | 0 |
| Lagged holiday | 3 | Binary | 0 |
| Working day | 1 | Binary | 0 |
| Cloud count | 1 | Int | 0 |
| Air pressure | 1 | Float | 0 |
| Relative humidity | 1 | Float | 0 |
| Rain intensity | 1 | Float | 0 |
| Snow depth | 1 | Float | 0 |
| Air temperature | 1 | Float | 0 |
| Dew point temperature | 1 | Float | 0 |
| Visibility | 1 | Int | 0 |
| Air temperature min | 1 | Float | 0 |
| Air temperature max | 1 | Float | 0 |
| Website Visitstays.fi | 1 | Int | − 1 |
| Website Visitstays.fi/acuta | 1 | Int | − 1 |
| Ekstöm's visitstays.fi | 1 | Int | − 1 |
| Ekström's ratiotays.fi | 1 | Int | − 1 |
| Google Trends"Acuta" | 1 | Int | − 1 |
| N of minor public events | 1 | Int | 0 |
| N of major public events | 1 | Int | 0 |
| N of all public events | 1 | Int | 0 |
| Specific public event | 65 | Binary | 0 |
| 158 |
N number, Int integer, float floating point, N Columns number of columns
Fig. 1Temporal availability of beds in 33 catchment area hospitals or health centres as extracted from Uoma© which is a software developed by Unitary Healthcare Ltd. used to facilitate easier patient transfers. Negative availability is drawn as 0 for clarity. White space represents missing data, caused mainly by sequential introduction of the software. There are interesting differences between facilities, some demonstrating constant overload which likely significantly contributes to catchment area access block
Model accuracies in terms of absolute percentage errors
| Mean | Standard deviation | Median | Max | Differs from SN ( | Worse than best ( | |
|---|---|---|---|---|---|---|
| Naive | 8.4 | 6.4 | 6.9 | 36.4 | 1.00 | |
| ARIMAX-A | 8.4 | 6.2 | 6.9 | 33.7 | 1.00 | |
| RLS-U | 8.3 | 6.2 | 7.1 | 37.7 | 1.00 | |
| SNaive | 8.2 | 6.6 | 6.6 | 41.8 | ||
| ARIMAX-SA | 8.0 | 6.5 | 6.5 | 39.0 | 1.00 | |
| RF-FS | 8.0 | 5.9 | 6.6 | 33.5 | 1.00 | |
| LMS-FS | 7.8 | 5.9 | 6.5 | 32.6 | 0.98 | |
| RF-SA | 7.7 | 5.7 | 6.5 | 28.5 | 0.72 | |
| RF-U | 7.5 | 5.7 | 6.1 | 33.2 | 0.42 | 0.10 |
| RF-A | 7.4 | 5.7 | 6.4 | 36.6 | 0.22 | 0.22 |
| LMS-A | 7.3 | 5.6 | 6.3 | 34.3 | 0.16 | 0.30 |
| ARIMAX-FS | 7.3 | 5.9 | 5.9 | 36.2 | 0.12 | 0.37 |
| LMS-SA | 7.2 | 5.5 | 6.1 | 31.6 | 0.07 | 0.53 |
| RLS-A | 7.2 | 5.5 | 6.4 | 39.3 | 0.64 | |
| ARIMA | 7.1 | 5.5 | 5.7 | 29.5 | 0.86 | |
| LMS-U | 7.0 | 5.3 | 5.8 | 30.7 | 0.95 | |
| RLS-SA | 6.9 | 5.1 | 5.9 | 24.6 | 1.00 | |
| RLS-FS | 6.9 | 5.2 | 5.9 | 30.1 | 1.00 | |
| ARIMAX-W | 6.6 | 5.3 | 5.3 | 31.7 |
ARIMA autoregressive integrated moving average, ARIMAX regression with ARIMA errors, RLS recursive least squares, RF random forest, LMS least mean squares, SA simulated annealing, FS floating search, SNaive = seasonal naïve, A all features, U univariate, W Whitt’s features. Statistical significance is calculated using two-tailed ANOVA with Dunnet’s post hoc test for multiple comparisons
Fig. 2Predictions superimposed with ground truth. Light grey line = ground truth, dark grey line = prediction. RF = random forest, RLS = recursive least squares, LMS = least mean squares, ARIMA = autoregressive integrated moving average, ARIMAX = regression with ARIMA errors, FS = floating search, SA = simulated annealing
Fig. 3Three best performing models. Light grey line = ground truth, dark grey line = prediction. ARIMAX-W = regression with ARIMA errors using features identified by Whitt et al. [13], RLS = recursive least squares, SA = simulated annealing, FS = floating search
Estimated coefficients of the ARIMAX-W(2, 0, 2) model
| Estimate | Standard error | ||
|---|---|---|---|
| January | 112.93 | 3.68 | < 0.001 |
| February | 111.17 | 3.30 | < 0.001 |
| March | 101.35 | 3.80 | < 0.001 |
| April | 90.24 | 3.70 | < 0.001 |
| May | 83.41 | 4.70 | < 0.001 |
| June | 84.78 | 3.49 | < 0.001 |
| July | 81.19 | 4.08 | < 0.001 |
| August | 78.43 | 4.39 | < 0.001 |
| September | 86.49 | 3.69 | < 0.001 |
| October | 88.64 | 3.46 | < 0.001 |
| November | 94.97 | 3.09 | < 0.001 |
| December | 109.51 | 3.16 | < 0.001 |
| Monday | 170.97 | 2.00 | < 0.001 |
| Tuesday | 148.29 | 1.94 | < 0.001 |
| Wednesday | 147.47 | 1.97 | < 0.001 |
| Thursday | 145.46 | 2.23 | < 0.001 |
| Friday | 164.24 | 2.04 | < 0.001 |
| Saturday | 176.05 | 2.10 | < 0.001 |
| Sunday | 170.63 | 2.05 | < 0.001 |
| Min temp | 0.45 | 0.21 | 0.03 |
| Max temp | 0.89 | 0.23 | < 0.001 |
| Holiday + 1 | 5.68 | 3.35 | 0.09 |
| Holiday + 0 | − 8.57 | 2.99 | < 0.001 |
| Holiday − 1 | 19.12 | 2.66 | < 0.001 |
| φ1 | − 0.11 | 0.14 | 0.44 |
| φ1 | 0.69 | 0.10 | < 0.001 |
| θ1 | 0.28 | 0.14 | 0.05 |
| θ2 | − 0.58 | 0.10 | < 0.001 |
| σ2 | 352.37 | 16.26 | < 0.001 |
ɸ non-seasonal autoregression, θ non-seasonal moving average
Fig. 4Error as function of predictive horizon for the three best performing models. ARIMAX-W = regression with ARIMA errors using features identified by Whitt et al. [13], RLS = recursive least squares, SA = simulated annealing, FS = floating serach, MAPE = mean absolute percentage error
Most important explanatory variables for next day arrivals identified by simulated annealing and recursive least squares
| Feature family | Feature |
|---|---|
| Website visits | Ekströms visits |
| Holiday name | Independence day eve |
| Holiday name | Easter day |
| Holiday name | Shrove sunday |
| Holiday name | All saint’s day |
| Holiday name | May day |
| Holiday name | Ascension day |
| Holiday | Holidayt+0 |
| Holiday | Holidayt+1 |
| Available hospital beds | Regional hospital A, Ward 9 |
| Available hospital beds | Health centre 10 |
| Available hospital beds | Regional hospital A, Ward 8 |
| Available hospital beds | Health centre 12 |
| Available hospital beds | Regional hospital A, Ward 5 |
| Available hospital beds | Health centre 11, Ward 3 |
| Available hospital beds | Health centre 2 |
| Available hospital beds | Health centre 11, Ward 2 |
| Available hospital beds | Regional hospital B, Ward 1 |
| Available hospital beds | University hospital, ED ward |
| Available hospital beds | Health centre 11, Ward 1 |
| Month | December |
| Month | September |
| Month | March |
| Public event | 30 individual public events* |
| Public event | Number of major daily public events |
| Public event | Number of total daily public events |
| Weather | Snow depth |
| Weekday | Sunday |
| Weekday | Monday |
| Weekday | Wednesday |
| Weekday | Friday |
| Weekday | Thursday |
| Weekday | Tuesday |
*Individual public events are not shown here due to their high number
Most important explanatory variables for next day arrivals identified by floating search and recursive least squares
| Feature family | Feature |
|---|---|
| Holiday name | Shrove sunday |
| Holiday name | Easter day |
| Holiday name | Midsummer |
| Holiday name | Christmas eve |
| Holiday name | All Saint’s day |
| Holiday name | Independence day eve |
| Holiday name | Ascension day |
| Holiday | Holidayt−1 |
| Available hospital beds | Health centre 2 |
| Available hospital beds | Health centre 11, Ward 1 |
| Available hospital beds | University hospital, ED ward |
| Calendar variable | Working day |
| Month | March |
| Month | February |
| Month | December |
| Public event | 29 individual public events* |
| Public event | Number of major public events |
| Weather | Cloud count |
| Website visits | Website visitstays.fi/acuta |
| Website visits | Website visitstays.fi |
| Weekday | Thursday |
| Weekday | Saturday |
| Weekday | Friday |
| Weekday | Wednesday |
| Weekday | Tuesday |
| Weekday | Sunday |
| Weekday | Monday |
*Individual public events are not shown here due to their high number