Use of a metalearner to predict emergency medical services demand in an urban setting

OBJECTIVE To develop and internally validate a metalearner algorithm to predict the hourly rate of emergency medical services (EMS) dispatches in an urban setting. METHODS We performed an analysis of EMS data from New York City between years 2015-2019. Our outcome was hourly EMS dispatches, expressed as continuous data. Hours were split into derivation (75%) and validation (25%) datasets. Candidate variables included averages of prior rates, temporal and weather characteristics. We used a metalearner to evaluate and aggregate individual learners (generalized linear model, generalized additive model, random forest, multivariable adaptive regression splines, and extreme gradient boost). Four models were investigated: 1) temporal variables, 2) weather and temporal variables, and datasets in which weather data were lagged by 3) six and 4) twelve hours. In exploratory analyses, we constructed learners for high acuity and trauma encounters. RESULTS 7,364,275 EMS dispatches occurred during the 43,823-hour period. When using temporal variables, the mean absolute error (MAE) rate was 11.5 dispatches in the validation dataset. These were slightly improved following incorporation of weather variables (MAE 11.3). When using 6- and 12-hour lagged weather variables, learners demonstrated lower accuracy (MAE 11.8 in 6-hour lagged datasets; 12.2 in 12-hour lagged dataset). All models had a coefficient of determination (R2) ≥0.91. The extreme gradient boosting and random forest learners were assigned the highest coefficients. In an investigation of variable importance, hour of day and average EMS dispatches over the previous six hours were the most important variables in both the extreme gradient boosting and random forest learners. The algorithm performed well at predicting frequently occurring peaks, with greater challenges at both extremes. Learners created high-acuity and for trauma-related encounters demonstrated superior MAE, but with lower R2 in the validation cohort (MAE 6.9 and R2 0.84 for high acuity encounters; MAE 5.3 and R2 0.79 for trauma in learners using time and weather variables). CONCLUSION We developed an ensemble machine learning algorithm to predict EMS dispatches in an urban setting. These models demonstrated high accuracy, with MAEs <12 per hour in all. These algorithms may carry benefit in the real-time prediction of EMS responses, allowing for improved resource utilization.

[1]  Yun Xu,et al.  On Splitting Training and Validation Set: A Comparative Study of Cross-Validation, Bootstrap and Systematic Sampling for Estimating the Generalization Performance of Supervised Learning , 2018, Journal of Analysis and Testing.

[2]  Scott Lundberg,et al.  A Unified Approach to Interpreting Model Predictions , 2017, NIPS.

[3]  Albert Y. Chen,et al.  Demand Forecast Using Data Analytics for the Preallocation of Ambulances , 2016, IEEE Journal of Biomedical and Health Informatics.

[4]  Carlos Guestrin,et al.  "Why Should I Trust You?": Explaining the Predictions of Any Classifier , 2016, ArXiv.

[5]  S. Zoungas,et al.  Time series modelling to forecast prehospital EMS demand for diabetic emergencies , 2017, BMC Health Services Research.

[6]  David D. Salcido,et al.  Weather and Temporal Factors Associated with Use of Emergency Medical Services , 2019, Prehospital emergency care : official journal of the National Association of EMS Physicians and the National Association of State EMS Directors.

[7]  P. Cameron,et al.  Aligning ambulance dispatch priority to patient acuity: A methodology , 2018, Emergency medicine Australasia : EMA.

[8]  이재복 의사 간호사 communication , 2011 .

[9]  J. Brooks,et al.  Analyzing the volume and nature of emergency medical calls during severe weather events using regression methodologies , 2012 .

[10]  Mathew W. McLean,et al.  Forecasting emergency medical service call arrival rates , 2011, 1107.4919.

[11]  Seasonal Variation of Trauma in Western Massachusetts: Fact or Folklore? , 2017, Trauma Surgery & Acute Care Open.

[12]  J. McNeil,et al.  Increasing utilisation of emergency ambulances. , 2011, Australian health review : a publication of the Australian Hospital Association.

[13]  Tobias Granberg,et al.  Forecasting the Demand for Emergency Medical Services , 2019, HICSS.

[14]  Wen-Ching Chuang,et al.  Climate and heat-related emergencies in Chicago, Illinois (2003–2006) , 2011, International Journal of Biometeorology.

[15]  Charles Courtemanche,et al.  Association of Ambulance Use in New York City With the Implementation of the Patient Protection and Affordable Care Act , 2019, JAMA network open.

[16]  David D. Salcido,et al.  Weather and temporal models for emergency medical services: An assessment of generalizability. , 2020, The American journal of emergency medicine.

[17]  Lior Rokach,et al.  Ensemble learning: A survey , 2018, WIREs Data Mining Knowl. Discov..

[18]  Melanie Reuter-Oppermann,et al.  Decision Support for EMS Policy Making Using Data Analytics and Real-Time Alerts , 2019, 2019 IEEE World Congress on Services (SERVICES).

[19]  M. Abramson,et al.  Stormy weather: a retrospective analysis of demand for emergency medical services during epidemic thunderstorm asthma , 2017, British Medical Journal.

[20]  Dhiya Al-Jumeily,et al.  A Systematic Review on Supervised and Unsupervised Machine Learning Algorithms for Data Science , 2019, Unsupervised and Semi-Supervised Learning.

[21]  A. Sapkota,et al.  Frequency of extreme weather events and increased risk of motor vehicle collision in Maryland. , 2017, The Science of the total environment.

[22]  Henry E. Wang,et al.  National Characteristics of Emergency Medical Services Responses in the United States , 2013, Prehospital emergency care : official journal of the National Association of EMS Physicians and the National Association of State EMS Directors.

[23]  S. Tong,et al.  Exposure to hot and cold temperatures and ambulance attendances in Brisbane, Australia: a time-series study , 2012, BMJ Open.

[24]  Alois Knoll,et al.  Gradient boosting machines, a tutorial , 2013, Front. Neurorobot..

[25]  J L Stout,et al.  System status management. The strategy of ambulance placement. , 1983, JEMS : a journal of emergency medical services.

[26]  Karen Smith,et al.  Ambulance demand: random events or predicable patterns? , 2012, Emergency Medicine Journal.

[27]  M. Yost,et al.  Impacts of extreme heat on emergency medical service calls in King County, Washington, 2007–2012: relative risk and time series analyses of basic and advanced life support , 2016, Environmental Health.

[28]  H. Oh,et al.  Reducing Ambulance Response Times Using Discrete Event Simulation , 2014, Prehospital emergency care : official journal of the National Association of EMS Physicians and the National Association of State EMS Directors.