Skip to main content

Forecasting the daily demand for emergency medical ambulances in England and Wales: a benchmark model and external validation

Abstract

Background

We aimed to select and externally validate a benchmark method for emergency ambulance services to use to forecast the daily number of calls that result in the dispatch of one or more ambulances.

Methods

The study was conducted using standard methods known to the UK’s NHS to aid implementation in practice. We selected our benchmark model from a naive benchmark and 14 standard forecasting methods. Mean absolute scaled error and 80 and 95% prediction interval coverage over a 84 day horizon were evaluated using time series cross validation across eight time series from the South West of England. External validation was conducted by time series cross validation across 13 time series from London, Yorkshire and Welsh Ambulance Services.

Results

A model combining a simple average of Facebook’s prophet and regression with ARIMA errors (1, 1, 3)(1, 0, 1, 7) was selected. Benchmark MASE, 80 and 95% prediction intervals were 0.68 (95% CI 0.67 - 0.69), 0.847 (95% CI 0.843 - 0.851), and 0.965 (95% CI 0.949 - 0.977), respectively. Performance in the validation set was within expected ranges for MASE, 0.73 (95% CI 0.72 - 0.74) 80% coverage (0.833; 95% CI 0.828-0.838), and 95% coverage (0.965; 95% CI 0.963-0.967).

Conclusions

We provide a robust externally validated benchmark for future ambulance demand forecasting studies to improve on. Our benchmark forecasting model is high quality and usable by ambulance services. We provide a simple python framework to aid its implementation in practice. The results of this study were implemented in the South West of England.

Peer Review reports

Introduction

Ambulance response times can be critical to patient outcomes for serious clinical events such as cardiac arrest [1], stroke [2], and major trauma [3]. Managing ambulance provision efficiently is therefore critically important to health outcomes. Part of that management is having an accurate forecast of expected demand that can be used to plan and schedule appropriate workforce at the regional and daily level. Forecasting studies of demand for emergency medical services (EMS) date back over three decades [4,5,6,7,8,9,10,11,12]. In this time, there has been some incremental improvement in methods most notably in developing spatial temporal forecasting methodology using neural network architectures [6, 11, 12]. The study by Martin et al. [12] also demonstrated that standard time series forecasting methods provide comparable prediction accuracy to machine learning methodology. The promise shown in these studies is yet to transfer to wide-scale implementation in ambulance services. We argue that this stems from a number of limitations of the current evidence. A fundamental weakness is that studies are single site with no external validation of the forecasting methods chosen. Of these studies few have used a scale independent measure of forecast accuracy [11, 12]. It is therefore difficult to robustly compare forecast accuracy across existing studies and settings. In effect, the current evidence makes it difficult for an EMS or researcher to judge if their forecasting methods are on par, fall below or exceed a state-of-the-art benchmark. There is one additional subtle limitation to the evidence. Existing studies have tended to focus evaluation on point forecast accuracy; for example, the accuracy of a prediction of demand next Tuesday. In a statistical perspective on forecasting, a point forecast is accompanied by a prediction interval: a range of values that a future value might take with a high probability [13]. For example, next Tuesday’s prediction could be supplied with a 95% prediction interval stating that the actual value for next Tuesday should lie within a given range with probability 0.95. Achieving adequate prediction interval coverage is difficult and an understanding of a chosen method’s capability is of high importance.

This study aims to provide EMS forecasting benchmarks for future research to incrementally improve on. To aid EMS workforce planning, we predict the daily number of calls that result in the dispatch of one or more ambulances [5]. Our objectives are to establish statistical benchmarks for point forecast accuracy and prediction interval coverage up to 12 weeks (84 days) ahead. We select the most accurate forecasting method from 14 established methods and present details of the forecast error distribution at 7 day intervals. We then externally test the selected method in three further ambulance trusts (in the UK an ambulance trust provides services across a region). Overall we test the method in 21 time series. Finally, we also provide an easy to use MIT licensed (free and open) Python framework for deploying the model. Our results enable future replication studies or studies of new methods to directly compare their accuracy to our benchmark. EMS data science teams developing in-house forecasting tools or purchasing commercial forecasting systems can also compare results and spend NHS resource wisely.

Methods

We build multiple time series forecasting models using established methods. Model selection is conducted by time series cross validation evaluating both point forecast accuracy and prediction interval coverage. All models are compared to a naive statistical baseline model. We then test the selected method in a simulated forecasting setting (seven regions within a NHS Trust). The accuracy of the method in our test set is our benchmark. We test the external validation of the benchmark by applying the method to a further 13 regions from three different ambulance trusts in the United Kingdom.

Study setting

We develop our benchmark model using data from the South Western Ambulance Service NHS Foundation Trust (SWASFT). SWASFT is an NHS Trust in England that provides emergency medical services to a population of 5.6 million spread over a mixed urban/rural region of 26,000 km2. The service receives an average 2,300 calls per day that require the dispatch of one or more ambulances. Forecasts are rerun every week and are used to set the staffing rotas three months ahead. The South West region can be broken down into seven sub-regions / time series: Devon, Cornwall, Dorset, Somerset, Gloucestershire, Wiltshire, and ‘Bristol, North Somerset and South Gloucestershire (BNSSG)’.

Our external validation is comprised of data from London Ambulance Service (LAS; 5 time series; population 8.6m; area size 1,570km2), the Welsh Ambulance Service Trust (WAST; 4 time series; pop 3m, area 20,740km2) and the Yorkshire Ambulance Service (YAS; 6 time series; pop 5m; area 15,540km2). Overall the trusts serve a population of over 20 million people in the UK.

Outcome measures

We measure both point forecast error and prediction interval coverage of the forecasts. For point forecast error, our main outcome measure is the Mean Absolute Scaled Error (MASE) as this provides an easy to understand relative error measure that can be compared across ambulance trusts. For MASE, we scale the out of sample mean absolute error by the equivalent one-step within-sample error from a Seasonal Naive model [14]. We also report two secondary point forecast error measures. A second relative error measure is the symmetric Mean Absolute Percentage Error (sMAPE). As it has been used elsewhere [5], we also provide a scale-dependent measure via the Root Mean Absolute Squared Error (RMSE), although this can only be used in the context of the specific time series. Prediction interval coverage measures the proportion of out-of-sample observations that fall within a prediction interval with an expected probability. For example, it is expected that 80% of points will fall within an 80% prediction interval. For cross-validation, we report the 80% and 95% prediction interval coverage. We report the full forecast distribution for the final benchmark model.

Data sources

The study was conducted at a daily time-series level. Each observation represents the daily count of emergency calls that resulted in the dispatch of one or more emergency ambulances. Each days calls are logged by the ambulance provider. The data used here are a subset of this total that result in an ambulance dispatch. For model development, each sub-region in the data were broken into training (01/01/13 - 30/06/17; \(n = 1279\)), validation (01/07/17 - 31/01/18; \(n = 549\)) and test sets (01/01/2019 - 31/12/2019; \(n = 365\)). All data available on record was used. The validation period differs from test in that it is used to tune and select models. Data were validated by combining independent screening of time series for anomalies and through NHS data checks before release. Researchers had no access to individual patient level data.

Analysis environment

All analysis code was written in Python 3.7.5 and R 3.6.1. Python forecasting libraries used were pmdarima v1.5.3 [15], fbprophet v0.5 [16], statsmodels v0.11.1 [17], tbats v.1.0.10 [18], forecast-tools v0.1.5 [19] and from R we used Rssa v1.0.2 [20]. Data cleaning and manipulation were done using Pandas [21] and NumPy [22]. All charts were produced with MatPlotLib [23]. to enable the results of the benchmark study to be reproduced we followed the Turing Way [24]. We provide a docker image containing the exact software, code and data used (https://hub.docker.com/r/tommonks01/swast-benchmark/). Instructions to use the docker image, data and analysis code are available online [25] (https://github.com/TomMonks/swast-benchmarking). The computational analyses were run on Intel i9-9900K CPU with 64GB RAM running the Pop!_OS 20.04 Linux. Our benchmark model has been released as a MIT licensed (free and open) Python package [26]. A cloud runnable tutorial, via BinderHub, is available from https://github.com/TomMonks/swast-forecast-tool.

Candidate models

We evaluated 14 candidate forecasting methods, listed in Table 1, relative to a naive benchmark. We selected established candidate methods (many of which are known to the UK National Health Service); for example, Holt-Winters Exponential Smoothing, Autoregressive Integrated Moving Average (ARIMA), Harmonic regression (regression with ARIMA errors using fourier series exogenous variables to represent seasonality), TBATS (Trigonometric seasonality, Box-Cox transformation, ARMA errors, Trend and Seasonal components) [27], and Singular Spectrum Analysis (SSA). We also included four ensembles (an unweighted average) of methods: three of individual methods already included as well as a standard ensemble comb [28].

We use a modern approach to ARIMA model selection by automatic selection of the model using the Hyndman-Khandakar algorithm. The number of fourier terms in harmonic regression were selected by minimising Akaike Information Criterion. The most modern method we employ is Facebook Prophet which was designed to handle higher frequency data that may have multiple periodicity. Prophet is similar to a Generalised Additive Model in that it is a curve fitting approach. All methods are simple for ambulance services to implement and available in either Python or R.

Table 1 Candidate forecasting methods

Statistical analysis

The study consisted of four stages. Table 2 summarises the statistical procedure and data used to select a benchmark method and perform an external evaluation.

Table 2 Statistical analysis procedure

Stage 1: screening

A naive baseline forecasting method was chosen. This was to ensure that the sophisticated methods we test in the study were only considered for the final benchmark if they provided more accurate point forecasts than the simplest of models. As emergency care demand data are seasonal we opted for the well-known Seasonal Naive method [13]. This method works by using the most recent observation for the same day and carrying it forward. For example, if we are forecasting next Tuesday then the observation from the most recent Tuesday is used as the predicted value.

The large list of methods were initially screened using a method of time series cross-validation called rolling forecast origin [29]. To avoid leakage of future observations, the method incrementally moves the forecast origin forward in time and then makes a prediction. For each new fold we implemented a stride of seven days. We performed a two stage model selection procedure. In this first stage, we used an aggregate regional level time series to screen and identify the most promising candidate models for up to a 365 day forecast (27 folds).

Stage 2: elite screening

In the second stage, our top two ‘elite’ methods, in relation to our chosen outcomes and seasonal naive benchmark, were compared using seven sub-regional time series. For the 84 day horizon we had sufficient data to produce 67 validation folds for each sub-region.

Stage 3: simulated forecast setting

Our test set provided 365 observations for each of the seven sub-regions. This enabled us to make 41 simulated forecasts of 7 to 84 days. Our benchmark therefore includes a range of MASE and coverage metrics that might be expected in practice.

Stage 4: external validation

For external validation, we repeated the simulated forecast procedure within 13 test sets for London (5 01/01/10 - 31/12/2019), Yorkshire (01/01/13 - 31/12/2019) and Wales (01/10/15 - 31/12/2019). We report how the selected model compared across MASE and coverage metrics observed to those expected in our benchmark analysis.

Results

Training data

There were no missing observations in the training data. Figure 1 depicts the training data time series. The median number of calls requiring an ambulance dispatch per day was 2169 (IQR 2083 - 2269). Extreme days (exceeding the 99th percentile) are observed on the 1st January every year (New Year’s day) where the median number of calls increased to 2783 (IQR 2673 - 2930). The data displayed a slight upward trend over time rising from median per day of 2135 in 2014 to 2257 by 2018. There was variation in demand by month of year and day of the week (Fig. 2).

Fig. 1
figure 1

Time series of training data. Trust level daily number of calls that require one or more ambulance dispatches. Extreme observations observed on new years day marked with red dot

Fig. 2
figure 2

Annual and weekly seasonality. Top figure illustrates the variation in demand by month of the year. Bottom figure illustrates variation by day of week

Naive benchmark

The magnitude of the point forecasts of the seasonal naive method increased with the forecast horizon (see Table 3). On average, the naive method achieved a MASE of 0.94 (0.35) over 7 days. For the trust, this represents a sMAPE and RMSE of 3.5% and 96.9 calls respectively. Over an 84 day horizon MASE increased to 1.34, (a 30% increase). By 365 days MASE had increased to 1.49 (0.46).

Table 3 Cross-Validation of Seasonal Naive Point Forecasts

Model selection

The stage one MASE, 80 and 95% prediction interval coverage cross-validation results are summarised in supplementary Tables S1, S2, and S3 in the supplementary online material respectively. In the first stage of model selection, only Prophet (model 7) and the Prophet-Regression with ARIMA errors ensemble (model 13) had a MASE lower than 1.0 up to 84 day horizon (\(MASE_{84}\) Prophet = 0.97 (0.12); ensemble = 0.99 (0.13)). In the ensemble the ARIMA model selected was a (1, 1, 3)(1, 0, 1, 7). The two models out performed seasonal naive at all horizons. All models had a MASE of greater than 1.0 at 365 days.

In the second stage of model selection, we compared Prophet and the ensemble at the sub region level. Figure 3 illustrates the change in MASE by forecast horizon and sub-region. Figure 4 illustrates the distribution of prediction interval coverage by horizon and desired coverage. The MASE for Prophet and the ensemble models is similar across all sub-regions. The median prediction interval coverage for the ensemble is more consistent than Prophet. The upper quartile of Prophet’s prediction interval coverage fails to achieve desired coverage from a horizon of 21 days. We chose the ensemble as our forecast benchmark model.

Fig. 3
figure 3

Cross-validation variation in MASE across regions by horizon. Shaded area is 95% prediction intervals for the mean point forecast error of the Prophet and Ensemble models

Fig. 4
figure 4

Cross-validation variation in Prediction Interval Coverage across regions by horizon. The box plots illustrate the distribution of coverage across all six regions. Red horizontal lines represent desired coverage. Top and bottom rows represents 95% and 80% prediction intervals, respectively. Left and right columns represent Prophet and the Ensemble, respectively. It is desirable to achieve coverage, but not exceed substantially

Benchmark accuracy in the simulated forecast setting

Across all sub-regions and a horizon of 7 to 84 days the ensemble scored a benchmark MASE of 0.68 (95% CI 0.67 - 0.69) with 90% of the mean point forecast errors between 0.49 and 0.91 (an equivalent average error measured by sMAPE is 4.9%; 95% CI 4.7 - 5.1). Mean coverage for 80 and 95% prediction intervals was 0.847 (95% CI 0.843 - 0.851) and 0.965 (95% CI 0.949 - 0.977), respectively. Table 4 reports MASE and coverage for each forecast horizon. Table 5 provides detailed results of the average coverage for the 60th - 95th prediction intervals for each region.

Table 4 Benchmark results by forecast horizon

External validation

In the 13 external validation sets the median number of responses ranged from 234 (IQR 222 - 246) to 752 (IQR 713 - 788). See supplementary Table S6 for additional summary measures. There were no missing data in the external validation set. Overall the ensemble produced a MASE of 0.73 (95% CI 0.72 - 0.74) with 90% of validation folds achieving a MASE between 0.64 and 0.83. The ensembles’ 80% and 95% prediction intervals provided 0.833 (95% CI 0.828-0.838) and 0.965 95% CI (0.963-0.967) coverage, respectively. Table 6 reports MASE and coverage by region.

Discussion

Our chosen benchmark method, based on performance, is an ensemble (a simple average) of Facebook’s Prophet and Regression with ARIMA errors. Both methods are flexible enough to add in special calendar events such as national holidays. In our model we chose to include New Year’s day as this clearly stood out in the time series. In our regression model, we model the error process using the same ARIMA model - (1, 1, 3)(1, 0, 1, 7) - for each sub region. Other EMS providers in different regions can adopt this structure, but may wish to experiment with alternative ARIMA error processes for fine tuning.

Table 5 Prediction interval coverage by sub-region
Table 6 External validation: Point forecast and coverage performance by region

Our cross-validation demonstrated that performance of the ensemble was superior to either method on its own, the other candidate models and a naive benchmark. However, we note that Prophet is also a reasonable choice for ambulance trusts new to forecasting (albeit they should recognise the shortcomings in terms of coverage). We emphasise the critical importance of a naive benchmark such as seasonal naive in cross-validation to confirm that more complex models add value. We found that over our forecast horizon seasonal naive outperformed several state-of-the-art forecasting techniques. We encourage forecasters in the ambulance service to use both point forecasts and prediction intervals. A singular focus on a point forecast is unwise; it is not possible to predict the future exactly and so forecasters should take account of the range of likely values. We found that the most accurate single method for point forecasts did not produce satisfactory coverage. The software we have developed to support forecasting in ambulance services reports 95% prediction intervals by default.

Turning to benchmark performance, our simulated forecast achieved a MASE of 0.68. We found this performance declined slightly over the forecast horizon, and 90% of forecasts fell into range of 0.49 and 0.91. The latter is a reasonable approximation for practitioners to use as a rule of thumb for benchmarking. This is evidenced by our external validation of the model. Using data from London, Yorkshire and Wales we found forecast performance within the benchmarks expected range (where 90% of MASE scores fell between 0.64 and 0.83). Researchers should make use of our detailed breakdown of MASE to enable simple robust comparison across regions and studies. We emphasise that in ‘real terms’ for an individual ambulance service our forecasts demonstrate a useful accuracy up to 84 days. For instance, the RMSE for a 84 day horizon in Cornwall (average calls per day = 243) and Dorset (average = 323) was between 16 and 18 calls. Our results are also complementary to Martin et al’s [12] daily EMS time series predictions that achieved a mean absolute percentage error (MAPE) of 5.9%. Our sMAPE results were inline with these findings with an overall mean of 4.9% over the 84 day forecast horizon.

Our ensemble method achieved desired coverage, but we acknowledge that it is conservative at the 80% level. We found that coverage varied by sub-region and advise practitioners to investigate their own time series. A benchmark coverage for 84% and 96% was achieved for the 80 and 95% prediction intervals, respectively. We provide a more detailed breakdown of coverage in Table 4 for future scientific forecasting studies. Our detailed results are also relevant to studies that aim to building forecasting into decision support systems [30]. Further work may wish to explore other methods for measuring prediction interval uncertainty, such as the Winkler score [31], relative to our measure of empirical coverage.

Practical implications

The ensemble model has been implemented by the ambulance service covering the South West of England. The EMS data science team have also adapted the model to predict the daily count of calls received by their clinical call centre in order to support staffing decisions.

Strengths of the study

There are several strengths to our study relative to existing studies. First, our model selection focused on well-known forecasting methods including a recognised and relevant naive benchmark. We excluded novel methods development from our study as we wished our method to be widely available and easily implemented in a health service - particularly the UK’s NHS where the study setting is based. Indeed the methods in our ensemble are recognised by NHS Improvement for forecasting [32]. Our method is implemented and available in Python and can easily be implemented in R. Second, we based our benchmark accuracy on the performance of the ensemble on seven time series from regions in South West of England. The results were replicated in 13 regions from London, Wales and Yorkshire. This evidence provides a robust estimate of what can be expected in practice and a strong comparator for future studies attempting to improve on our ensemble. Third, we include prediction interval coverage as a primary outcome in addition to point forecast accuracy. Both our external validation and assessment of prediction coverage is a substantial step up from existing high quality studies [5, 8].

Limitations

Our study also has several limitations. Our geographic regions are limited in number and within England and Wales only. Other geographic regions of the UK and other nations may have differing seasonal patterns. We argue that two elements of our study mitigate this limitation to some extent. First our approach makes use of automatic modelling procedures that enable deployment at scale and manage some issues with differences in seasonality. Second, our primary objective is clear benchmark performance. Other regions can easily compare their outcomes to our own. Our data run until January 2020 and takes place prior to the COVID-19 pandemic. In this time period emergency services around the world will have seen dramatic shifts in their demand and a potential increase in the importance of weather. Assuming demand returns to similar patterns post-pandemic our ensemble should be viable with some minor modification. For instance, both Prophet and Regression with ARIMA errors can be modified to include binary ‘intervention‘ variables that can represent different phases of the pandemic. Prophet’s flexible modelling of trend also allows for manual correction at critical time points (e.g. the start and end of lockdowns). A further limitation is that our methods do not make use of other features that may aid short term prediction such as weather forecasts.

Conclusions

The primary contribution of our study is the benchmark performance for predicting the number of calls that result in the dispatch of one or more ambulances. We provide externally validated estimates up to 84 days in advance. Future studies and novel methodologies should now aim to exceed these benchmarks. A potential future direction is to compare the neural network architectures successfully applied in related studies [6, 11, 12] to our benchmark. We encourage future research that aims to predict the daily number EMS calls that result in the dispatch of one or more ambulances to consider our results as a reliable benchmark for their methods.

Availability of data and materials

The code and data used within this study can be freely and openly access via the Zenodo repository [25] https://doi.org/10.5281/zenodo.4850149.

References

  1. Lee DW, Moon HJ, Heo NH. Association between ambulance response time and neurologic outcome in patients with cardiac arrest. Am J Emerg Med. 2019;37(11):1999–2003. https://doi.org/10.1016/j.ajem.2019.02.021. http://www.sciencedirect.com/science/article/pii/S0735675719300993

  2. Meretoja A, Keshtkaran M, Saver JL, Tatlisumak T, Parsons MW, Kaste M, et al. Stroke thrombolysis: Save a minute, save a day. Stroke. 2014;45(4):1053–8. https://doi.org/10.1161/STROKEAHA.113.002910.

    Article  PubMed  Google Scholar 

  3. Byrne JP, Mann NC, Dai M, Mason SA, Karanicolas P, Rizoli S, et al. Association Between Emergency Medical Service Response Time and Motor Vehicle Crash Mortality in the United States. JAMA Surg. 2019;154(4):286–293. Publisher: American Medical Association. https://doi.org/10.1001/jamasurg.2018.5097. https://jamanetwork.com/journals/jamasurgery/fullarticle/2723267.

  4. Baker JR, Fitzpatrick KE. Determination of an Optimal Forecast Model for Ambulance Demand Using Goal Programming. J Oper Res Soc. 1986;37(11):1047–1059. http://www.jstor.org/stable/2582689.

  5. Vile JL, Gillard JW, Harper PR, Knight VA. Predicting ambulance demand using singular spectrum analysis. J Oper Res Soc. 2012;63(11):1556–65. https://doi.org/10.1057/jors.2011.160.

    Article  Google Scholar 

  6. Setzler H, Saydam C, Park S. EMS call volume predictions: A comparative study. Comput Oper Res. 2009;36(6):1843–51. https://doi.org/10.1016/j.cor.2008.05.010. http://www.sciencedirect.com/science/article/pii/S0305054808001068

  7. Brown LH, Lerner EB, Larmon B, LeGassick T, Taigman M. Are EMS Call Volume Predictions Based on Demand Pattern Analysis Accurate? Prehospital Emerg Care. 2007;11(2):199–203. https://doi.org/10.1080/10903120701204797.

    Article  Google Scholar 

  8. Al-Azzani MAK, Davari S, England TJ. An empirical investigation of forecasting methods for ambulance calls - a case study. Health Syst. 2021;10(4):268–85. https://doi.org/10.1080/20476965.2020.1783190.

    Article  Google Scholar 

  9. Bayisa FL, Ådahl M, Rydén P, Cronie O. Large-scale modelling and forecasting of ambulance calls in northern Sweden using spatio-temporal log-Gaussian Cox processes. Spat Stat. 2020;39:100471. https://doi.org/10.1016/j.spasta.2020.100471. https://www.sciencedirect.com/science/article/pii/S2211675320300658.

  10. Mapuwei TW, Bodhlyera O, Mwambi H. Univariate Time Series Analysis of Short-Term Forecasting Horizons Using Artificial Neural Networks: The Case of Public Ambulance Emergency Preparedness. J Appl Math. 2020;2020:e2408698. Publisher: Hindawi. https://doi.org/10.1155/2020/2408698. https://www.hindawi.com/journals/jam/2020/2408698/.

  11. Chen AY, Lu TY, Ma MHM, Sun WZ. Demand Forecast Using Data Analytics for the Preallocation of Ambulances. IEEE J Biomed Health Inform. 2016;20(4):1178–87. https://doi.org/10.1109/JBHI.2015.2443799.

    Article  PubMed  Google Scholar 

  12. Martin RJ, Mousavi R, Saydam C. Predicting emergency medical service call demand: A modern spatiotemporal machine learning approach. Oper Res Health Care. 2021;28:100285. https://doi.org/10.1016/j.orhc.2021.100285. http://www.sciencedirect.com/science/article/pii/S2211692321000011

  13. Hyndman RJ, Athanasopoulos G. Forecasting: principles and practice, 2nd edition. Melbourne, Australia: OTexts; 2018. http://OTexts.com/fpp2. Accessed 10 July 2023.

  14. Hyndman RJ, Koehler AB. Another look at measures of forecast accuracy. Int J Forecast. 2006;22(4):679–88. https://doi.org/10.1016/j.ijforecast.2006.03.001. http://www.sciencedirect.com/science/article/pii/S0169207006000239

  15. Smith TG, et al. pmdarima: ARIMA estimators for Python. 2017. http://www.alkaline-ml.com/pmdarima. Accessed 10 July 2023.

  16. Taylor SJ, Letham B. Forecasting at Scale. Am Stat. 2018;72(1):37–45. https://doi.org/10.1080/00031305.2017.1380080.

  17. Seabold S, Perktold J. statsmodels: Econometric and statistical modeling with python. In: 9th Python in Science Conference. Austin: Scipy; 2010. https://doi.org/10.25080/Majora-92bf1922-011.

  18. Skorupa G. BATS and TBATS time series forecasting. 2020. https://pypi.org/project/tbats/. Accessed 10 July 2023.

  19. Monks T. forecast-tools: fundamental tools to support the forecasting process in python. Zenodo. 2020. https://doi.org/10.5281/zenodo.3969789.

    Article  Google Scholar 

  20. Korobeynikov A. Computation- and space-efficient implementation of SSA. Stat Interface. 2010;3(3):357–368. R package version 1.0.2.

  21. McKinney W. pandas: a foundational Python library for data analysis and statistics. Python High Perform Sci Comput. 2011;14:1–9.

  22. van der Walt S, Colbert SC, Varoquaux G. The NumPy Array: A Structure for Efficient Numerical Computation. Comput Sci Eng. 2011;13(2):22–30. https://doi.org/10.1109/MCSE.2011.37.

    Article  Google Scholar 

  23. Hunter JD. Matplotlib: A 2D graphics environment. Comput Sci Eng. 2007;9(3):90–5. https://doi.org/10.1109/MCSE.2007.55.

    Article  Google Scholar 

  24. The Turing Way Community. The Turing Way: A handbook for reproducible, ethical and collaborative research. Zenodo; 2021. This work was supported by The UKRI Strategic Priorities Fund under the EPSRC Grant EP/T001569/1, particularly the “Tools, Practices and Systems” theme within that grant, and by The Alan Turing Institute under the EPSRC grant EP/N510129/1. https://doi.org/10.5281/zenodo.5671094.

  25. Monks T, Allen M, Harper A, Mayne A, Collins L. TomMonks/swast-benchmarking: v1.0.0. Zenodo; 2021. https://doi.org/10.5281/zenodo.4850149.

  26. Monks T, Allen M, Harper A, Mayne A, Collins L. TomMonks/swast-forecast-tool: v0.1.0. Zenodo; 2020. https://doi.org/10.5281/zenodo.4277723.

  27. Livera AMD, Hyndman RJ, Snyder RD. Forecasting Time Series With Complex Seasonal Patterns Using Exponential Smoothing. J Am Stat Assoc. 2011;106(496):1513–27. https://doi.org/10.1198/jasa.2011.tm09771.

    Article  CAS  Google Scholar 

  28. Makridakis S, Spiliotis E, Assimakopoulos V. The M4 Competition: 100,000 time series and 61 forecasting methods. Int J Forecast. 2020;36(1):54 – 74. M4 Competition. https://doi.org/10.1016/j.ijforecast.2019.04.014. http://www.sciencedirect.com/science/article/pii/S0169207019301128.

  29. Tashman LJ. Out-of-sample tests of forecasting accuracy: an analysis and review. Int J Forecast. 2000;16(4):437 – 450. The M3- Competition. https://doi.org/10.1016/S0169-2070(00)00065-0. http://www.sciencedirect.com/science/article/pii/S0169207000000650.

  30. Vile JL, Gillard JW, Harper PR, Knight VA. Time-dependent stochastic methods for managing and scheduling Emergency Medical Services. Oper Res Health Care. 2016;8:42–52. https://doi.org/10.1016/j.orhc.2015.07.002. http://www.sciencedirect.com/science/article/pii/S2211692314200518

  31. Winkler RL. A Decision-Theoretic Approach to Interval Estimation. J Am Stat Assoc. 1972;67(337):187–91. https://doi.org/10.1080/01621459.1972.10481224. http://www.tandfonline.com/doi/abs/10.1080/01621459.1972.10481224

  32. NHS England. NHS England Advanced forecasting techniques. 2020. https://www.england.nhs.uk/publication/advanced-forecasting-techniques/. Accessed 10 July 2023.

Download references

Acknowledgements

We would like to thank the reviewers of our study for their recommendations to improve the interpretation of our results in the context of the wider EMS literature.

Funding

This report is independent research supported by the National Institute for Health Research Applied Research Collaboration South West Peninsula and South Western Ambulance Service NHS Foundation Trust. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health Research or the Department of Health and Social Care. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Author information

Authors and Affiliations

Authors

Contributions

Concept development providing idea for the research: TM, MA, LC, AM. Design and planning the methods to generate the results: TM. Supervision: TM, AM. Data collection: LC, AM. Analysis and interpretation (statistics, evaluation and presentation of the results): TM, AH, MA. Writing: TM, AH. Critical review (revised manuscript for intellectual content): TM, AH, MA, AM. The author(s) read and approved the final manuscript.

Corresponding author

Correspondence to Thomas Monks.

Ethics declarations

Ethics approval and consent to participate

Not applicable. No human data were used in this research. Data used are counts of vehicle dispatches over time.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

Supplementary Results. Additional large tables of results for model selection and data description.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Monks, T., Harper, A., Allen, M. et al. Forecasting the daily demand for emergency medical ambulances in England and Wales: a benchmark model and external validation. BMC Med Inform Decis Mak 23, 117 (2023). https://doi.org/10.1186/s12911-023-02218-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12911-023-02218-z

Keywords