Description Usage Arguments Note Author(s)
This function applied collapsed Gibbs sampling assuming that the number of mixture components is known.
1 2 | collapsedGibbsBinMix(alpha, beta, gamma, K, m, burn,
data, thinning, z.true, outputDir)
|
alpha |
First shape parameter of the Beta prior distribution (strictly positive). Defaults to 1. |
beta |
Second shape parameter of the Beta prior distribution (strictly positive). Defaults to 1. |
gamma |
|
K |
Number of clusters. |
m |
Number of MCMC iterations. |
burn |
The number of initial MCMC iterations that will be discarded as burn-in period. |
data |
Binary data array. |
thinning |
Integer that defines a thinning of the reported MCMC sample. Under the default setting, every 5th MCMC iteration is saved. |
z.true |
An optional vector of cluster assignments considered as the ground-truth clustering of the observations. Useful for simulations. |
outputDir |
The name of the produced output folder. |
Not really used.
Panagiotis Papastamoulis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.