Shapiro-Wilk Test of Normality

Is a qq GOF Test for Class of Distributions, in this case Normal Distributions.

How to perform the test

Make qq-Plot for any Normal Distribution against Standard Normal Distribution. Use simple Linear Regression to fit a diagonal line to the plot and read off the slope .

Calculate Test Statistic where is the empirical standard deviation for the data sequence.

Given the test statistic will be close to . You can quanitfy this by simulating the test statistic and determening its distribution. You can calculate an Acceptance Domain with where is the probability for Type 1 Error.