
Template for variance specification for parameterized Gaussian mixture models
mclustVariance.RdSpecification of variance parameters for the various types of Gaussian mixture models.
Arguments
- modelName
A character string specifying the model.
- d
A integer specifying the dimension of the data.
- G
An integer specifying the number of components in the mixture model.
Details
The variance component in the parameters list from the
output to e.g. me or mstep or input to e.g. estep may contain one or more of the following arguments, depending on the model:
modelNameA character string indicating the model.
dThe dimension of the data.
GThe number of components in the mixture model.
sigmasqfor the one-dimensional models (
"E","V") and spherical models ("EII","VII"). This is either a vector whose kth component is the variance for the kth component in the mixture model ("V"and"VII"), or a scalar giving the common variance for all components in the mixture model ("E"and"EII").SigmaFor the equal variance models
"EII","EEI", and"EEE". A d by d matrix giving the common covariance for all components of the mixture model.cholSigmaFor the equal variance model
"EEE". A d by d upper triangular matrix giving the Cholesky factor of the common covariance for all components of the mixture model.sigmaFor all multidimensional mixture models. A d by d by G matrix array whose
[,,k]th entry is the covariance matrix for the kth component of the mixture model.cholsigmaFor the unconstrained covariance mixture model
"VVV". A d by d by G matrix array whose[,,k]th entry is the upper triangular Cholesky factor of the covariance matrix for the kth component of the mixture model.scaleFor diagonal models
"EEI","EVI","VEI","VVI"and constant-shape models"EEV"and"VEV". Either a G-vector giving the scale of the covariance (the dth root of its determinant) for each component in the mixture model, or a single numeric value if the scale is the same for each component.shapeFor diagonal models
"EEI","EVI","VEI","VVI"and constant-shape models"EEV"and"VEV". Either a G by d matrix in which the kth column is the shape of the covariance matrix (normalized to have determinant 1) for the kth component, or a d-vector giving a common shape for all components.orientationFor the constant-shape models
"EEV"and"VEV". Either a d by d by G array whose[,,k]th entry is the orthonomal matrix whose columns are the eigenvectors of the covariance matrix of the kth component, or a d by d orthonormal matrix if the mixture components have a common orientation. Theorientationcomponent is not needed in spherical and diagonal models, since the principal components are parallel to the coordinate axes so that the orientation matrix is the identity.
In all cases, the value
-1 is used as a placeholder for unknown nonzero entries.