pfweights | R Documentation |
Beregner porteføljevægte for minimum varians-portefølje givet en specificeret afkastrate
pfweights(mu, sigma, mu_p)
mu |
En vektor med forventede afkastrater |
sigma |
covariansmatrix |
mu_p |
Krævet afkastrate |
En vektor af porteføljevægte
mu <- c(0.03,0.05,0.06) sigma <- matrix(c(0.04,0.01,0.01,0.01,0.09,0.01,0.01,0.01,0.16), ncol =3) mu_p <-0.08
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.