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_, S_]=Prior2Posterior(M,Q,M_Q,S,G,S_G)
function [M_, S_]=Prior2Posterior(M,Q,M_Q,S,G,S_G)

M_=M+S*Q'*inv(Q*S*Q')*(M_Q-Q*M);
S_=S+(S*G')*( inv(G*S*G')*S_G*inv(G*S*G') -inv(G*S*G') )*(G*S);

Contact us at files@mathworks.com