Learn R Programming

ensembleBMA (version 2.1)

controlBMAnormal: Control parameters for BMA mixtures of normals

Description

Specifies a list of values controling the Bayesian Model Averaging fit of a mixture of normals to ensemble forecasts.

Usage

controlBMAnormal(maxIter, eps, equalVariance, biasCorrection, start)

Arguments

maxIter
An integer specifying an upper limit on the number of iterations for fitting the BMA mixture via EM. The default is Inf, which sets no upper limit on the number of iterations, so that the convergence criterion based on
eps
A numeric convergence tolerance. The EM fit for the mixture model is terminated when the relative error in successive objective values in the M-step falls below eps. The default is sqrt(.Machine$double.eps),
equalVariance
A logical value indicating whether or not the variances for the mixture components should to be equal. The default is to constrain them to be equal.
biasCorrection
A character string describing the type of bias correction to be used. [object Object],[object Object],[object Object]
start
An optional list of starting values for standard deviations and weights. The default is to start with all standard deviations equal to 1, and with equal weights for each member of the ensemble.

Value

  • A list whose components are the input arguments and their assigned values.

References

A. E. Raftery, T. Gneiting, F. Balabdaoui and M. Polakowski, Using Bayesian model averaging to calibrate forecast ensembles, Monthly Weather Review 133:1155-1174, 2005.

C. Fraley, A. E. Raftery, T. Gneiting and J. M. Sloughter, ensembleBMA: An R Package for Probabilistic Forecasting using Ensemble and Bayesian Model Averaging, Technical Report No. 516, Department of Statistics, University of Washington, August 2007.

See Also

ensembleBMAnormal, fitBMAnormal

Examples

Run this code
data(slpTest)

  memberLabels <- c("AVN","GEM","ETA","NGM","NOGAPS")
  slpTestData <- ensembleData(forecasts = slpTest[ ,memberLabels],
                         observations = slpTest$obs, dates = slpTest$date)

  slpTestFit <- ensembleBMAnormal(slpTestData, 
    control = controlBMAnormal(maxIter = 100, equalVariance = FALSE,
                               biasCorrection = "additive"))

Run the code above in your browser using DataLab