Forecasting emergency department visits in the reference hospital of the Balearic Islands: The role of tourist and weather data

Crisafulli, P.; del Río Mangada, A.; Segura Sampedro, J. J.; Mirasso, C. R.; Toral, R.; Galla, T.
PLoS One 21(3), e0343713 (2026)

Accurate forecasting of patient arrivals at emergency departments (EDs) is vital for efficient resource allocation and high-quality patient care. In this study we investigate the relevance of exogenous variables, namely tourism, weather, calendar and demographic variables, in forecasting ED visits in the reference hospital in Palma de Mallorca, a city with significant seasonal population fluctuations due to tourism. Using a machine learning approach, we develop a model that predicts ED visits based solely on these exogenous variables. We test different machine learning algorithms (random forests, support vector machines, and feedforward neural networks) with different combinations of input variables and compare their symmetric mean average percentage errors (SMAPEs). Our findings reveal that calendar information, resident,
and tourist population data are statistically significant for the accuracy of the
predictions, while the addition of weather data does not provide any further improvement.
Comparison of non-time-series with time-series prediction models reveals that
the latter provide better accuracy for short prediction horizons (e.g., shorter than a week). Furthermore, time-series models become less or equally accurate to models relying only on exogenous variables for long prediction horizons (e.g., fortnight or month). Our study highlights the importance of carefully selecting predictive variables to ensure short- and long-term, robust and reliable forecasts. This demonstrates that, despite their lower complexity, non-time-series models with well-chosen input variables can be as effective as time-series models when predicting for long time horizons.


Related research projects

MdM-IFISC-2

Maria de Maeztu 2023-2026

P.I.: Ernesto Estrada, Ingo Fischer, Emilio Hernández-García, Rosa Lopez, Claudio Mirasso, Jose Javier Ramasco, Raúl Toral, Roberta Zambrini
After 15 years of its existence, IFISC can point to a proven track record of impactful research. The previous 2018-2022 MdM award has significantly enhanced the institute's capabilities, as demonstrated by an …

APASOS - CSIC

A Physics approach to sociotechnical systems: from theory to data analysis.

P.I.: Tobias Galla
APASOS objective is to use mathematical and computational methods combined with data and physics thinking to model complex socio-technical systems. APASOS is organized into two workpackages (WP). WP 1 focuses on models …

APASOS-UIB

A Physics approach to sociotechnical systems: from theory to data analysis.

P.I.: Maxi San Miguel, Raúl Toral
APASOS objective is to use mathematical and computational methods combined with data and physics thinking to model complex socio-technical systems. APASOS is organized into two workpackages (WP). WP 1 focuses on models …

This web uses cookies for data collection with a statistical purpose. If you continue Browse, it means acceptance of the installation of the same.


More info I agree