Normality Test

Test if your data follows a normal distribution. Apply Shapiro-Wilk, Anderson-Darling, and Jarque-Bera tests to assess normality. Visualize with histogram and…

Apply Shapiro-Wilk, Anderson-Darling, and Jarque-Bera tests to assess normality. Visualize with histogram and QQ-plot.

Why is normality testing important and how do the tests work?

Many statistical methods — including control charts, capability indices (Cpk/Ppk), t-tests, and ANOVA — assume the underlying data follows a normal (Gaussian) distribution. Normality testing verifies this assumption before applying these methods. Violating normality can lead to incorrect confidence intervals, capability estimates, and hypothesis test conclusions.

The Shapiro-Wilk test is the most powerful normality test for small to moderate samples (n < 5000). The Anderson-Darling test is sensitive to deviations in the tails, making it useful for reliability and extreme value applications. The Jarque-Bera test examines skewness and kurtosis, working well for larger samples.

All tests share the same hypothesis structure: H₀ (null) = data is normally distributed; H₁ = data is not normal. If the p-value < α (typically 0.05), reject normality. The QQ-plot provides visual confirmation: points lying on the diagonal line indicate normality; systematic deviations reveal the nature of non-normality.

Formula: Shapiro-Wilk: W = (Σaᵢx(ᵢ))² / Σ(xᵢ - x̄)² Anderson-Darling: A² = -n - Σ[(2i-1)/n](ln F(x(ᵢ)) + ln(1-F(x(n+1-i)))) reported as A*² = A²(1 + 0.75/n + 2.25/n²) Jarque-Bera: JB = (n/6)(S² + K²/4) Reject H₀ if p-value < α

Example Calculation

20 measurements tested: Shapiro-Wilk W = 0.965, p = 0.42; Anderson-Darling A² = 0.31, p = 0.52; Jarque-Bera JB = 1.2, p = 0.55. All p-values > 0.05 — fail to reject normality. The QQ-plot shows points closely following the diagonal. Data can be treated as normally distributed.

When to Use This Calculator

Common Mistakes to Avoid

How to Interpret Results

Related Standards & References

Frequently Asked Questions

What should I do if my data fails the normality test?

Options include: (1) Transform the data using log, Box-Cox, or Johnson transformation to achieve normality. (2) Use non-parametric methods that don't assume normality (e.g., Mann-Whitney instead of t-test). (3) Fit a different distribution (Weibull, lognormal, etc.) that better describes the data. (4) For large samples (n > 30), the Central Limit Theorem often makes normality violations less impactful for mean-based tests.

Why do different normality tests give different results?

Each test is sensitive to different aspects of non-normality. Shapiro-Wilk has the best overall power for detecting various departures. Anderson-Darling emphasizes tail deviations (important for reliability). Jarque-Bera focuses on skewness and kurtosis. With borderline data, one test may reject while others do not. Use the QQ-plot as the visual tiebreaker.