ensembleBMAnormal(ensembleData, dates = NULL,
trainingRule = list(length=30, lag=2),
control = controlBMAnormal(), warmStart = FALSE,
minCRPS = FALSE, exchangeable = NULL)ensembleData object including ensemble forecasts, observations
and dates of precipitation.length and lag for the training period.
The default is to use a 30 time step training period for a forecast
2 time steps ahead of the last time step in the training period.controlBMAnormal.ensembleData in chronological order.dates in ensembleData, so there
will be missing entries denoted by NA for dates that are too recent
to be forecast with the training rule.
The following methods are available for ensembleBMAnormal objects:
cdfBMA, quantileForecastBMA, bmaModelParameters,
brierScore, crps and mae.C. Fraley, A. E. Raftery, T. Gneiting and J. M. Sloughter,
ensembleBMA: An R Package for Probabilistic Forecasting
using Ensembles and Bayesian Model Averaging,
Technical Report No. 516, Department of Statistics, University of
Washington, August 2007.
ensembleData,
controlBMAnormal,
fitBMAnormal,
cdfBMA,
quantileForecastBMA,
bmaModelParameters,
brierScore,
crps,
maedata(slpTest)
memberLabels <- c("AVN","GEM","ETA","NGM","NOGAPS")
slpTestData <- ensembleData(forecasts = slpTest[ ,memberLabels],
observations = slpTest$obs, dates = slpTest$date)
\dontrun{
slpTestFit <- ensembleBMAnormal( slpTestData, model = "normal")
}
slpTestFit <- ensembleBMAnormal( slpTestData)Run the code above in your browser using DataLab