6.8.7.2.4.3. statsmodels.sandbox.stats.stats_dhuard.scoreatpercentile

statsmodels.sandbox.stats.stats_dhuard.scoreatpercentile(data, percentile)[source]

Return the score at the given percentile of the data.

Example:
>>> data = randn(100)
    >>> scoreatpercentile(data, 50)

will return the median of sample data.