linearShrinkLWEst | R Documentation |
linearShrinkLWEst()
computes an asymptotically optimal
convex combination of the sample covariance matrix and the identity matrix.
This convex combination effectively shrinks the eigenvalues of the sample
covariance matrix towards the identity. This estimator is more accurate
than the sample covariance matrix in high-dimensional settings under fairly
loose assumptions. For more information, consider reviewing the manuscript
by \insertCiteLedoit2004;textualcvCovEst.
linearShrinkLWEst(dat)
dat |
A numeric |
A matrix
corresponding to the Ledoit-Wolf linear shrinkage
estimate of the covariance matrix.
linearShrinkLWEst(dat = mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.