Description Usage Arguments Details Value
View source: R/Performance-metrics.R
CRPS (energy score) for a single fitted multivariate-normal predictive density or ensemble forecast.
1 | es.crps(o, mu, sig, efc, k = 1000)
|
o |
Vector of observations |
mu |
Vector of means of fitted model |
sig |
Covariance matrix or variance of fitted model - NOT the standard deviation |
efc |
Matrix of multivariate forecasts, each column an ensemble member. |
k |
Number of samples to use in Monte Carlo approximation. Default is 1000. |
EITHER parameter 'efc' (for an ensemble forecast) OR parameters 'mu', 'sig' and 'k' (for a fitted univariate or multivariate normal density) must be supplied
Energy score (multivariate CRPS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.