Goodness-of-Fit Testing

The Anderson–Darling Test

From a weighted integral to the two familiar discrete formulas

Maruthy Pannala, PhDPublished July 21, 202620 min readDifficulty: Intermediate

Loading article…

Prefer a saved copy?

About This Article

A step-by-step derivation of the Anderson–Darling goodness-of-fit statistic, starting from the defining weighted integral and ending at the two discrete formulas used in software and textbooks. Along the way it shows exactly where the odd-number weights, the tail-sensitivity, and the mysterious −n term actually come from — and proves the two commonly cited discrete forms are algebraically identical, not different statistics.

How to Cite This Article

Plain text: Pannala, M. (2026). "The Anderson–Darling Test: From a Weighted Integral to the Two Familiar Discrete Formulas." StatisticsCorner™. https://www.statisticscorner.com/articles/anderson-darling-test

APA: Pannala, M. (2026). The Anderson–Darling test: From a weighted integral to the two familiar discrete formulas. StatisticsCorner™. https://www.statisticscorner.com/articles/anderson-darling-test

@misc{pannala2026andersondarling,
  author       = {Pannala, Maruthy},
  title        = {The Anderson-Darling Test: From a Weighted Integral to the Two Familiar Discrete Formulas},
  year         = {2026},
  howpublished = {StatisticsCorner™},
  url          = {https://www.statisticscorner.com/articles/anderson-darling-test}
}