[Scipy-tickets] [SciPy] #865: Kendalltau divides by zero

SciPy scipy-tickets@scipy....
Wed Feb 4 09:32:49 CST 2009

#865: Kendalltau divides by zero
 Reporter:  icmurray                                     |        Owner:  somebody         
     Type:  defect                                       |       Status:  new              
 Priority:  normal                                       |    Milestone:  StatisticsCleanup
Component:  scipy.stats                                  |      Version:  devel            
 Severity:  normal                                       |   Resolution:                   
 Keywords:  kendalltau cleanup stats divide by zero nan  |  
Comment (by icmurray):

 Beg your pardon, I'm now convinced the kendalltau is working as expected.
 I had not known that the normaliser, in the case of ties, is meant to be:
 sqrt( (num_pairs - num_tied_pairs_in_xs) * (num_pairs -
 num_tied_pairs_in_ys) )
 Which is consistent with the code.

Ticket URL: <http://scipy.org/scipy/scipy/ticket/865#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