In several statistics handbooks of statistics gave the following formula for the computation of the Kolmogorov goodness of fit statistic is   . And the alternative formula test statistic  to  measure distance for two distribution functions is used  For actual data, the difference is likely to be less than the upper bound. This form makes it clear that an upper bound on the difference between these two formulas is  For example, for N = 20, the upper bound on the difference between these two formulas is 0.05 For N = 100, the upper bound is 0.01. In practice, to large sample sizes (say N ≥ 50), these formulas are essentially equivalent.
Copyrights © 2009