This is the confidence (cumulative distribution) of the Kolmogorov-Smirnov statistic,
![]()
Where Ne is the effective number of counts. 98% confidence is reached at around x=1.5.
![y=2*sum([[-1]^(k-1)*e^(-(2*k^2*x^2))],k=1,6),x>0](formula4.png)
The sum should run to infinity, but more terms merely aid convergence for small x, which is not very interesting:
![y=2*sum([[-1]^(k-1)*e^(-(2*k^2*x^2))],k=1,20),x>0](formula6.png)
This file was created by Graphing Calculator 3.5.
Visit Pacific Tech to download the helper application to view and edit these equations live.