[Scipy-tickets] [SciPy] #1823: kendalltau does not return -1 for reversed list.

SciPy Trac scipy-tickets@scipy....
Fri Jan 25 15:21:36 CST 2013


#1823: kendalltau does not return -1 for reversed list.
--------------------+-------------------------------------------------------
 Reporter:  jdean   |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  0.11.0     
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by josefpktd):

 reversing the sequence will only have a kendall_tau = -1 if the sequence
 is monotonic.

 Take as example a mirrored in the middle sequence, so that x == x[::-1],
 then kendall tau should be 1.

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


More information about the Scipy-tickets mailing list