covRobMM | R Documentation |
This function computes an MM robust estimator for multivariate location and scatter with the "SHR" loss function.
covRobMM(X, maxit = 50, tolpar = 1e-04, corr = FALSE)
X |
a data matrix with observations in rows. |
maxit |
Maximum number of iterations. |
tolpar |
Tolerance to decide converngence. |
corr |
A logical value. If |
This function computes an MM robust estimator for multivariate location and scatter with the "SHR" loss function.
A list with class “covRob” containing the following elements
center |
The location estimate. |
cov |
The scatter matrix estimate, scaled for consistency at the normal distribution. Same as |
cor |
The correlation matrix estimate, if the argument |
dist |
Robust Mahalanobis distances |
wts |
weights |
call |
an image of the call that produced the object with all the arguments named. The matched call. |
mu |
The location estimate. Same as |
V |
The scatter or correlation matrix estimate, scaled for consistency at the normal distribution |
Ricardo Maronna, rmaronna@retina.ar
http://www.wiley.com/go/maronna/robust
data(bus)
X0 <- as.matrix(bus)
X1 <- X0[,-9]
tmp <- covRobMM(X1)
round(tmp$cov[1:10, 1:10], 3)
tmp$mu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.