ensembleBMAnormal(ensembleData, dates = NULL,
trainingRule = list(length=30, lag=2),
control = controlBMAnormal(), warmStart = FALSE, minCRPS = FALSE)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:
gridForecastBMA, quantileForecastBMA,
bmaModelParameters, brierSkillScores, and crpsANDmae.ensembleData,
forecastBMAnormal,
controlBMAnormal,
fitBMAnormal,
gridForecastBMA,
quantileForecastBMA,
bmaModelParameters,
brierSkillScores,
crpsANDmaedata(slp)
slpData <- ensembleData(forecasts = slp[c("AVN","GEM","ETA","NGM","NOGAPS")],
observations = slp$obs, dates = slp$date)
slpFit <- ensembleBMAnormal( slpData, minCRPS = TRUE)Run the code above in your browser using DataLab