Skip to contents

Compute relative CRPS

Usage

compute_relative_crps(scores, id_cols)

Arguments

scores

A tibble of scores containing the specified id_cols, model, and the scoring metrics from scoringutils::score() applied on samples

id_cols

A vector of character strings listing the columns of metadata we want to keep as identifiers

Value

a pivoted wide tibble with side-by-side ww and hosp scores for each id_cols as well as a rel_crps column for the relative CRPS