Bug scipy v.11 library in python2.7
25 Feb
2013
25 Feb
'13
9:49 a.m.
I wish to report the following bug. Scipy v.11 library in python2.7 gives spearmanrcorrel([1,2,3,4,5],[5,6,7,8,7]) = 0.8207 while scipy v.6 in python2.5 gives spearmanr([1,2,3,4,5],[5,6,7,8,7]) = 0.825(which is correct according to spearman correlation formula). The spearman correlation for [1,2,3,4,5],[5,6,7,8,7] calculated online according to formula available at : https://statistics.laerd.com/calculators/spearmans-rank-order-correlation-ca..., also gives 0.825. --The definition of spearmanr function in Scipy v.11 is given at : http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.spearmanr.ht.... Thanks, - Om Damani
4070
Age (days ago)
4070
Last active (days ago)
1 comments
2 participants
participants (2)
-
Om Damani (ओम दम्माणी)
-
Terry Reedy