Description Usage Arguments Value See Also Examples
Calling mcmc()
constructs an object of class mcmc
that specifies the
hyper-parameters for the MCMC procedure. Each MCMC sampling needs an mcmc
object that specifies the way, how MCMC sampling should be performed and
what kind and how much of data should be stored.
1 2 3 4 5 6 7 8 9 |
burnin |
An integer defining the number of steps in the burn-in phase of Gibbs-sampling. |
M |
An integer defining the number of steps in Gibbs-sampling to be stored. |
startpar |
A logical indicating, if starting by sampling the
parameters. If |
storeS |
An integer specifying how many of the last sampled indicators should be stored in the output. |
storepost |
A logical indicating if the posterior probabilities should be stored. This becomes for example important for specific relabeling algorithms, but also for analysis. |
ranperm |
A logical indicating, if random permutation should be used. If
|
storeinv |
A logical indicating if the inverse variance-covariance matrices for multivariate normal or Student-t mixtures should be stored. |
An object of class mcmc
containing all hyper-parameters for MCMC
sampling.
mcmc for the definition of the mcmc
class
mcmcstart()
for setting up all objects for MCMC sampling
mixturemcmc()
for running MCMC sampling for finite mixture models
1 | f_mcmc <- mcmc()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.