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] (<https://orcid.org/0000-0002-7750-5280>), Sam Abbott [aut] (<https://orcid.org/0000-0001-8057-8037>), Johannes Bracher [ctb] (<https://orcid.org/0000-0002-3777-1410>), Joel Hellewell [ctb] (<https://orcid.org/0000-0003-2683-0849>), Sophie Meakins [ctb], James Munday [ctb], Katharine Sherratt [ctb], Sebastian Funk [aut]
MaintainerNikos Bosse <nikosbosse@gmail.com>
LicenseMIT + file LICENSE
Version0.1.7.2
URL https://github.com/epiforecasts/scoringutils
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("scoringutils")

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.