A model fit to ensemble forecasting data, obtained using
fitMOS or ensembleMOS.
ensembleData
An ensembleData object that includes ensemble forecasts,
verification observations and possibly dates.
Missing values (indicated by NA) are allowed.
This need not be the data used for the model fit,
although it must include the same ensemble members.
nSamples
The number of simulation samples for CRPS via simulation.
seed
Argument to set.seed for random number generation in simulation.
dates
The dates for which the CRPS will be computed.
These dates must be consistent with fit and ensembleData.
The default is to use all of the dates in fit.
The dates are ignored if fit originates from fitMOS,
which also ignores date information.
...
Included for generic function compatibility.
Details
These methods are generic, and can be applied to all ensemble
forecasting models.
For Gaussian (normal) models for temperature and pressure,
calculation of the CRPS via simulation is not used and analytic
computation is the only option.
Value
crps is a vector giving the CRPS for each instance in the
data.
References
T. Gneiting and A. E. Raftery,
Strictly proper scoring rules, prediction and estimation,
Journal of the American Statistical Association 102:359–378 2007.