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