Learn R Programming

s2dverification (version 2.4.0)

CRPS: Compute Continuous Ranked Probability Score (CRPS) For Ensemble Forecasts

Description

Returns the value of the CRPS.

Usage

CRPS(obs, pred)

Arguments

Value

CRPSContinuous ranked probability score

References

Wilks (2006) Statistical Methods in the Atmospheric Sciences. Jolliffe and Stephenson (2012) Forecast verification: A practitioner's guide in the Atmospheric science Hersbach (2000) Weather and Forecasting 15:559-570

Examples

Run this code
a <- runif(10)
b <- array(, dim = c(10,10))
for (i in 1:10) {
  b[i, ] <- runif(10)
}
x <- CRPS(a, b)
x$CRPS

Run the code above in your browser using DataLab