bic.mixture.univariate: Univariate BIC mixture

View source: R/bic.mixture.univariate.R

bic.mixture.univariateR Documentation

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)

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.