nVarParams {mclust} | R Documentation |
Gives the number of variance parameters for parameterizations of the Gaussian mixture model that are used in MCLUST.
nVarParams(modelName, d, G)
modelName |
A character string indicating the model. The help file for
|
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
|
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.
The number of variance parameters in the corresponding Gaussian mixture model.
C. Fraley and A. E. Raftery (2002). Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97:611:631.
C. Fraley and A. E. Raftery (2006). MCLUST Version 3 for R: Normal Mixture Modeling and Model-Based Clustering, Technical Report no. 504, Department of Statistics, University of Washington.
sapply(.Mclust$emModelNames, nVarParams, d=2, G=1)