Gives the number of estimated parameters for parameterizations of the Gaussian mixture model that are used in MCLUST.
nMclustParams(modelName, d, G, noise = FALSE, equalPro = FALSE, …)
A character string indicating the model. The help file for
mclustModelNames
describes the available models.
The dimension of the data. Not used for models in which neither the shape nor the orientation varies.
The number of components in the Gaussian mixture model used to compute
loglik
.
A logical variable indicating whether or not the model includes an optional Poisson noise component.
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
.
The number of variance parameters in the corresponding Gaussian mixture model.
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.
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, A. E. Raftery, T. B. Murphy and L. Scrucca (2012). mclust Version 4 for R: Normal Mixture Modeling for Model-Based Clustering, Classification, and Density Estimation. Technical Report No. 597, Department of Statistics, University of Washington.
# NOT RUN {
mapply(nMclustParams, mclust.options("emModelNames"), d = 2, G = 3)
# }
Run the code above in your browser using DataLab