A theory for calculating the Kolmogorov-Smirnov distributions, which is based on a combination of (1) the observation that the empirical distribution function of a sample of data is merely a scaled and normalized Poisson process and (2) certain analy...