Learn R Programming

scoringutils (version 0.1.7.2)

binary_example_data: Binary Forecast Example Data

Description

A data set with (constructed) binary predictions relevant in the 2020 UK Covid-19 epidemic.

Usage

binary_example_data

Arguments

Format

A data frame with 346 rows and 10 columns:

value_date

the date for which a prediction was made

value_type

the target to be predicted (short form)

geography

the region for which a prediction was made

value_desc

long form description of the prediction target

model

name of the model that generated the forecasts

creation_date

date on which the forecast was made

horizon

forecast horizon in days

prediction

probability prediction that true value would be 1

true_value

true observed values

Details

Predictions in the data set were constructed based on the continuous example data by looking at the number of samples below the mean prediction. The outcome was constructed as whether or not the actually observed value was below or above that mean prediction. This should not be understood as sound statistical practice, but rather as a practical way to create an example data set.