[Scipy-tickets] [SciPy] #1852: Bug in spearmanr function to calculate correlation

SciPy Trac scipy-tickets@scipy....
Tue Feb 26 06:25:28 CST 2013

#1852: Bug in spearmanr function to calculate correlation
 Reporter:  damani  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  0.11.0     
 Keywords:          |  

Comment(by josefpktd):

 If I remember correctly, the change comes from fixing the tie handling. (I
 don't have R available right now to verify).

 The online calculator prints this on top

 Please find below the calculation of Spearman's coefficient along with all
 the working!

 Warning: We have detected that you have ties in your data. At
 undergraduate level, you may be required to know that the following
 formula should not be used. However, for school work it is probably
 acceptable - consult your own work/syllabus/teacher to be sure.

 Replacing on of the 7 by something slightly different, I get the same

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

More information about the Scipy-tickets mailing list