View source: R/metrics-multivariate-point.R
| variogram_score_multivariate_point | R Documentation |
Compute the variogram score for multivariate point forecasts,
treating each point forecast as a single-sample ensemble.
This is a thin wrapper around
variogram_score_multivariate() with w = NULL.
See variogram_score_multivariate() for details on the
variogram score and its parameters.
variogram_score_multivariate_point(
observed,
predicted,
mv_group_id,
w_vs = NULL,
p = 0.5
)
observed |
A vector with observed values of size n |
predicted |
Numeric matrix with one column, where each row corresponds to a target within a multivariate group. |
mv_group_id |
Numeric vector of length n with ids indicating the
grouping of predicted values. Conceptually, each row of the |
w_vs |
Optional non-negative weight matrix for the
pairwise comparisons between targets. Entry |
p |
Numeric, order of the variogram score. This controls
how pairwise differences are scaled: the score compares
|y_i - y_j|^p across targets. Lower values of |
A named numeric vector of scores, one per multivariate group. Lower values are better.
Scheuerer, M. and Hamill, T.M. (2015). Variogram-Based Proper Scoring Rules for Probabilistic Forecasts of Multivariate Quantities. Monthly Weather Review, 143, 1321-1334.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.