Problem
Haleon, a consumer healthcare company, forecasts flu seasons to stock enough over-the-counter flu, pain and cough medicines. Flu patterns during 2020–2022 deviated from the usual trend, cycle and seasonality for about three years, so the history holds a long anomaly period instead of a few stray outliers. The usual choices are to leave it in, cut it out or smooth it, and each rests on an assumption about whether the disruption still affects the future.
Example from the article: weekly influenza-like illness (ILI) cases in the US per 100 thousand people, January 2012 to September 2023, forecast for the 39 weeks of 2023.
Solution in brief
Treat the three ways of handling the anomaly period as competing scenarios. Train the same simple models on each, forecast 2023 out of sample with the same sliding-window setup, and compare MAE and RMSE. Here the plain scenario (pandemic left in, seasonal naive) won, so the assumption that the pandemic no longer affects flu was wrong.
Questions this case answers
- How to forecast a strongly seasonal series when several years of its history broke the seasonal pattern and it is unclear whether that disruption will recur
- How to choose between keeping, excluding and adjusting an anomalous stretch of history by comparing out-of-sample forecast error
- How to forecast a seasonal series whose history contains a multi-year anomaly period?
- How to decide whether to keep, drop or smooth outlier years in the training data?
Tools and methods
- Seasonal naive (sNaïve) — baseline that repeats the value of the same week a year earlier
- Holt-Winters exponential smoothing (ETS) — point forecast model with trend and seasonality
- Prophet — additive trend and seasonality forecaster
- STL decomposition and ACF plots — check which seasonal structure survives in each period
- Sliding-window backtesting — repeated train/test splits, error averaged over splits
Google or a one-time email code. No password.