Function which computes the index for the climatological CRPS/MAE. You must provide the observations. If you computes climatological CRPS/MAE previously, you can add the corresponding vector
indexclim(
y,
thresh = NULL,
score_clim = NULL,
xi = NULL,
score = "crps",
estim_xi = FALSE
)
The observations
Vector of thresholds where you want to compute the index
If not NULL, must be the time serie of the CRPS/MAE of the climatology. It is recommended to compute CRPS/MAE out of this function
Shape parameter of the GP ( xi > 0)
A character string indicating if you want to work with CRPS ("crps") or MAE ("mae"), by default "crps"
If you want xi estimated for each threshold (for numerical reasons for instance)
An indexclim object containing xi, y, the score time serie, the score considered, the index values, and the corresponding quantiles of the observations