nMclustParams: Number of Estimated Parameters in Gaussian Mixture Models

Description Usage Arguments Details Value See Also Examples

View source: R/mclust.R

Description

Gives the number of estimated parameters for parameterizations of the Gaussian mixture model that are used in MCLUST.

Usage

1
nMclustParams(modelName, d, G, noise = FALSE, equalPro = FALSE, ...)

Arguments

modelName

A character string indicating the model. The help file for mclustModelNames describes the available models.

d

The dimension of the data. Not used for models in which neither the shape nor the orientation varies.

G

The number of components in the Gaussian mixture model used to compute loglik.

noise

A logical variable indicating whether or not the model includes an optional Poisson noise component.

equalPro

A logical variable indicating whether or not the components in the model are assumed to be present in equal proportion.

...

Catches unused arguments in indirect or list calls via do.call.

Details

To get the total number of parameters in model, add G*d for the means and G-1 for the mixing proportions if they are unequal.

Value

The number of variance parameters in the corresponding Gaussian mixture model.

See Also

bic, nVarParams.

Examples

1
mapply(nMclustParams, mclust.options("emModelNames"), d = 2, G = 3)

mclust documentation built on Nov. 22, 2017, 5:05 p.m.