stephens1997b_poisson_cc: Stephens (1997b) relabeling algorithm for Poisson mixtures

Description Usage Arguments Value References See Also

View source: R/RcppExports.R

Description

For internal usage only. This function runs the re-labeling algorithm from Stephens (1997b) for MCMC samples of a Poisson mixture distribution.

Usage

1
stephens1997b_poisson_cc(values, comp_par, weight_par, max_iter = 200L)

Arguments

values

A matrix of observations of dimension Nx1.

comp_par

An array of component parameter samples from MCMC sampling. Dimension is MxK.

max_iter

A signed integer specifying the number of iterations to be run in optimization. Unused.

weight

An array of weight parameter samples from MCMC sampling. Dimension is MxK.

Value

An integer matrix of dimension MxK that holding the optimal labeling.

References

See Also


simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.