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

SciPy Trac scipy-tickets@scipy....
Sat Oct 1 09:49:00 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 ckuster):

 The kruskal_patch.txt file failed when I tried to apply it.  Also... it
 has a tab instead of 4 spaces on one of the lines.  The stats.patch file
 applied correctly (I used the wrong options with diff the first time
 around).

 The result of the np.asarray function call in f_oneway was being
 discarded, so I commented it out.  I can add the np.asarray call to both.
 It will double the calling time when calling it with a standard python
 list, but won't have much of an effect when using numpy arrays.

 Apparently I've been working in languages w/out the += operator for too
 long.

 I'll look into doing a pull request with git.  I used git to get the code
 to start with, so it shouldn't be too hard.

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


More information about the Scipy-tickets mailing list