Skip to content

apparently incorrect p-values from 2-sided Kolmogorov-Smirnov test (PR#14145)

1 message · Thomas Lumley

#
I've fixed this by adding 0.5/mn to q.  The problem (at least in principle) with multiplying them all up is integer overflow.

By the time 0.5/mn underflows to zero, missing one value in the distribution won't matter.

      -thomas
On Fri, 18 Dec 2009, David John Allwright wrote:

            
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle