h = lillietest(x)
h = lillietest(x, Name, Value)
[h, p] = lillietest(...)
[h, p, kstat, critval] = lillietest(...)
lillietest performs a two-sided Lilliefors goodness-of-fit test with parameters estimated from the sample. NaN observations are omitted.
Name-value arguments include Alpha, Distribution, and MCTol. Supported distributions are normal, exponential, and extreme value. MCTol is accepted for syntax compatibility; this implementation uses a deterministic approximation.
x = [-1 -0.5 0 0.5 1];
[h, p, kstat, critval] = lillietest(x)
| Version | Description |
|---|---|
| 2.0.0 | initial version |