6.8.7.2.4.2. statsmodels.sandbox.stats.stats_dhuard.percentileofscore¶
-
statsmodels.sandbox.stats.stats_dhuard.
percentileofscore
(data, score)[source]¶ Return the percentile-position of score relative to data.
score: Array of scores at which the percentile is computed.
Return percentiles (0-100).
- Example
- r = randn(50)
x = linspace(-2,2,100) percentileofscore(r,x)
Raise an error if the score is outside the range of data.