CovNAClassic {rrcovNA} | R Documentation |
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)
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 |
Value
An object of class "CovNAClassic"
.
Author(s)
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. <doi:10.18637/jss.v032.i03>.
See Also
Cov-class
, CovClassic-class
, CovNAClassic-class
Examples
data(bush10)
cv <- CovNAClassic(bush10)
cv
summary(cv)
[Package rrcovNA version 0.5-1 Index]