[SciPy-user] new Kolmogorov-Smirnov test

Jarrod Millman millman@berkeley....
Wed Dec 3 13:49:30 CST 2008


On Wed, Dec 3, 2008 at 11:43 AM, Matthew Brett <matthew.brett@gmail.com> wrote:
>> def ks_2samp(data1, data2):
>>    """ Computes the Kolmogorov-Smirnof statistic on 2 samples.  Modified
>>    from Numerical Recipies in C, page 493.  Returns KS D-value, prob.  Not
>>    ufunc- like.
>
> Wait - really?  We can't use Numerical Recipes code, it has strict and
> incompatible licensing...  If it's in there it really has to come out
> as fast as possible.

http://www.nr.com/licenses/redistribute.html

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the SciPy-user mailing list