Learn R Programming

scoringutils (version 0.1.4)

binary_example_data: Binary Example Data

Description

A toy dataset for a probability forecast of a binary outcome variable

Usage

binary_example_data

Arguments

Format

A data.table with 120 rows and 5 variables:

id

unique identifier for true observed values

true_value

true observed values

model

name of the model that generated the forecasts

horizon

forecast horzin (e.g. 1 day ahead forecast)

prediction

predicted probability that the corresponding true value will be 1