# Quantile

Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
Citable Version  [?]

This editable Main Article is under development and subject to a disclaimer.

Quantiles are statistical parameters that divide the range of a random variable into two parts — values less than it and values greater than it — according to a given probability.
More precisely, an α-quantile is a real number Xα such that the random variable is less or equal to it with probability at least α, and greater or equal to it with probability at least (1–α). It is not possible to require equality because the probability of α may be positive. On the other hand, Xα may not be uniquely determined because of gaps in the range of the random variable.

In descriptive statistics, some frequently used quantiles have names of their own:
An α-quantile is

• a median for ${\displaystyle \alpha =0.5}$
• a (first) quartile for ${\displaystyle \alpha =0.25}$ and
a third quartile for ${\displaystyle \alpha =0.75}$
• a kth quintile for ${\displaystyle \alpha ={k \over 5}}$
• a kth decile for ${\displaystyle \alpha ={k \over 10}}$
• a kth percentile for ${\displaystyle \alpha ={k \over 100}}$

Moreover, for statistical tests the critical values (used to determine whether a result is significant or not) are quantiles of the test statistic.

## Definition

For a real random variable ${\displaystyle X}$ and a real number ${\displaystyle \alpha }$ (${\displaystyle 0<\alpha <1}$), a real number ${\displaystyle X_{\alpha }}$ is an ${\displaystyle \alpha }$-quantile if and only if

${\displaystyle P(X\leq X_{\alpha })\geq \alpha \quad {\text{ and }}\quad P(X\geq X_{\alpha })\geq 1-\alpha }$

Remark:
At least one of the inequalities is strict if ${\displaystyle P(X=X_{\alpha })>0}$. and equality holds in both cases if ${\displaystyle P(X=X_{\alpha })=0}$.

### Quantiles and the distribution function

Essentially, quantiles are the values of the inverse function to the (cumulative) distribution function, defined as ${\displaystyle F(y):=P(X\leq y)}$,
with two exceptions:

• F is monotone, but not strictly monotone.
There may be (at most countably many) values for which the ${\displaystyle F^{-1}(\{\alpha \})}$ is a closed interval.
In this case every element of that interval is an α-quantile.
(For all values in the interior of the interval equality holds in both cases).
• The range of F may have (at most countably many) gaps (discontinuities).
For values in one of these gaps ${\displaystyle F^{-1}(\{\alpha \})}$ is empty, but the quantile is unique.
(These gaps correspond to those values Xα that occur with positive probability.)