bic.select.best.mode: Select best mode with BIC

View source: R/bic.select.best.mode.R

bic.select.best.modeR Documentation

Select best mode with BIC

Description

Select optimal number of mixture components by adding components until the increase in objective function is below threshold.

Usage

bic.select.best.mode(x, max.modes = 1, bic.threshold = 1, min.modes = 1)

Arguments

x

dat vector (for univariate analysis) or a matrix (for multivariate analysis)

max.modes

Maximum number of modes to be checked for mixture model selection

bic.threshold

BIC threshold which needs to be exceeded before a new mode is added to the mixture.

min.modes

Optional. Minimum number of modes.

Value

Fitted latent class model (parameters and free energy)

Author(s)

Contact: Leo Lahti leo.lahti@iki.fi

References

See citation('netresponse')


antagomir/netresponse documentation built on March 30, 2023, 7:24 a.m.