robustPoetEst | R Documentation |
robustPoetEst()
implements the robust version of
Principal Orthogonal complEment Thresholding (POET) estimator, a
nonparametric, unobserved-factor-based estimator of the covariance matrix
when the underlying distribution is elliptical
\insertCitefan2018cvCovEst. The estimator is defined as the sum of the
sample covariance matrix's rank-k
approximation and its
post-thresholding principal orthogonal complement. The rank-k
approximation is constructed from the sample covariance matrix, its leading
eigenvalues, and its leading eigenvectors. The sample covariance matrix and
leading eigenvalues are initially estimated via an M-estimation procedure
and the marginal Kendall's tau estimator. The leading eigenvectors are
estimated using spatial Kendall's tau estimator. The hard thresholding
function is used to regularize the idiosyncratic errors' estimated
covariance matrix, though other regularization schemes could be used.
We do not recommend that this estimator be employed when the estimand is the correlation matrix. The diagonal entries of the resulting estimate are not guaranteed to be equal to one.
robustPoetEst(dat, k, lambda, var_est = c("sample", "mad", "huber"))
dat |
A numeric |
k |
An |
lambda |
A non-negative |
var_est |
A |
A matrix
corresponding to the estimate of the covariance
matrix.
robustPoetEst(dat = mtcars, k = 2L, lambda = 0.1, var_est = "sample")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.