h = jbtest(x)
h = jbtest(x, alpha)
h = jbtest(x, alpha, mctol)
[h, p, jbstat, critval] = jbtest(...)
jbtest performs a Jarque-Bera test for normality with unknown mean and variance. NaN observations are omitted.
The optional alpha argument sets the significance level. The optional mctol argument is accepted for syntax compatibility; this implementation uses the deterministic chi-square approximation.
x = [1 2 3 4 5];
[h, p, jbstat, critval] = jbtest(x)
| Version | Description |
|---|---|
| 2.0.0 | initial version |