Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

corMatQn

Robust correlation matrix


Description

Computes the robust correlation matrix of the matrix x proposed by Ma and Genton (2001) using the robust scale Qn of Rousseeuw and Croux (1993).

Usage

corMatQn(x)

Arguments

x

a numeric matrix

Value

a numeric matrix

References

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.

Examples

dataset <- cbind(rnorm(100),rnorm(100))
corMatQn(dataset)

tsqn

Applications of the Qn Estimator to Time Series (Univariate and Multivariate)

v1.0.0
GPL (>= 2)
Authors
Higor Cotta, Valderio Reisen, Pascal Bondon and Céline Lévy-Leduc
Initial release
2017-03-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.