Skip to content

tools to assess the calibration of multivariate probabilistic forecasts

Notifications You must be signed in to change notification settings

sallen12/MultivCalibration

Repository files navigation

MultivCalibration

DOI

This repository contains R code to reproduce the results presented in the paper

Allen, S., Ziegel, J. and Ginsbourger, D. (2023). Assessing the calibration of multivariate probabilistic forecasts. Quarterly Journal of the Royal Meteorological Society. 150: 1315-1335. doi.org/10.1002/qj.4647

Scripts to reproduce the results therein can be found in the scripts repository.

Forecast calibration

Loosely speaking, probabilistic forecasts are calibrated if they align statistically with the corresponding outcomes. Calibration is a necessary property for forecasts to be considered trustworthy.

Several notions of calibration exist for univariate forecasts, and univariate calibration is often assessed in practice using rank histograms (more generally probability integral transform (PIT) histograms). This paper discusses how multivariate forecasts and observations can be transformed to univariate objects, from which univariate rank histograms can be constructed. There is considerable flexibility in how to transform the multivariate forecasts and observations, and several transformations can be employed to gain a more complete understanding of how the multivariate forecasts behave.

This repository provides the functionality to implement these multivariate rank histograms in practice. Functionality is currently available for transformations that have previously been proposed in the literature, as well as custom user-specified transformations. The vignette thoroughly documents the usage of the repository, and reproduces the results in the above paper.

Installation and development

This package has not been submitted to CRAN, and can therefore be installed in R using devtools

# install.packages("devtools")
library(devtools)
install_github("sallen12/MultivCalibration")

The package is still in active development, and the vignette lists several possible extensions that could be implemented. Comments, suggestions, and input are more than welcome.

About

tools to assess the calibration of multivariate probabilistic forecasts

Resources

Stars

Watchers

Forks

Packages

No packages published