View source: R/cov_estim_evc.R
cov_estim_evc_bp | R Documentation |
Computes the Eigenvalue Clipping (EVC) estimator of the covariance matrix with the Bouchaud-Potters (BP) technique.
cov_estim_evc_bp(data, cut_edge)
data |
an nxp data matrix |
cut_edge |
a double, indicating the proportion for the applied eigenvalue clipping. |
The eigenvalue clipping covariance matrix estimator is computed with the following formula:
\hat{\Sigma}=\Delta\hat{\Lambda}\Delta',
where \Delta
is the matrix with the sample eigenvectors of the data matrix and
\hat{\Lambda}
is a diagonal matrix with the clipped sample eigenvalues.
The clipping procedure follows \insertCitebouchaudpotters2009;textualcovestim.
In particular, the user-defined cutting edge s
gives the proportion for the applied eigenvalue clipping
so that the (1-s)\times p
largest eigenvalues are kept
and the remaining s\times p
eigenvalues are substituted by their average.
a list with the following entries
a pxp estimated covariance matrix.
an estimation specific tuning parameter, here the user-supplied cut edge.
data(rets_m)
sigma_evc_bp <- cov_estim_evc_bp(rets_m, cut_edge = 0.3)[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.