# Anderson-Darling statistic

In the goodness-of-fit problem (cf. Goodness-of-fit test) one wants to test whether the distribution function of a random variable belongs to a given set of distribution functions. In the simplest case this set consists of one completely specified (continuous) distribution function , say. A well-known class of test statistics for this testing problem is the class of EDF statistics, thus called since they measure the discrepancy between the empirical distribution function and . The empirical distribution function is a non-parametric statistical estimator of the true distribution function based on a sample . The weighted Cramér–von Mises statistics form a subclass of the EDF statistics. They are defined by

where is a non-negative weight function. The weight function is often used to put extra weight in the tails of the distribution, since is close to zero at the tails and some form of relative error is more attractive.

A particular member of this subclass is the Anderson–Darling statistic, see [a1], [a2], obtained by taking

To calculate the Anderson–Darling statistic one may use the following formula:

with and the ordered sample.

It turns out, cf. [a7] and references therein, that the Anderson–Darling test is locally asymptotically optimal in the sense of Bahadur under logistic alternatives (cf. Bahadur efficiency). Moreover, under normal alternatives its local Bahadur efficiency is , and hence the test is close to optimal.

In practice, it is of more interest to test whether the distribution function of belongs to a class of distribution functions indexed by a nuisance parameter , as, for instance, the class of normal, exponential, or logistic distributions. The Anderson–Darling statistic is now obtained by replacing by in calculating , where is an estimator of . Often, the maximum-likelihood estimator (cf. also Maximum-likelihood method) is used, but see [a5] for a discussion on the use of other estimators.

Simulation results, cf. [a3], [a4], [a5], [a6] and references therein, show that the Anderson–Darling test performs well for testing normality (cf. Normal distribution), and is a reasonable test for testing exponentiality and in many other testing problems.

#### References

[a1] | T.W. Anderson, D.A. Darling, "Asymptotic theory of certain "goodness-of-fit" criteria based on stochastic processes" Ann. Math. Stat. , 23 (1952) pp. 193–212 |

[a2] | T.W. Anderson, D.A. Darling, "A test of goodness-of-fit" J. Amer. Statist. Assoc. , 49 (1954) pp. 765–769 |

[a3] | L. Baringhaus, R. Danschke, N. Henze, "Recent and classical tests for normality: a comparative study" Comm. Statist. Simulation Comput. , 18 (1989) pp. 363–379 |

[a4] | L. Baringhaus, N. Henze, "An adaptive omnibus test for exponentiality" Comm. Statist. Th. Methods , 21 (1992) pp. 969–978 |

[a5] | F.C. Drost, W.C.M. Kallenberg, J. Oosterhoff, "The power of EDF tests to fit under non-robust estimation of nuisance parameters" Statistics and Decision , 8 (1990) pp. 167–182 |

[a6] | F.F. Gan, K.J. Koehler, "Goodness-of-fit tests based on probability plots" Technometrics , 32 (1990) pp. 289–303 |

[a7] | Ya.Yu. Nikitin, "Asymptotic efficiency of nonparametric tests" , Cambridge Univ. Press (1995) |

**How to Cite This Entry:**

Anderson-Darling statistic.

*Encyclopedia of Mathematics.*URL: http://www.encyclopediaofmath.org/index.php?title=Anderson-Darling_statistic&oldid=22021