Robust covariance between the variables x and y
Computes the robust covariance of x
and y
proposed by Ma and Genton (2001) using the robust scale Qn of Rousseeuw and Croux (1993).
covQn(x, y)
x |
a numeric vector |
y |
a numeric vector |
a numerical value with the robust covariance between x
and y
Ma, Y. and Genton, M. G. (2001) Highly robust estimation of dispersion matrices. Journal of Multivariate Analysis, 78, 11–36.
Rousseeuw, P. J. and Croux, C. (1993) Alternatives to the median absolute deviation. Journal of the American Statistical Association, 88, 1273–1283.
covQn(rnorm(100),rnorm(100))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.