Learn R Programming

netresponse (version 1.32.2)

bic.select.best.mode: 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, bic.threshold, 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
Optiomal. Minimum number of modes.

Value

  • Fitted latent class model (parameters and free energy)

References

See citation("netresponse")