ShapiroWilkTest
ShapiroWilkTest is a statistical test used to assess whether a sample comes from a normally distributed population. Named after Samuel Shapiro and Martin Wilk, it was proposed in 1965. The test evaluates the null hypothesis that the data are drawn from a normal distribution with unknown mean and variance against the alternative that the distribution is not normal.
The Shapiro-Wilk statistic W is defined as W = ( (sum_{i=1}^n a_i x_(i))^2 ) / ( sum_{i=1}^n (x_i - x̄)^2 ), where x_(i)
ShapiroWilkTest is particularly powerful for detecting departures from normality in small to moderate samples and is
Limitations include sensitivity to outliers and non-independence among observations. With very large samples, trivial deviations can