Lilliefors Test of Normality
Test for class of normal distributions.
We can write the class or set of normal distributions as:
Our Null Hypothesis thus is or in words, “is the CDF of our data sequence in the class of normal distributions?”
We define our Test Statistic as the supremum of the absolute distances between the ECDF and the CDF of a normal distribution with estimated Arithmetic Mean and Variance.
The distribution of is independent of the Variance and Expectation of the Normal Distribution and may thus be simulated.
To make up for the increasing we use the square root of it to scale the distribution.
We accept :
- if the test statistic is
- if with the p-Value of the test.
Usage in R