Code covered by the BSD License  

Highlights from
Fully Flexible Views and Stress-testing

image thumbnail
from Fully Flexible Views and Stress-testing by Attilio Meucci
Full generalization of Black-Litterman and related techniques via entropy pooling

M=ImpliedExpRets(S,w)
function M=ImpliedExpRets(S,w)

M_=S*w;

s=sqrt(mean(diag(S)));
M=M_/mean(M_)*.5*s;

Contact us at files@mathworks.com