Description Usage Arguments Value Examples
Computing a global minimum variance portfolio weights from the estimated covariance matrix of return series.
1 |
cov.mat |
an estimated p*p covariance matrix |
short |
logical flag, indicating whether shortsales on the risky assets are allowed |
a numerical vector containing the estimated portfolio weights
1 2 3 4 | data(m.excess.c10sp9003)
assets <- m.excess.c10sp9003[,1:10]
GMVP(cov(assets), short=TRUE)
GMVP(cov(assets), short=FALSE)
|
ABT LLY MRK PFE F GM BP CVX RD XOM
0.2439 0.0567 0.0011 0.0131 -0.0284 0.1025 0.0843 0.0993 -0.1228 0.5502
ABT LLY MRK PFE F GM BP CVX RD XOM
0.2320 0.0590 0.0000 0.0000 0.0000 0.0853 0.0514 0.0532 0.0000 0.5191
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.