Learn R Programming

BRugs (version 0.8-2)

modelSetAP: Changing settings of updating algorithms

Description

These functions change adaptive phase, iterations, and overRelaxation settings. Currently only supported on Windows, not Linux.

Usage

modelSetAP(factoryName, adaptivePhase)
modelSetIts(factoryName, iterations)
modelSetOR(factoryName, overRelaxation)

Arguments

factoryName
String defining which particular MCMC updating algorithm is to be tuned. Technically this string is the type name of the factory object used to create the updater, for example UpdaterMetnormal.Factory for the random walk Metropolis samp
adaptivePhase
length of the updater's adaptive phase
iterations
number of times an iterative algorithm is run before a failure is reported
overRelaxation
amount of over relaxation the updater uses

concept

  • update
  • adaptive Phase
  • iteration
  • overRelaxation

Details

Once a model has been compiled, the various updating algorithms required in order to perform the MCMC simulation may be tuned somewhat via these three functions.

See Also

BRugs, help.WinBUGS