LillieforsTest
LillieforsTest is a statistical procedure for assessing whether a dataset comes from a normal distribution when the mean and variance are unknown and must be estimated from the data. It was introduced by Hubert Lilliefors in 1967 as a refinement of the Kolmogorov-Smirnov test, addressing the issue that the standard KS test is not valid when distribution parameters are estimated from the sample. The null hypothesis is that the data are drawn from a normal distribution with unknown mean and variance; the alternative is that the data do not come from such a normal distribution.
To perform the test, one computes the sample mean x̄ and the sample standard deviation s, and
LillieforsTest is widely used in practical data analysis and is implemented in several statistical software environments