Anderson-Darling test

returns
a test decision for the null hypothesis that the data in vector `h`

= adtest(`x`

)`x`

is
from a population with a normal distribution, using the Anderson-Darling test.
The alternative hypothesis is that `x`

is not from
a population with a normal distribution. The result `h`

is `1`

if
the test rejects the null hypothesis at the 5% significance level,
or `0`

otherwise.

returns
a test decision for the Anderson-Darling test with additional options
specified by one or more name-value pair arguments. For example, you
can specify a null distribution other than normal, or select an alternative
method for calculating the `h`

= adtest(`x`

,`Name,Value`

)*p*-value.