Get Math Help

GET TUTORING NEAR ME!

(800) 434-2582

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Home / Get Math Help

    Quantile Function

    Usage

    Quantile[data, p] gives the estimate of the p ^th quantile Overscript[q, ^]p of data. 
Quantile[data, {p1, p2, ...}] gives a list of quantiles p1, p2, .... 
Quantile[data, p, {{a, b}, {c, d}}] uses the quantile definition specified by parameters a, b, c, d. 
Quantile[dist, p] gives a quantile of the distribution dist.

    Basic examples

    Find the halfway value of a list:
In[1]:=Quantile[{1, 2, 3, 4, 5, 6, 7}, 1/2]
Out[1]=4
Find the 20% and 80% quantiles of a list:
In[1]:=Quantile[{1, 2, 3, 4, 5, 6, 7}, {0.2, 0.8}]
Out[1]={2, 6}
Find the top percentile of a list:
In[1]:=Quantile[Range[100], 0.99]
Out[1]=99

    Attributes

    Protected | ReadProtected

    Relationships with other entities

    Median | Quartiles | Ordering | Variance | MedianDeviation | InterquartileRange | Sort | ListInterpolation | Nearest | InverseCDF | InverseSurvivalFunction | OrderDistribution

    Typical ranks of usage in programs

    739th most common (1 in 51100 symbols)

    453rd most common (1 in 25000 symbols)

    182nd most common (1 in 2400 symbols)

    History

    introduced in Version 5 (June 2003)
last modified in Version 14.1 (future)

    Timeline

    Timeline

    Back to List | POWERED BY THE WOLFRAM LANGUAGE