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.
The sum should run to infinity, but more terms merely aid convergence for small x, which is not very interesting:
This file was created by Graphing Calculator 3.5.
Visit Pacific Tech to download the helper application to view and edit these equations live.