View source: R/pairwise-comparisons.R
pairwise_comparison_one_group | R Documentation |
This function does the pairwise comparison for one set of forecasts, but
multiple models involved. It gets called from pairwise_comparison()
.
pairwise_comparison()
splits the data into arbitrary subgroups specified
by the user (e.g. if pairwise comparison should be done separately for
different forecast targets) and then the actual pairwise comparison for that
subgroup is managed from pairwise_comparison_one_group()
. In order to
actually do the comparison between two models over a subset of common
forecasts it calls compare_two_models()
.
pairwise_comparison_one_group(scores, metric, baseline, by, ...)
scores |
A data.table of scores as produced by |
metric |
A character vector of length one with the metric to do the
comparison on. The default is "auto", meaning that either "interval_score",
"crps", or "brier_score" will be selected where available.
See |
baseline |
character vector of length one that denotes the baseline model against which to compare other models. |
by |
character vector with names of columns present in the input
data.frame. |
... |
additional arguments for the comparison between two models. See
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.