This function is a wrapper for the ad.test function from
the package kSamples
. The method "exact" is specified in the call to
ad.test
. Refer to that package's documentation for details.
There is a minor difference in the formulation of the Anderson--Darling
k-Sample test in CMH-17-1G, compared with that in the Scholz and
Stephens (1987). This difference affects the test statistic and the
critical value in the same proportion, and therefore the conclusion of
the test is unaffected. When
comparing the test statistic generated by this function to that generated
by software that uses the CMH-17-1G formulation (such as ASAP, CMH17-STATS,
etc.), the test statistic reported by this function will be greater by
a factor of \((k - 1)\), with a corresponding change in the critical
value.
For more information about the difference between this function and
the formulation in CMH-17-1G, see the vignette on the subject, which
can be accessed by running vignette("adktest")