How to do the Anderson Darling Goodness-of-fit test in Matlab? (I am ideally looking for a script)

2 次查看(过去 30 天)
Dear Matlab community, I want to find the a continuous distribution that best fit my observed empirical data, therefore I would like to assess my fitted distribution functions by using the Anderson-Darling test statistics. Since this function is not included in Matlab per se, can anyone maybe provide me with a self-written script?
Many thanks

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2012-3-30
There are a number of submissions on the file exchange that seems to be related to this request:
http://www.mathworks.co.uk/matlabcentral/fileexchange/17451-andarksamtest http://www.mathworks.co.uk/matlabcentral/fileexchange/24036-anderson-darling-goodness-of-fit-test-to-inverse-gaussian-distbtn ...and whole bunch of others. Antonio Trujillo-Ortiz have made a mindnumbing number of submissions for various statistical tests. Even if nothing there solves your exact problem there should hopfully be something there for you to get a good starting point.
(In general the FEX is the place to go looking for code when matlab is bfound wanting.)
HTH

类别

Help CenterFile Exchange 中查找有关 Hypothesis Tests 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by