View source: R/control_options.R
adaptControl | R Documentation |
Control of Metropolis-within-Gibbs Adaptive Random Walk Sampling Procedure
Controls the adaptive random walk Metropolis-within-Gibbs sampling procedure.
adaptControl(batch_length = 100, offset = 0)
batch_length |
positive integer specifying the number of posterior samples to collect
before the proposal variance is adjusted based on the acceptance rate of the last
|
offset |
non-negative integer specifying an offset value for the increment of the proposal
variance adjustment. Optionally used to ensure the required diminishing adaptation condition.
Default set to 0.
|
Function returns a list (inheriting from class "adaptControl
")
containing parameter specifications for the adaptive random walk sampling procedure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.