Sections:

Profiles:

Shapiro-Wilk Test

The Shapiro-Wilk Test tests the null hypothesis that a sample $\it{X}$ came for a normally distributed population.

$$W = \frac{\big(\sum_{i = 1}^n a_i x_{(i)}\big)^2}{\sum_{i = 1}^n (x_i - \bar{x})^2}$$

Where:

Coefficients $a_i$ are given by:

$$(a_1, \dots, a_n) = \frac{m^T V^{-1}}{C}$$

$$C = ||V^{-1}m|| = (m^T V^{-1} V^{-1} m)^{1/2}$$

Where:

If the $p$-value is less than the chosen alpha level, usually $0.05$, then the null hypothesis is rejected, i.e. the data tested is not normally distributed.

References

Resources