scoringutils: Utilities for Scoring and Assessing Predictions

Combines a collection of metrics and proper scoring rules (Tilmann Gneiting & Adrian E Raftery (2007) <doi:10.1198/016214506000001437>) with an easy to use wrapper that can be used to automatically evaluate predictions. Apart from 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 can be evaluated: probabilistic forecasts (generally predictive samples generated by Markov Chain Monte Carlo procedures), quantile forecasts or point forecasts. Observed values and predictions can be either continuous, integer, or binary. Users can either choose to apply these rules separately in a vector / matrix format that can be flexibly used within other packages, or they can choose to do an automatic evaluation of their forecasts. This is implemented with 'data.table' and provides a consistent and very efficient framework for evaluating various types of predictions.

Getting started

Package details

AuthorNikos Bosse [aut, cre] (<>), Sam Abbott [aut] (<>), Johannes Bracher [ctb] (<>), Joel Hellewell [ctb] (<>), Sophie Meakins [ctb], James Munday [ctb], Katharine Sherratt [ctb], Sebastian Funk [aut]
MaintainerNikos Bosse <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the scoringutils package in your browser

Any scripts or data that you put into this service are public.

scoringutils documentation built on July 21, 2021, 5:06 p.m.