Learn R Programming

mgsa (version 1.20.0)

MgsaMcmcResults-class: Instances of this class are used to hold the additional information that was provided by running (possibly multiple times) an MCMC algorithm.

Description

Instances of this class are used to hold the additional information that was provided by running (possibly multiple times) an MCMC algorithm.

Arguments

Slots

nsamples
how many samples collected per MCMC run
steps
how many steps per MCMC run
restarts
how many MCMC runs
alphaMcmcPost
posterior estimates for each MCMC run of the parameter alpha
betaMcmcPost
posterior estimates for each MCMC run of the parameter beta
pMcmcPost
posterior estimates for each MCMC run of the parameter p
setsMcmcPost
posterior estimates for each MCMC run of the sets marginal posterior probabilities The columns of the matrices alphaMcmcPost, betaMcmcPost, pMcmcPost and setsMcmcPost stores the posterior estimates for each individual MCMC run. The row order matches the one of the slot alphaPost, betaPost, pPots, and setsResults respectively. Accessor methods exist for each slot.

See Also

mgsa