Two-sample Anderson-Darling tests

조회 수: 30 (최근 30일)
Sim
Sim 2024년 8월 4일
편집: Sim 2024년 8월 5일
Is there a function in Matlab which can perform a 2-sample Anderson-Darling test, as described/shown on Cross Validated or on R?
Indeed, to me, it looks like that the Matlab function called adtest, is not distribution-free (i.e. it is not non-parametric), and it is limited to some known distributions (i.e. 'norm', 'exp', 'ev', 'logn' and 'weibull'). However, the Anderson-Darling test should be distribution-free, which means that I can take, in the two-sample test, any empirical distributions as inputs for the two-sample Anderson-Darling test. In my case, I have two empirical distributions (coming from two datasets) that I would like to use as inputs for the two-sample Anderson-Darling test.

답변 (1개)

Star Strider
Star Strider 2024년 8월 4일
I am not certain what you want, however the two-sample Kolmogorov-Smirnov test (kstest2) appears to be distribution-free, at least as I read the documentation for it. It may do what you want.
From the documentation: it ‘returns a test decision for the null hypothesis that the data in vectors x1 and x2 are from the same continuous distribution’.
  댓글 수: 5
Star Strider
Star Strider 2024년 8월 5일
You will have to ask the author of the MATLAB function about that. (All I did was to provide the search information.)
Sim
Sim 2024년 8월 5일
Thanks @Star Strider :-) I would like to contact the author, but it looks like he is retired and it is 4 years that he does not check matlab answers.....

댓글을 달려면 로그인하십시오.

카테고리

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