Code covered by the BSD License  

Highlights from
Risk and Asset Allocation

image thumbnail
from Risk and Asset Allocation by Attilio Meucci
Software for quantitative portfolio and risk management

[Mu,Sigma]=NormalMLE(X)
function [Mu,Sigma]=NormalMLE(X)

Mu=mean(X)';

T = size(X,1);
X = X - ones(T,1) * Mu';
Sigma = X'*X/T;

Contact us at files@mathworks.com