[Scipy-tickets] [SciPy] #1413: scipy.stats.wilcoxon does not return z-statistic but T-value

SciPy Trac scipy-tickets@scipy....
Wed Mar 23 11:10:01 CDT 2011


#1413: scipy.stats.wilcoxon does not return z-statistic but T-value
-----------------------------------------+----------------------------------
 Reporter:  sickbock                     |       Owner:  somebody
     Type:  defect                       |      Status:  new     
 Priority:  normal                       |   Milestone:          
Component:  Other                        |     Version:  0.9.0   
 Keywords:  statistic documentation bug  |  
-----------------------------------------+----------------------------------
 The documentation of scipy.stats.wilcoxon states that the tuple (z, p) is
 returned, where z is the z-statistic. This value is calculated in [1], but
 the T statistic is returned in the code:
 https://github.com/scipy/scipy/blob/master/scipy/stats/morestats.py

 I think that either
 1) the docstring should be updated to reflect that the T-value is returned
 or
 2) the z-statistic should be returned instead.

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


More information about the Scipy-tickets mailing list