Description Usage Arguments Value Examples
Calculates the weights of a global minimum-variance portfolio strategy.
1 | port_estim_gmv(Sigma)
|
Sigma |
a pxp covariance matrix of asset returns. |
a vector of length p with the weights of the portfolio.
1 2 3 4 | data(sp500_rets)
example_rets <- sp500_rets[,2:11]
covMat <- var(example_rets)
port_estim_gmv(covMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.