cov_estim_poet: Principal Orthogonal ComplEment Thresholding (POET)...

View source: R/cov_estim_poet.R

cov_estim_poetR Documentation

Principal Orthogonal ComplEment Thresholding (POET) Covariance Estimation

Description

Computes the POET estimator of the covariance matrix.

Usage

cov_estim_poet(data, K = NULL, C = 1, thres = "soft", thres_mat = "vad")

Arguments

data

an nxp data matrix.

K

an integer, the number of principal components (factors). Default values is NULL and the optimal K is calculated as in \insertCitepoetpackage;textualcovestim. K=0 corresponds to threshoding the sample covariance directly.

C

a double, the positive constant for thresholding. Default value is 1.

thres

a character, indicating the choice of thresholding. Possible values are "soft" for soft-thresholding, "hard" for hard thresholding and "scad" for scad thresholding. Default is "soft".

thres_mat

a character, indicating the option of thresholding either correlation or covairance matrix. Possible values are "cor" for thresholding the error correlation matrix then transform back to covariance matrix and "vad" for thresholding the error covariance matrix directly. Default is "cor".

Details

The POET estimator of the covariance matrix is computed according to \insertCitefan2013poet;textualcovestim. The POET estimation is originally found under \insertCitepoetpackage;textualcovestim.

Value

a list with the following entries

  • a pxp estimated covariance matrix.

  • an estimation specific tuning parameter, here the number of principal components K.

References

\insertAllCited

Examples

data(rets_m)
# user-defined K
sigma_poet <- cov_estim_poet(rets_m, K = 2)[[1]]
# optimal K
sigma_poet <- cov_estim_poet(rets_m)[[1]]


antshi/CovEstim documentation built on June 10, 2025, 3:11 a.m.