Learn R Programming

⚠️There's a newer version (2.1.0) of this package.Take me there.

scoringutils (version 0.1.4)

Utilities for Scoring and Assessing Predictions

Description

Combines a collection of metrics and proper scoring rules (Tilmann Gneiting & Adrian E Raftery (2007) ) 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) ) 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.

Copy Link

Version

Install

install.packages('scoringutils')

Monthly Downloads

895

Version

0.1.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Nikos Bosse

Last Published

November 17th, 2020

Functions in scoringutils (0.1.4)

quantile_coverage

Plot Quantile Coverage
quantile_bias

Determines Bias of Quantile Forecasts
sample_to_quantile

Change Data from a Sample Based Format to a Quantile Format
hist_PIT

PIT Histogram
sample_to_range

Change Data from a Sample Based Format to a Interval Range Format
logs

LogS
mse

Mean Squared Error
quantile_example_data_wide

Quantile Example Data - Wide Format
wis_components

Plot Contributions to the Weighted Interval Score
bias

Determines bias of forecasts
quantile_to_long

Pivot Quantile Forecasts From Wide to Long Format
hist_PIT_quantile

PIT Histogram Quantile
interval_coverage

Plot Interval Coverage
ae_median

Absolute Error of the Median
integer_example_data

Integer Example Data
interval_score

Interval Score
dss

Dawid-Sebastiani Score
crps

Ranked Probability Score
quantile_example_data_plain

Quantile Example Data - Plain Quantile Format
scoringutils

scoringutils
range_plot

Plot Metrics by Range of the Prediction Interval
range_to_quantile

Change Data from a Range Format to a Plain Quantile Format
quantile_example_data_long

Quantile Example Data - Long Format
quantile_to_wide

Pivot Quantile Forecasts From Long to Wide Format
quantile_to_range

Change Data from a Plain Quantile Format to a Range Format
sharpness

Determines sharpness of a probabilistic forecast
pit

Probability Integral Transformation
plot_predictions

Plot Predictions vs True Values
score_heatmap

Create a Heatmap of a Scoring Metric
score_table

Plot Coloured Score Table
correlation_plot

Plot Correlation Between Metrics
binary_example_data

Binary Example Data
eval_forecasts

Evaluate forecasts
brier_score

Brier Score
continuous_example_data

Continuous Example Data