rrcovNA (version 0.4-15)

CovNAClassic: Classical Estimates of Multivariate Location and Scatter for incomplete data (EM Algorithm)

Description

Computes the classical estimates of multivariate location and scatter. Returns an S4 class CovNAClassic with the estimated center, cov, Mahalanobis distances and weights based on these distances.

Usage

CovNAClassic(x, unbiased=TRUE)
    CovNA(x, unbiased=TRUE)

Value

An object of class "CovNAClassic".

Arguments

x

a matrix or data frame. As usual, rows are observations and columns are variables.

unbiased

whether to return the unbiased estimate of the covariance matrix. Default is unbiased = TRUE

Author

Valentin Todorov valentin.todorov@chello.at

References

Todorov V & Filzmoser P (2009), An Object Oriented Framework for Robust Multivariate Analysis. Journal of Statistical Software, 32(3), 1--47. URL http://www.jstatsoft.org/v32/i03/.

See Also

Cov-class, CovClassic-class, CovNAClassic-class

Examples

Run this code
data(bush10)
cv <- CovNAClassic(bush10)
cv
summary(cv)

Run the code above in your browser using DataCamp Workspace