Kolmogorov-Smirnov Test – 2 Sample Kolmogorov-Smirnov vs. Anderson-Darling vs Cramer-von-Mises

anderson darling testkolmogorov-smirnov testtwo-sample

I was wondering what are the criteria to use Kolmogorov-Smirnov, Cramer-von-Mises, and Anderson-Darling when comparing 2 ECDFS. I know the mathematics of how each differ, but if I have some ECDF data, how would I know which test is appropriate to use?

Best Answer

To cut a long story short: Anderson-Darling test is assumed to be more powerful than Kolmogorov-Smirnov test.

Have a glance on this article comparing various tests (of normality, but the results hold for comparing two distribudions) Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling Tests by Nornadiah Mohd Razali & Yap Bee Wah.

Anderson-Darling test is much more sensitive to the tails of distribution, whereas Kolmogorov-Smirnov test is more aware of the center of distribution.

To sum up, I would recommend you to use Anderson-Darling or eventually Cramer-von Misses test, to get much more powerful test.

Related Question