![](https://secure.gravatar.com/avatar/46fdbc5786ab92700b3aa4452b458d69.jpg?s=120&d=mm&r=g)
21 Apr
2018
21 Apr
'18
7:42 p.m.
Hello developers, I recently needed an implementation of the Kolmogorov-Smirnov 2 sample test which required the incorporation of a weight associated with each element of the data. This lead me to this stackexchange answer https://stats.stackexchange.com/questions/193439/two-sample-kolmogorov-smirn... where a procedure for a weighted 2-sample KS test is taken from Numerical Methods of Statistics by Monohan. My current implementation of this can be found here: https://github.com/brunel-physics/tact/blob/2b0ee2a28a30f014b103319118b64be5... Would there by any interest in incorporating this functionality into scipy? Yours, Corin Hoad