stephens1997b_exponential_cc: Stephens (1997b) relabeling algorithm for Exponential...

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 Exponential mixture distribution.

Usage

1
stephens1997b_exponential_cc(values, comp_par, weight_par)

Arguments

values

A matrix of observations of dimension Nx1.

comp_par

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

weight

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

max_iter

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

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.