Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Anderson-Darling test

`h = adtest(x)`

`h = adtest(x,Name,Value)`

```
[h,p] =
adtest(___)
```

```
[h,p,adstat,cv]
= adtest(___)
```

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.

Was this topic helpful?