bmaModelParameters {ensembleBMA} | R Documentation |
Extracts model parameters from an ensemble BMA fit.
bmaModelParameters( object, ...)
object |
An ensemble BMA model fit. |
... |
For ensembleBMAgamma0 and ensembleBMAnormal objects, there
is an additional dates argument, giving a character representation
of the dates for which BMA model parameters are desired.
dates must be chosen from names(object$dateTable) , and the
default is to give the BMA model parameters for all of the available
dates.
|
A list of parameters (including weights) corresponding to the BMA model for the specified dates. The list may also include a transformation and its inverse if the data was transformed to obtain the model parameters.
ensembleBMAgamma0
,
ensembleBMAnormal
,
fitBMAgamma0
,
fitBMAnormal
data(slp) slpData <- ensembleData(forecasts = slp[c("AVN","GEM","ETA","NGM","NOGAPS")], observations = slp$obs, dates = slp$date) slpFit1 <- ensembleBMAnormal(slpData, date = "2000063000") bmaModelParameters( slpFit1, date = "2000063000") trainDat <- trainingData( slpData, date = "2000063000", trainingRule = slpFit1$training) slpFit2 <- fitBMAnormal(trainDat) bmaModelParameters( slpFit2)