Computes the Continuous Ranked Probability Score for a normal predictive
distribution using scoringRules::crps_norm() and negates it so that higher
values are better.
Details
Calls scoringRules::crps_norm(y = x, mean = mu, sd = sigma) and
negates. Use for GARCH(1,1)-norm forecasts where mu is the conditional
mean and sigma is the conditional standard deviation.
Examples
if (requireNamespace("scoringRules", quietly = TRUE)) {
crps_normal(mu = c(0, 1), sigma = c(1, 2), x = c(0.2, 1.3))
}
#> [1] -0.2495997 -0.4853088