Skip to contents

Plot average WIS over time for model comparison

Usage

make_fig4_avg_wis_over_time(wis_scores, horizon_time_in_weeks = NULL)

Arguments

wis_scores

A tibble of scores by location, forecast date, date and model, containing the outputs of scoringutils::score() on samples plus metadata transformed into a tibble.

horizon_time_in_weeks

horizon time in weeks to summarize over, default is NULL which means that the scores are summarized over the nowcast period and the 4 week forecast period

Value

a ggplot object plotting the magnitude of the avg wiss across locations at each forecast date