MATLAB: Probability distribution

distributionprobabilityreturns

Hi there, I have a series of 1277 daily returns on a asset. I want to see what distribution these returns follow (Eg, Levy, Normal). Does anybody know how I can show which distribution it is??
I look forward to a reply.

Best Answer

If you have a univariate data then you can test it for normality using Anderson-Daarling test [1] or Kolmogorv-Smirnov test [2].
[1] http://www.mathworks.com/matlabcentral/fileexchange/14807-andartest ... you will have to modify the code slightly to get the p-value
[2] implemented as 'kstest' function in Statistics Toolbox
Unfortunately, I am not familiar with other tests to see if the data was drawn from other types of distributions ...
Related Question