elem_autocov | R Documentation |
Compute the element-wise tail-robust matrix estimator.
elem_autocov(X, l, est.type = "truncate", tau.mat, block.size, ...)
X |
A |
l |
A non-negative integer corresponding to the lag of the autocovariance. |
est.type |
A |
tau.mat |
A |
block.size |
A strictly positive integer scalar corresponding to the block size, when est.type is "MoM". |
... |
Additional arguments. |
A numeric
scalar corresponding to the median-of-means estimator.
Haotian Xu
set.seed(123)
X = matrix(rt(50*100, 3), nrow = 50, ncol = 100)
gamma1_trunc = elem_autocov(X, l = 1, est.type = 'truncate', tau.mat = matrix(5, nrow = 50, ncol = 50))
gamma1_huber = elem_autocov(X, l = 1, est.type = 'huber', tau.mat = matrix(5, nrow = 50, ncol = 50))
gamma1_MoM = elem_autocov(X, l = 1, est.type = 'MoM', block.size = 10)
dim(gamma1_trunc)
dim(gamma1_huber)
dim(gamma1_MoM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.