Machine Learning and ARIMA Model Averaging for Adaptive Public Health Forecasting: Comparative Evaluation and an Ontario COVID-19 Case Study
Researchers evaluated ARIMA, random forest, and XGBoost models for public health forecasting using Ontario COVID-19 data, developing a new ensemble method called MLAMA.
Intelligence analysis by Gemini 2.5 Flash

A new study explores how machine learning and statistical models can be combined to create more adaptive and accurate public health forecasts. By analyzing COVID-19 case counts from Ontario, the researchers developed a novel model averaging technique, MLAMA, which demonstrated superior performance in responding to data changes and maintaining accuracy over various forecast horizons.
Imagine trying to guess how many kids will get a cold next week. This paper looks at different smart computer programs, like a super-smart guesser called MLAMA, that combine simple math tricks with more complex pattern-finders to make better predictions about diseases like COVID-19. They found that MLAMA was really good at quickly learning from new information and making accurate guesses for the future, helping grown-ups make better plans to keep everyone healthy.
Analysis
This paper addresses the critical challenge of developing public health forecasting models that can adapt quickly to sudden shifts in surveillance data without being overly sensitive to noise or temporary trends. The authors conducted a comprehensive comparative evaluation of established models, including Autoregressive Integrated Moving Average (ARIMA), random forest, and Extreme Gradient Boosting (XGBoost), using a substantial dataset of 190 weekly COVID-19 case counts from Ontario, spanning nearly four years.
Ontario COVID-19 Case Study
The study utilized publicly available Ontario COVID-19 case data from January 2020 to October 2023, providing a robust real-world context for model evaluation. This extensive dataset allowed for rigorous testing of model performance across various operating conditions, including responsiveness to turning points in the pandemic curve and accuracy over different forecast horizons. The use of rolling-origin time-series cross-validation was key to preserving the temporal order of the data, ensuring that the models were tuned and evaluated in a manner consistent with real-time forecasting scenarios.
MLAMA Performance
The core innovation presented is the Machine Learning and ARIMA Model Averaging (MLAMA) ensemble, a non-negative performance-weighted approach. MLAMA's weights are dynamically adjusted based on forecast horizon and responsiveness settings, allowing it to leverage the strengths of both statistical and machine learning models. Retrospective comparisons revealed that while ARIMA models adapted rapidly after significant turning points, their normalized error increased for longer forecast horizons. Conversely, random forest and XGBoost models, though initially less responsive, maintained more stable normalized error over extended periods. MLAMA consistently achieved the lowest normalized mean absolute percentage error across most forecast horizons and performed exceptionally well across different responsiveness settings, demonstrating its robustness.
Forecast Horizons
The evaluation specifically focused on forecast horizons ranging from one to six weeks, highlighting the trade-offs inherent in different modeling approaches. The findings indicated that for shorter-term predictions, such as two-week forecasts at the end of the study period, training models on the most recent data yielded better results than using longer historical periods, particularly for XGBoost. This suggests that the recency of training data can be a critical factor in maintaining accuracy, especially when dealing with rapidly evolving public health situations. The study concludes that selecting forecasting models should be contingent on specific operating conditions rather than relying on a single, universally preferred method, with MLAMA offering a practical framework for combining complementary forecasting techniques.
Key points
- The study evaluated ARIMA, random forest, and XGBoost models for public health forecasting using Ontario COVID-19 data.
- A new ensemble method, Machine Learning and ARIMA Model Averaging (MLAMA), was developed to combine the strengths of statistical and machine learning models.
- MLAMA achieved the lowest normalized mean absolute percentage error across most forecast horizons and demonstrated strong responsiveness.
- ARIMA models adapted quickly but had higher error at longer horizons, while ML models were less responsive but more stable over time.
- The research suggests that model selection should be adaptive to operating conditions, rather than relying on a single universal approach.
The development of MLAMA offers a promising framework for public health agencies to create more accurate and adaptive forecasting systems. This could lead to more timely and effective interventions during health crises, potentially saving lives and optimizing resource allocation by providing clearer insights into future disease trends.
While MLAMA shows strong performance, its Python package is currently private, which could delay broader adoption and independent validation by the public health community. Furthermore, even advanced models can struggle with truly unprecedented events or significant changes in human behavior, potentially leading to less accurate forecasts in highly volatile situations.


