[Scipy-tickets] [SciPy] #1527: stats.kruskal not working as advertised

SciPy Trac scipy-tickets@scipy....
Sat Oct 1 06:59:01 CDT 2011


#1527: stats.kruskal not working as advertised
-------------------------+--------------------------------------------------
 Reporter:  ckuster      |       Owner:  somebody    
     Type:  defect       |      Status:  needs_review
 Priority:  normal       |   Milestone:  Unscheduled 
Component:  scipy.stats  |     Version:  0.9.0       
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by josefpktd):

 ckuster, can you work with git and gihub to prepare a pull request? That
 would make reviewing and applying the changes much easier, then a patch.

 I don't see any relevant changes in your new stats.patch.

 `kruskal_patch.txt` looks fine from reading through it:

 adding a test that uses lists as input to kruskal assures problem is fixed

 Note: if a functions doesn't use np.asarray, then it needs to be tested
 also against other subclasses of numpy arrays, e.g. masked arrays and
 matrices

 minor in kruskal_patch.txt:
   can use inplace addition ssbn += sumof...
   I would have defined j as numpy array, but I never timed it

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1527#comment:7>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list