Summarize forecast interval widths
compute_width( predictions_cards, grp_vars = c("forecaster", "forecast_date", "ahead"), avg_vars = c("geo_value"), levels = c(0.5, 0.7, 0.9) )
predictions_cards | predictions cards (or a data frame with columns
|
---|---|
grp_vars | variables over which to compare widths |
avg_vars | variables over which we compute quantiles. |
levels | Quantile levels to summarize the interval widths. For example,
|
a summarized data frame (by grp_vars)