Introduction to Portfolio Analysis in R
Kris Boudt
Professor, Free University Brussels & Amsterdam
Standard Deviation of portfolio returns:
Take the full sample of returns
$$SD = \sqrt{\frac{(R_1-\mu)^2 + (R_2-\mu)^2 + ... + (R_T-\mu)^2}{T-1}}$$
Semi-Deviation of portfolio returns:
Take the subset of returns below the mean
$$ SemiDev = \sqrt{\frac{(Z_1-\mu)^2 + (Z_2-\mu)^2 + ... + (Z_n-\mu)^2}{n}}$$
Zero Skewness
Negative Skewness
Zero Skewness
Negative Skewness
Positive Skewness
Introduction to Portfolio Analysis in R