InfluentialPoints.com Biology, images, analysis, design... 

"It has long been an axiom of mine that the little things are infinitely the most important" 

Lilliefors testThe Lilliefors test is an adaptation of the KolmogorovSmirnov onesample test which can be used when parameters of the theoretical distribution are estimated from the data rather than being known a priori. The test statistic is the same as in the KolmogorovSmirnov test  namely the maximum difference between the empirical distribution function and the theoretical cumulative distribution function. However, the critical values with which D is compared are different. The use of estimated parameters makes the maximum difference smaller than it would otherwise be if comparison had been with a fully defined distribution. The null distribution of this test statistic was computed by Lilliefors using Monte Carlo methods, although analytical methods have since been proposed. Lilliefors is most commonly used to test normality, although tabulated critical values are also available for the exponential distribution. The Lilliefors approach can probably be used for any continuous distribution using Monte Carlo methods. It can be implemented in R with lillie.test in the package nortest although R describes its performance as worse than either the AndersonDarling test or the Cramervon Mises test. Although use of the Lilliefors distribution greatly improves the onesample test, it still lacks power to reject the null hypothesis. In particular it remains relatively insensitive to discrepancies in the tails of the distribution.
