MoM_mean | R Documentation |
Compute the classical median-of-means estimator.
MoM_mean(x, block.size, ...)
x |
A |
block.size |
A strictly positive integer scalar corresponding to the block size. |
... |
Additional arguments. |
A numeric
scalar corresponding to the median-of-means estimator.
Haotian Xu
set.seed(123)
X = rt(100, 3)
mean(X)
MoM_mean(X, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.