Skip to content

About

Accounting for selection effects when learning from multi-model forecast evaluation

Resources

Code of conduct

Stars

6 stars

Watchers

2 watching

Forks

Repository files navigation

Zenodo medRxiv

Accounting for selection effects when learning from multi-model forecast evaluation

Katharine Sherratt (1), Rok Grah (2), Bastian Prasse (2), Friederike Becker (3), Jamie McLean (1), Sam Abbott (1), Sebastian Funk (1)

  1. Centre for Mathematical Modelling of Infectious Diseases, London School of Hygiene & Tropical Medicine
  2. European Centre for Disease Prevention and Control
  3. 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.


Getting started

Read

Read the work as it stands:

Reproduce

To re-run the analysis end to end, without editing anything:

  1. Restore the package environment (renv):

       renv::restore()
  2. Data is already in data/. To re-download it from public sources, see the data/README.

  3. Score forecasts on the log and natural scales (writes to data/):

       source(here("R", "process-score.R"))
  4. Assemble scores with explanatory variables:

       source(here("R", "process-data.R"))
  5. Fit the GAMM to the weighted interval score (writes to output/):

       source(here("R", "analysis-model.R"))
  6. 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, not report/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.R must be run before rendering — it is not sourced by the results section.

Explore

A guide to the codebase:

  • R/ — analysis and utility scripts:
    • process-score.R scores forecasts; process-data.R joins scores to explanatory variables; analysis-model.R fits the GAMM; analysis-descriptive.R builds summary tables; plot-model-results.R and plot-model-flow.R make the figures; dag-check.R defines 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/).

Project docs

About

Accounting for selection effects when learning from multi-model forecast evaluation

Resources

Code of conduct

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages