Learn R Programming

netresponse (version 1.32.2)

bic.mixture.univariate: Univariate BIC mixture

Description

Latent class analysis based on (infinite) Gaussian mixture model. If the input (dat) is data matrix, a multivariate model is fitted. If the input is a vector or a 1-dimensional matrix, a univariate model is fitted.

Usage

bic.mixture.univariate(x, max.modes, bic.threshold = 0, 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
minimum number of modes
...
Further optional arguments to be passed

Value

  • Fitted latent class model (parameters and free energy)

References

See citation("netresponse")