R: Cummulative Distribution Function for ensemble forcasting...
cdf
R Documentation
Cummulative Distribution Function for ensemble forcasting models
Description
Computes the cumulative distribution function (CDF)
of an ensemble forecasting model at observation locations.
Usage
cdf(fit, ensembleData, values, dates = NULL, ...)
Arguments
fit
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.
values
The vector of desired values at which the CDF of the ensemble
forecasting model is to be evaluated.
dates
The dates for which the CDF 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
This method is generic, and can be applied to any ensemble forecasting
model.
Note the model may have been applied to a power transformation of the
data, but that information is included in the input fit, and
the output is transformed appropriately.
Value
A matrix of probabilities corresponding to the CDF at the desired values.
Useful for determining propability of freezing, precipitation, etc.
References
T. Gneiting, A. E. Raftery, A. H. Westveld and T. Goldman,
Calibrated probabilistic forecasting using ensemble model output
statistics and minimum CRPS estimation.
Monthly Weather Review 133:1098–1118, 2005.