h = adtest(x)
h = adtest(x, Name, Value)
[h, p] = adtest(...)
[h, p, adstat, cv] = adtest(...)
adtest performs an Anderson-Darling goodness-of-fit test. NaN observations are omitted.
Name-value arguments include Distribution, Alpha, MCTol, and Asymptotic. Supported distribution families are norm, exp, ev, logn, and weibull. MCTol is accepted for syntax compatibility; this implementation uses a deterministic approximation.
x = [1 2 3 4 5];
[h, p, adstat, cv] = adtest(x)
| Version | Description |
|---|---|
| 2.0.0 | initial version |