bmaModelParameters {ensembleBMA} | R Documentation |
Extracts model parameters from an ensemble BMA fit.
bmaModelParameters( fit, ...)
fit |
An ensemble BMA model fit. |
... |
For ensembleBMAgamma0 and ensembleBMAnormal fits, 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(fit$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(slpTest) memberLabels <- c("AVN","GEM","ETA","NGM","NOGAPS") slpTestData <- ensembleData(forecasts = slpTest[ ,memberLabels], observations = slpTest$obs, dates = slpTest$date) slpTestFit1 <- ensembleBMAnormal(slpTestData, date = "2000063000") bmaModelParameters( slpTestFit1, date = "2000063000") trainDat <- trainingData( slpTestData, date = "2000063000", trainingRule = slpTestFit1$training) slpTestFit2 <- fitBMAnormal(trainDat) bmaModelParameters( slpTestFit2)