AndersonDarlingtests
The Anderson-Darling test is a statistical test used to determine whether a given sample of data comes from a population that follows a particular distribution. It is an extension of the Kolmogorov-Smirnov test and is particularly sensitive to differences in the tails of the distribution. The test was developed by Theodore Anderson and Donald A. Darling in 1952.
The Anderson-Darling test statistic is calculated by comparing the empirical distribution function of the sample data
A^2 = -n - ∑ [ (2i-1) / n * (ln(F(Xi)) + ln(1 - F(Xn+1-i))) ]
where n is the sample size, Xi are the ordered sample values, and F is the cumulative
The Anderson-Darling test is often used in goodness-of-fit tests to assess whether a sample of data follows
The test statistic follows a specific distribution under the null hypothesis, and critical values or p-values