Make a figure of the distribution of standardized WIS rank
Source:R/ms_fig5.R
make_fig5_density_rank.Rd
Adapted from https://www.pnas.org/doi/10.1073/pnas.2113561119 and https://github.com/reichlab/covid19-forecast-evals/blob/b741b6a24e40c7f2a8ddc41da40c95b23db6df4e/code/figure-model-ranks.R#L11 #nolint
Arguments
- scores
df of granular (daily) score across models, locations, forecast dates and horizons
- models_to_show
A vector of charcter strings indicating which models from the COVID-19 forecast hub to include in the plot.
- time_period
time period that scores are summarized over
- tp_fp
string indicating short name for time period to save figure
- fig_file_dir
directory to save figure