To compare a data sample consisting of N events whose cumulative distribution is SN(x) with a hypothesis function whose cumulative distribution is F(x), the value DN is calculated:
The confidence levels for some values of are (for N > 80):
To compare two experimental cumulative distributions SN(x) containing N events, and SM(x) containing M events, calculate:
Then is the test statistic for which the confidence levels are as in the above table. For more detail, [Press95].