[R] A portfolio return function?

Ernest Stokely wizardchef at gmail.com
Wed Feb 11 17:25:50 CET 2015


For finance applications, I'm surprised that I am unable to find a function to compute the portfolio return (sqrt(t(w) %*% V %*% w)) where w are portfolio weights and V is the cov(returns). The Performance Analytics portfolio return function seems to compute something else.
Ernie



More information about the R-help mailing list