crps_aux: Auxiliary function for calculating crps.

crps_auxR Documentation

Auxiliary function for calculating crps.

Description

Mostly copy-paste from scoringRules:::crps_edf. Adjusted to the data table format, where the observation is a vector of the same length as the ensemble forecast, but is just repeated (which is why only y[1]) is used.

Usage

crps_aux(y, dat)

Arguments

y

vector of length m with m identical entries, the observation

dat

vector of length m containing the m ensemble forecasts


SeasonalForecastingEngine/SeaVal documentation built on June 23, 2024, 12:03 a.m.