scoringutils: Utilities for Scoring and Assessing Predictions

Provides a collection of metrics and proper scoring rules (Tilmann Gneiting & Adrian E Raftery (2007) <doi:10.1198/016214506000001437>, Jordan, A., Krüger, F., & Lerch, S. (2019) <doi:10.18637/jss.v090.i12>) within a consistent framework for evaluation, comparison and visualisation of forecasts. In addition to proper scoring rules, functions are provided to assess bias, sharpness and calibration (Sebastian Funk, Anton Camacho, Adam J. Kucharski, Rachel Lowe, Rosalind M. Eggo, W. John Edmunds (2019) <doi:10.1371/journal.pcbi.1006785>) of forecasts. Several types of predictions (e.g. binary, discrete, continuous) which may come in different formats (e.g. forecasts represented by predictive samples or by quantiles of the predictive distribution) can be evaluated. Scoring metrics can be used either through a convenient data.frame format, or can be applied as individual functions in a vector / matrix format. All functionality has been implemented with a focus on performance and is robustly tested.

Version: 1.0.0
Depends: R (≥ 3.5)
Imports: data.table, ggdist (≥ 3.1.0), ggplot2, methods, rlang, scoringRules, stats
Suggests: kableExtra, knitr, magrittr, rmarkdown, testthat, vdiffr
Published: 2022-05-13
Author: Nikos Bosse ORCID iD [aut, cre], Sam Abbott ORCID iD [aut], Hugo Gruson ORCID iD [aut], Johannes Bracher ORCID iD [ctb], Sebastian Funk [ctb]
Maintainer: Nikos Bosse <nikosbosse at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-GB
Citation: scoringutils citation info
Materials: README NEWS
In views: TimeSeries
CRAN checks: scoringutils results


Reference manual: scoringutils.pdf
Vignettes: Getting started
Details on the metrics implemented in 'scoringutils'


Package source: scoringutils_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): scoringutils_1.0.0.tgz, r-oldrel (arm64): scoringutils_1.0.0.tgz, r-release (x86_64): scoringutils_1.0.0.tgz, r-oldrel (x86_64): scoringutils_1.0.0.tgz
Old sources: scoringutils archive


Please use the canonical form to link to this page.