mclust (version 3.4.7)

emControl: Set control values for use with the EM algorithm.

Description

Supplies a list of values including tolerances for singularity and convergence assessment, for use functions inivoling EM within MCLUST.

Usage

emControl(eps, tol, itmax, equalPro)

Arguments

eps
A scalar tolerance associated with deciding when to terminate computations due to computational singularity in covariances. Smaller values of eps allow computations to proceed nearer to singularity. The default is the relative mac
tol
A vector of length two giving relative convergence tolerances for the loglikelihood and for parameter convergence in the inner loop for models with iterative M-step ("VEI", "VEE", "VVE", "VEV"), respectively. The default is c(1.e-5,sqrt
itmax
A vector of length two giving integer limits on the number of EM iterations and on the number of iterations in the inner loop for models with iterative M-step ("VEI", "VEE", "VVE", "VEV"), respectively. The default is c(Inf,Inf) a
equalPro
Logical variable indicating whether or not the mixing proportions are equal in the model. Default: equalPro = FALSE.

Value

  • A named list in which the names are the names of the arguments and the values are the values supplied to the arguments.

References

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.

Details

emControl is provided for assigning values and defaults for EM within MCLUST.

See Also

em, estep, me, mstep, mclustBIC

Examples

Run this code
irisBIC<- mclustBIC(iris[,-5], control = emControl(tol = 1.e-6))
summary(irisBIC, iris[,-5])

Run the code above in your browser using DataLab