Skip to contents

Get a dotsinterval plot of a relative score distribution for individual location/forecast-date forecast problems.

Usage

plot_rel_score_distribution(
  scores,
  target_model,
  baseline_model,
  metric_to_compare
)

Arguments

scores

table of scores by horizon day, forecast date, and location

target_model

Model for which to plot relative CRPS

baseline_model

Baseline model for the relative CRPS

metric_to_compare

Metric for which to compute the relative score. One of "wis" or "crps". Passed as the metric_to_compare argument to scoringutils::get_pairwise_comparisons() via forecasttools::summarise_scores_with_baseline().

Value

ggplot object of distribution of relative CRPS scores