[SciPy-user] percentile

David Abreu Rodriguez david.abreu at iac.es
Fri Jan 27 05:30:19 CST 2006


I do not understand this result:

 >>> scipy.stats.scoreatpercentile([1,2,3,4],50)
2.0750000000000002
 >>> scipy.stats.percentileofscore([1,2,3,4],2.5)
50.0

I suppose that percentileofscore is the inverse function of 
scoreatpercentile.
what is wrong?

thanks



More information about the SciPy-user mailing list