scipy.stats.anderson

scipy.stats.anderson(x, dist='norm')

Anderson and Darling test for normal, exponential, or Gumbel (Extreme Value Type I) distribution.

Given samples x, return A2, the Anderson-Darling statistic, the significance levels in percentages, and the corresponding critical values.

Critical values provided are for the following significance levels norm/expon: 15%, 10%, 5%, 2.5%, 1% Gumbel: 25%, 10%, 5%, 2.5%, 1% logistic: 25%, 10%, 5%, 2.5%, 1%, 0.5%

If A2 is larger than these critical values then for that significance level, the hypothesis that the data come from a normal (exponential) can be rejected.

Previous topic

scipy.stats.shapiro

Next topic

scipy.stats.binom_test

This Page

Quick search