Description Usage Arguments Value References See Also
For internal usage only. This function runs the re-labeling algorithm from Stephens (1997b) for MCMC samples of a Exponential mixture distribution.
1 | stephens1997b_exponential_cc(values, comp_par, weight_par)
|
values |
A matrix of observations of dimension |
comp_par |
An array of component parameter samples from MCMC sampling.
Dimension is |
weight |
An array of weight parameter samples from MCMC sampling.
Dimension is |
max_iter |
A signed integer specifying the number of iterations to be run in optimization. Unused. |
An integer matrix of dimension MxK
that holding the optimal
labeling.
Stephens, Matthew (1997a), Bayesian methods for mixtures of normal distributions, DPhil Thesis, University of Oxford, Oxford.
mcmcpermute()
for the calling function
stephens1997b_poisson_cc()
for the equivalent implementation
for mixtures of Poisson distributions
stephens1997b_binomial_cc()
for the equivalent implementation
for mixtures of Binomial distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.