Mathwords logoMathwords

Jarque–Bera Test — Definition, Formula & Example

The Jarque–Bera test is a hypothesis test that checks whether a data set could plausibly come from a normal distribution. It measures how lopsided the data are (skewness) and how heavy their tails are (kurtosis) compared with a bell curve.

Given a sample of size nn with sample skewness SS and sample kurtosis KK, the Jarque–Bera statistic is JB=n6(S2+(K−3)24)JB = \frac{n}{6}\left(S^2 + \frac{(K-3)^2}{4}\right). Under the null hypothesis that the population is normal, JBJB approximately follows a chi-square distribution with 2 degrees of freedom for large nn. Large values of JBJB are evidence against normality, so the test is right-tailed.

Key Formula

JB=n6(S2+(K−3)24),S=m3m23/2,K=m4m22,mk=1n∑i=1n(xi−xˉ)kJB = \frac{n}{6}\left(S^2 + \frac{(K-3)^2}{4}\right), \qquad S = \frac{m_3}{m_2^{3/2}}, \quad K = \frac{m_4}{m_2^{2}}, \quad m_k = \frac{1}{n}\sum_{i=1}^{n}(x_i - \bar{x})^k
Where:
  • nn = Sample size
  • SS = Sample skewness. It is 0 for a perfectly symmetric distribution.
  • KK = Sample kurtosis. It is 3 for a normal distribution, so K−3K - 3 measures excess tail weight.
  • mkm_k = The k-th sample moment about the mean
  • xˉ\bar{x} = Sample mean

Worked Example

Problem: You record the commute times of 60 students, in minutes. The sample skewness is S=0.6S = 0.6 and the sample kurtosis is K=4.2K = 4.2. At the 0.05 significance level, do the data give evidence that commute times are not normally distributed?
Step 1: State the hypotheses. Then compute the skewness and kurtosis pieces separately. Each piece measures one way the shape departs from a bell curve.
H0:the population is normalS2=0.62=0.36,(K−3)24=1.224=1.444=0.36H_0: \text{the population is normal} \qquad S^2 = 0.6^2 = 0.36, \qquad \frac{(K-3)^2}{4} = \frac{1.2^2}{4} = \frac{1.44}{4} = 0.36
Step 2: Add the two pieces and multiply by n/6n/6.
JB=606(0.36+0.36)=10(0.72)=7.2JB = \frac{60}{6}(0.36 + 0.36) = 10(0.72) = 7.2
Step 3: Compare the statistic with the chi-square distribution with 2 degrees of freedom. For 2 degrees of freedom, the right-tail area beyond xx is exactly e−x/2e^{-x/2}. That gives the critical value and the p-value.
χ0.05, 22=−2ln⁡(0.05)≈5.991<7.2,p=e−7.2/2=e−3.6≈0.027\chi^2_{0.05,\,2} = -2\ln(0.05) \approx 5.991 < 7.2, \qquad p = e^{-7.2/2} = e^{-3.6} \approx 0.027
Answer: JB=7.2JB = 7.2, which exceeds the critical value 5.991 (p-value about 0.027 < 0.05). Reject H0H_0. There is convincing evidence that commute times are not normally distributed. The right skew and heavy tails are both contributing. With only 60 observations the chi-square approximation is rough, so confirm with a normal probability plot.

Why It Matters

Many AP Stats procedures, like t-intervals for small samples, assume a roughly normal population. AP Stats checks that assumption with graphs. The Jarque–Bera test replaces the visual check with a number. Economists and financial analysts run it on regression residuals and stock returns, which often have heavier tails than a normal model predicts.

Common Mistakes

Mistake: Plugging excess kurtosis into the formula and still subtracting 3.
Correction: Many calculators and software packages report excess kurtosis, which already equals K−3K - 3. In that case, square the reported value and divide by 4, with no further subtraction. Subtracting 3 again gives a wrong statistic. Also note that the chi-square approximation is only reliable for large samples. With small nn, the test can mislead.

Related Terms