Anderson–Darling Test: Why Tail Differences Carry Weight
2026-11-09

Anderson–Darling Test: Why Tail Differences Carry Weight

The Anderson–Darling Test measures how a sample differs from a proposed distribution. In the one-sample setting, it evaluates the model's cumulative probabilities at ordered observations and combines those probabilities into a statistic. Differences in the distribution tails receive particular weight. The statistic then has to be compared with an appropriate reference for the specified model and testing procedure.

The model assigns a cumulative probability to each observation

The NIST engineering statistics handbook describes the test in terms of ordered data and the cumulative distribution function of the proposed distribution. Ordering the measurements puts the smallest and largest observations at known positions in the calculation. The cumulative probability at each observation says how much of the proposed distribution lies at or below that measurement.

A value in the lower tail of the proposed model has a small cumulative probability. A value in its upper tail has a small remaining probability above it. These two probabilities refer to the same model distribution from opposite ends. The test therefore uses the model position of an observation as well as its place in the sample's ordering.

An increasing cumulative curve labels low F in the lower tail and small one-minus-F in the upper tail.
The proposed model supplies the probabilities used in the statistic. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration.

Tail observations can contribute strongly to the statistic

NIST's expression includes logarithms of the model cumulative probability at an ordered observation and of one minus the cumulative probability at its partner ordered from the other end. A logarithm of a number close to zero becomes strongly negative. This behavior makes extreme tail probabilities important in the combined statistic. The rank-dependent weights are part of the defined sum.

NIST contrasts this construction with the Kolmogorov–Smirnov statistic, which summarizes the largest discrepancy between cumulative curves. The Anderson–Darling statistic gives comparatively more weight to the tails. It still depends on the ordered sample across the distribution. The tail emphasis describes how discrepancies enter the statistic, rather than reducing the analysis to just the largest and smallest values.

The statistic needs a reference that matches the procedure

A larger value indicates a larger discrepancy as defined by this statistic. NIST describes rejection when the statistic exceeds its critical value at the chosen significance level. The reference depends on the distribution under test. The handbook also notes that published forms can scale the statistic using an adjustment. A critical value should therefore be paired with the version of the statistic for which it was obtained.

A separate question is whether model parameters were fixed before examining the sample or estimated from it. Fitting can bring the model closer to the observed data. If the reference procedure calculates statistics without reproducing that fitting step, the observed statistic and reference statistics can reflect different comparisons. The test record needs to state how the model was specified.

Two rows show fitting observed data and refitting same-size draws before each statistic.
Observed and reference statistics use corresponding fitting steps. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration.

A simulation reference can repeat the fitting step

SciPy 1.16.1's goodness-of-fit documentation describes a Monte Carlo option that supports the Anderson–Darling statistic. It fits unknown parameters to the observed sample, draws new samples of the same size from the fitted model, and fits unknown parameters again for each new sample. The statistic is evaluated against each sample's own fitted distribution. The set of those values forms the reference used for the observed value.

The simulated measurements and the simulated statistic values serve different purposes. The measurements provide samples to which the fitting rule is applied. The statistic values provide the comparison distribution. The observed statistic is then assessed against those values, using the documented tail count and the software's adjustment for a finite number of draws.

Record what the decision means

A result can state the proposed distribution family, the observed statistic, which parameters were fixed or fitted, and the chosen reference method. Failing to reject at a stated significance level indicates that the test did not find enough evidence against that model in the sample under the chosen procedure. Related material appears in the robot statistics archive and the technical article directory.

A report can also retain a plot or description of where the discrepancies occur. The test supplies an overall statistic. The distribution view can show whether a departure is concentrated in a tail or spread across the sample. These are complementary records.

For the SciPy procedure, if b simulated statistics are at least as large as the observed statistic and m simulated samples were drawn, the reported probability estimate is the ratio of b plus one to m plus one. The finite reference size therefore belongs in the record alongside the test statistic and the distribution family. The probability estimate describes the observed discrepancy relative to the particular reference process.

Primary references

See NIST's Anderson–Darling test definition and SciPy 1.16.1's goodness-of-fit reference.

18028484626 CONTACT US

公司:智联海(惠州)科技有限公司

地址:惠州仲恺高新区陈江街道白云山工业大道 5 号六楼 601

Q Q:18028484626

Copyright © 2002-2026

粤xxx

咨询 在线留言 电话:18028484626
微信 微信扫码添加我