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

Description Usage Arguments Value Author(s) References

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

Description

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

Usage

1
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')


netresponse documentation built on Nov. 8, 2020, 5:04 p.m.