Description Usage Arguments Value Author(s) References See Also Examples
Computes the classical estimates of multivariate location and scatter.
Returns an S4 class CovClassic with the estimated center,
cov, Mahalanobis distances and weights based on these distances.
1 2 | CovClassic(x, unbiased=TRUE)
Cov(x, unbiased=TRUE)
|
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 |
An object of class "CovClassic".
Valentin Todorov valentin.todorov@chello.at
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/.
1 2 3 4 5 6 | data(hbk)
hbk.x <- data.matrix(hbk[, 1:3])
cv <- CovClassic(hbk.x)
cv
summary(cv)
plot(cv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.