
Variogram score for multivariate point forecasts
Source:R/metrics-multivariate-point.R
variogram_score_multivariate_point.RdCompute the variogram score
(see scoringRules::vs_sample())
for each group defined by mv_group_id, treating each point
forecast as a single-sample ensemble.
Arguments
- observed
Numeric vector of observed values.
- predicted
Numeric matrix with one column, where each row corresponds to a target within a multivariate group.
- mv_group_id
Numeric vector of length equal to
length(observed)with group identifiers.- w_vs
Numeric matrix of weights for the variogram score. See
scoringRules::vs_sample()for details.- p
Numeric, order of the variogram score. Defaults to 0.5. See
scoringRules::vs_sample()for details.