scipy.stats.scoreatpercentile

scipy.stats.scoreatpercentile(a, per, limit=())

Calculate the score at the given ‘per’ percentile of the sequence a. For example, the score at per=50 is the median.

If the desired quantile lies between two data points, we interpolate between them.

If the parameter ‘limit’ is provided, it should be a tuple (lower, upper) of two values. Values of ‘a’ outside this (closed) interval will be ignored.

Previous topic

scipy.stats.itemfreq

Next topic

scipy.stats.percentileofscore

This Page

Quick search