Distribution Testing
Testing for Normality
Shapiro-Wilk test
Razali, N. and Wah, Y. (2011) Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling tests. Journal of Statistical Modeling and Analytics, 2, 21-33.
Mathematical Formulation
is the the order statistics
vector is calculated as
is the expected values of the order statistics
is the covariance matrix of the order statistics
Note
Has a bias by sample size. The larger the sample, the morel likely to get a statistically significant result. AS R94 version of the test can be used for in the range of 3 to 5000
Shapiro-Wilk generally has better power for a given significance
Last updated