In statistics, the Lilliefors test is a normality test based on the Kolmogorov–Smirnov test. It is used to test the null hypothesis that data come from a normally distributed population, when the null hypothesis does not specify which normal distribution; i.e., it does not specify the expected value and variance of the distribution. It is named after Hubert Lilliefors, professor of statistics at George Washington University.
The test proceeds as follows:
- First estimate the population mean and population variance based on the data.
- Then find the maximum discrepancy between the empirical distribution function and the cumulative distribution function (CDF) of the normal distribution with the estimated mean and estimated variance. Just as in the Kolmogorov–Smirnov test, this will be the test statistic.
- Finally, assess whether the maximum discrepancy is large enough to be statistically significant, thus requiring rejection of the null hypothesis. This is where this test becomes more complicated than the Kolmogorov–Smirnov test. Since the hypothesised CDF has been moved closer to the data by estimation based on those data, the maximum discrepancy has been made smaller than it would have been if the null hypothesis had singled out just one normal distribution. Thus the "null distribution" of the test statistic, i.e. its probability distribution assuming the null hypothesis is true, is stochastically smaller than the Kolmogorov–Smirnov distribution. This is the Lilliefors distribution. To date, tables for this distribution have been computed only by Monte Carlo methods.
In 1986 a corrected table of critical values for the test was published.
- Lilliefors, Hubert W. (1967-06-01). "On the Kolmogorov-Smirnov Test for Normality with Mean and Variance Unknown". Journal of the American Statistical Association. 62 (318): 399–402. doi:10.1080/01621459.1967.10482916. ISSN 0162-1459.
- Lilliefors, Hubert W. (1969-03-01). "On the Kolmogorov-Smirnov Test for the Exponential Distribution with Mean Unknown". Journal of the American Statistical Association. 64 (325): 387–389. doi:10.1080/01621459.1969.10500983. ISSN 0162-1459.
- Dallal, Gerard E.; Wilkinson, Leland (1986-11-01). "An Analytic Approximation to the Distribution of Lilliefors's Test Statistic for Normality". The American Statistician. 40 (4): 294–296. doi:10.1080/00031305.1986.10475419. ISSN 0003-1305.
- Conover, W.J. (1999), "Practical nonparametric statistics", 3rd ed. Wiley : New York.