Katharine Sherratt (1), Rok Grah (2), Bastian Prasse (2), Friederike Becker (3), Jamie McLean (1), Sam Abbott (1), Sebastian Funk (1)
- Centre for Mathematical Modelling of Infectious Diseases, London School of Hygiene & Tropical Medicine
- European Centre for Disease Prevention and Control
- Institute of Statistics, Karlsruhe Institute of Technology
Abstract
Improving forecasting methods depends on evaluating and identifying which among many methodological choices influence resulting predictive accuracy. Recent investment in infectious disease modelling has enabled many modelling teams to contribute predictions for pre-specified targets, creating a potential dataset for this evaluation. However, when forecasting teams contribute opportunistically, comparisons between their forecasts are open to both bias and confounding by mixing the forecasting method with the difficulty of the forecast target. With both high-dimensional data and potential selection effects, evaluation then requires suitable methods for adjustment. We propose a regression model that jointly adjusts for features of the forecast and its target together.
We evaluated 48 models' forecasts of weekly COVID-19 cases and deaths from over two years across 32 European countries, scored against observed data with the weighted interval score of log-transformed values (LWIS). We classified models by structure (agent-based, mechanistic, semi-mechanistic, statistical, or human judgement), and estimated the effect of model structure in a generalised additive mixed model adjusting for the epidemiological outcome, its level and recent growth, the dominant pathogen variant, the country, the forecast horizon, and differences between individual models.
No model structure was clearly different from the overall average (ratios 0.93 to 1.12 of the average LWIS, all intervals spanning 1). Instead, performance was associated more with features of the forecast target, such as recent epidemic growth. Substantial variation between individual models remained unexplained, and rankings of individual models changed after adjustment (Spearman's rank correlation 0.39 between unadjusted and adjusted rankings).
Forecast Hubs could be better designed to explain causes of variation behind model performance. Where a Hub is not designed for comparison, comparing its models is an observational study. This needs the methods used for other high-dimensional observational data, such as adjustment for selection and models for clustered data, which are not yet widely used in infectious disease forecast evaluation. In particular, comparing a sparse set of forecasts across multiple targets first requires accounting for the epidemiological conditions generating each target.
Read the work as it stands:
- The full paper (background, methods, results, discussion) is in report/manuscript.qmd, which assembles the section files in report/quarto/.
- The supplement is assembled from fragments in report/quarto/supplement/; report/supplement.qmd combines them into a single PDF, and report/supplement/ renders them as separate website pages.
- The pre-print is on medRxiv.
To re-run the analysis end to end, without editing anything:
-
Restore the package environment (renv):
renv::restore()
-
Data is already in
data/. To re-download it from public sources, see the data/README. -
Score forecasts on the log and natural scales (writes to
data/):source(here("R", "process-score.R"))
-
Assemble scores with explanatory variables:
source(here("R", "process-data.R"))
-
Fit the GAMM to the weighted interval score (writes to
output/):source(here("R", "analysis-model.R"))
-
Render the manuscript, or the full site (manuscript, supplement PDF, and supplement pages):
quarto render index.qmd # manuscript only quarto render # manuscript + supplement PDF + supplement pages
Render
index.qmd, notreport/manuscript.qmd: the latter’s includes are project-root-relative and only resolve when a file at the repo root is the top-level document.analysis-model.Rmust be run before rendering — it is not sourced by the results section.
A guide to the codebase:
R/— analysis and utility scripts:process-score.Rscores forecasts;process-data.Rjoins scores to explanatory variables;analysis-model.Rfits the GAMM;analysis-descriptive.Rbuilds summary tables;plot-model-results.Randplot-model-flow.Rmake the figures;dag-check.Rdefines the confounding DAG.utils-data.R,utils-metadata.R,utils-variants.R— data access, model metadata, and variant-phase classification.R/sensitivity/— robustness checks (autocorrelation, link function, log-response model, model-building notebook).
data/— forecasts (covid19-forecast-hub-europe.parquet), observed incidence, populations, model classification, and computed scores.report/quarto/— the manuscript section files;report/quarto/supplement/the supplement.output/— fitted model results and diagnostic plots, under scale-named subdirectories (log/,log-resp/,natural/).