Shapiro-Wilk Test – Understanding the Concept of Reversed Shapiro-Wilk Test

equivalencegoodness of fithypothesis testingnormality-assumption

The Sharipo-Wilk test, according to wikipedia, tests the null-hypothesis ($H_0$) "The population is normally distributed".

I am looking for a similar normality test with $H_0$ "The population is not normally distributed".

Having such a test, I want to calculate a $p$-value to reject $H_0$ at significance level $\alpha$ iff $p < \alpha$; proving that my population is normally distributed.

Please note that using Sharipo-Wilk test and accepting $H_0$ iff $p > \alpha$ is an incorrect approach since it literally means "we haven't enough evidence to prove that H0 doesn't hold".

Related threads – meaning of $p$-value, is normality testing useless?, but I can't see a solution to my problem.

The questions: Which test should I use? Is it implemented in R?

Best Answer

There is no such thing as a test that your data are normally distributed. There are only tests that your data are not normally distributed. Thus, there are tests like the Shapiro-Wilk where $H_0\!: \rm normal$ (there are many others), but no tests where the null is that the population is not normal and the alternative hypothesis is that the population is normal.

All you can do is figure out what kind of deviation from normality you care about (e.g., skewness), and how big that deviation would have to be before it bothered you. Then you could test to see if the deviation from perfect normality in your data was less than the critical amount. For more information on the general idea it might help to read my answer here: Why do statisticians say a non-significant result means “you can't reject the null” as opposed to accepting the null hypothesis?