Description Usage Arguments Value Author(s) References Examples
View source: R/cov_shrink_to_identity.R
Implements the covariance matrix as described in Ledoit & Wolf (2004).
1 | cov_shrink_to_identity(R, shrink = NULL, portfolio = TRUE)
|
R |
A vector, matrix, data.frame, xts, timeSeries or zoo object to be checked and coerced. |
shrink |
A number between 0 and 1. |
portfolio |
If |
A variance-covariance matrix.
Bernardo Reckziegel
Ledoit, Olivier, and Michael Wolf. A well-conditioned estimator for large-dimensional covariance matrices. Journal of multivariate analysis 88.2 (2004): 365-411.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.