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.
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
Protected | ReadProtected
Median | Quartiles | Ordering | Variance | MedianDeviation | InterquartileRange | Sort | ListInterpolation | Nearest | InverseCDF | InverseSurvivalFunction | OrderDistribution
739th most common (1 in 51100 symbols)
453rd most common (1 in 25000 symbols)
182nd most common (1 in 2400 symbols)
introduced in Version 5 (June 2003) last modified in Version 14.1 (July 2024)