adaHuber.cov | R Documentation |
Adaptive Huber covariance estimator from a data sample, with robustification parameter τ determined by a tuning-free principle.
adaHuber.cov(X, epsilon = 1e-04, iteMax = 500)
X |
An n by p data matrix. |
epsilon |
(optional) The tolerance level in the iterative estimation procedure. The problem is converted to mean estimation, and the stopping rule is the same as |
iteMax |
(optional) Maximum number of iterations. Default is 500. |
The observed data X is an n by p matrix. The distribution of each entry can be asymmetrix and/or heavy-tailed. The function outputs a robust estimator for the covariance matrix of X. For the input matrix X
, both low-dimension (p < n) and high-dimension (p > n) are allowed.
A list including the following terms will be returned:
means
The Huber estimators for column means. A p-dimensional vector.
cov
The Huber estimator for covariance matrix. A p by p matrix.
Huber, P. J. (1964). Robust estimation of a location parameter. Ann. Math. Statist., 35, 73–101.
Ke, Y., Minsker, S., Ren, Z., Sun, Q. and Zhou, W.-X. (2019). User-friendly covariance estimation for heavy-tailed distributions. Statis. Sci., 34, 454-471.
adaHuber.mean
for adaptive Huber mean estimation.
n = 100 p = 5 X = matrix(rt(n * p, 3), n, p) fit.cov = adaHuber.cov(X) fit.cov$means fit.cov$cov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.