modelSetAP {BRugs}R Documentation

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 sampler.

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

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


[Package BRugs version 0.9-2.1 Index]