Learn R Programming

GSE (version 4.2-1)

CovEM: Gaussian MLE of mean and covariance

Description

Computes the Gaussian MLE via EM-algorithm for missing data.

Usage

CovEM(x, tol=0.001, maxiter=1000)

Value

An S4 object of class CovRobMiss-class. The output S4 object contains the following slots:

muEstimated location. Can be accessed via getLocation.
SEstimated scatter matrix. Can be accessed via getScatter.
pmdSquared partial Mahalanobis distances. Can be accessed via getDist.
pmd.adjAdjusted squared partial Mahalanobis distances. Can be accessed via getDistAdj.
puDimension of the observed entries for each case. Can be accessed via getDim.
callObject of class "language". Not meant to be accessed.
xInput data matrix. Not meant to be accessed.
pColumn dimension of input data matrix. Not meant to be accessed.
estimatorCharacter string of the name of the estimator used. Not meant to be accessed.

Arguments

x

a matrix or data frame. May contain missing values, but cannot contain columns with completely missing entries.

tol

tolerance level for the maximum relative change of the estimates. Default is 0.001.

maxiter

maximum iteration for the EM algorithm. Default is 1000.

Author

Mike Danilov, Andy Leung andy.leung@stat.ubc.ca