McmcParams-class {CNPBayes}R Documentation

An object to specify MCMC options for a later simulation

Description

An object to specify MCMC options for a later simulation

Slots

thin

A one length numeric to specify thinning. A value of n indicates that every nth sample should be saved. Thinning helps to reduce autocorrelation.

iter

A one length numeric to specify how many MCMC iterations should be sampled.

burnin

A one length numeric to specify burnin. The first $n$ samples will be discarded.

nstarts

A one length numeric to specify the number of chains in a simulation.

param_updates

Indicates whether each parameter should be updated (1) or fixed (0).

Examples

McmcParams()
McmcParams(iter=1000)
mp <- McmcParams()
iter(mp)

[Package CNPBayes version 1.12.0 Index]