[SciPy-user] quantile function in scipy
Sat Feb 23 23:58:36 CST 2008
Manu Hack wrote:
> I'd like to know if there is any function to find the quantiles, given
> two lists where one is the value and another the frequency.
> For example, v = [1, 2, 3], freq = [3, 2, 1], then I would like to
> have the quantiles for the samples: 1, 1, 1, 2, 2, 3.
> Have browsed around the doc of scipy.stats but didn't get any thing
> close. Thanks a lot.
Would scipy.stats.percentileofscore solve your problem ?
More information about the SciPy-user