[Scipy-tickets] [SciPy] #560: add bounds checking for percentileofscore

SciPy scipy-tickets@scipy....
Thu Dec 13 14:59:22 CST 2007


#560: add bounds checking for percentileofscore
-------------------------+--------------------------------------------------
 Reporter:  stefan       |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.7     
Component:  scipy.stats  |     Version:  devel   
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 From a mailing list post on 13 Dec by Samuel Garcia.

 {{{
 In [1]: from scipy import *

 In [2]: a = rand(10000)

 In [3]: stats.percentileofscore(a,.2)
 Out[3]: 20.0157565073
          This OK.


 In [4]: stats.percentileofscore(a,.0002)
 Out[4]: 102.898311442
             This is strange !!!!!
 }}}

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


More information about the Scipy-tickets mailing list