huber_mean | R Documentation |
Computes the element-wise adaptive Huber mean estimator
huber_mean(x, tau, ...)
x |
A |
tau |
A |
... |
Additional arguments. |
A numeric
scalar corresponding to the adaptive Huber mean estimator.
Haotian Xu
set.seed(123)
X = rt(100, 3)
mean(X)
huber_mean(X, 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.