View source: R/efficientrand.R
efficientrand | R Documentation |
En funktion til beregning af efficient rand
efficientrand(mu, sigma)
mu |
En vektor med forventede afkastrater |
sigma |
covariansmatrix |
En tekststreng der specificerer sammenhæng mellem en porteføljes varians og dens forventede afkast. output skal læses som at mu^i = koefficienten foran den i'te potens af forventet afkast
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) efficientrand(mu,sigma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.