13  Quantile functions

So far we have seen several characterizations of probability distributions: cumulative distribution functions (CDFs), Laplace transforms for distributions supported on \([0, \infty)\), characteristic functions. The last characterization is praised for its behavior with respect to sums of independent random variables.

For univariate distributions, a companion to the cumulative distribution function is the quantile function. It plays a significant role in simulations, statistics and risk theory.

A cumulative distribution function \(F\) is non-negative, \([0,1]\)-valued, non-decreasing, right-continuous, with left-limit at any point. The cumulative distribution function of a diffuse probability measure is continuous at any point.

13.1 Definition

The quantile function \(F^{\leftarrow}\) is defined as an extended inverse of the cumulative distribution function \(F\).

Definition 13.1 (Quantile function) The quantile function \(F^{\leftarrow}\) of random variable \(X\) distributed according to \(P\) (with cumulative distribution function \(F\)) is defined as \[\begin{array}{rl} F^{\leftarrow} (p) & = \inf \Big\{ x : P\{X \leq x\} \geq p \Big\} \\ & = \inf \Big\{ x : F (x) \geq p \Big\} \qquad \text{for } p \in (0,1). \end{array}\]

The quantile function is non-decreasing and left-continuous. The interplay between the quantile and cumulative distribution functions is summarized in the next proposition.

Proposition 13.1 If \(F\) and \(F^\leftarrow\) are the cumulative distribution function and the quantile function of (the distribution of) \(X\), the following statements hold for \(p \in] 0, 1 [\):

  1. \(p \leq F (x)\) iff \(F^\leftarrow (p) \leq x\).
  2. \(F \circ F^\leftarrow (p) \geq p\) .
  3. \(F^\leftarrow \circ F (x) \leq x\) .
  4. If \(F\) is absolutely continuous, then \(F \circ F^\leftarrow (p) = p\)

Proof. According to the definition of \(F^\leftarrow\) if \(F (x) \geq p\) then \(F^\leftarrow (p) \leq x.\)

To prove the converse, it suffices to check that \(F \circ F^\leftarrow (p) \geq p\).

Indeed, if \(x \geq F^\leftarrow (p),\) as \(F\) is non-decreasing \(F (x) \geq F \circ F^\leftarrow (p)\). Si \(y = F^\leftarrow (p),\) par definition de \(y = F^\leftarrow (p),\) il existe une non-increasing sequence \((z_n)_{n \in \mathbb{N}}\) which converges to \(y\) such that \(F (z_n) \geq p .\) Mais as \(F\) is right-continuous \(\lim_n F (z_n) = F (\lim_n z_n) = F (y) .\) Hence \(F (y) \geq p\).

We just proved 1. and 2.

3.) is an immediate consequence de 1). Let \(p = F (x) .\) Hence \(p \leq F (x),\) according to 1.) this is equivalent to \(F^\leftarrow (p) \leq x,\) that is \(F^\leftarrow \circ F (x) \leq x.\)

4.) For every \(p\) in \(] 0, 1 [,\) \(\{ x : p = F (x)\}\) is non-empty (Mean value Theorem). Let \(y = \inf \{ x : p = F (x)\} =F^\leftarrow (p)\). According to \(1)\), \(F (y) \geq p\). Now, if \((z_n)_{n \in \mathbb{N}}\) is an increasing sequence converging to \(y\), for every \(n\), \(F (z_n) < p,\) and, by left-continuity, \(F (y) = F (\lim_n z_n) = \lim_n F (z_n) \leq p.\) Hence \(F (y) = p,\) that is \(F \circ F^\leftarrow (p) = p.\)


13.2 Quantile functions and stochastic simulation

Proposition 13.2 (Quantile transformation) If \(U\) is uniformly distributed on \((0,1)\), and \(F\) is a cumulative distribution over \(\mathbb{R}\), \(F^{\leftarrow}(U)\) has cumulative distribution \(F\).

Proof. \[\begin{array}{rl} P\Big\{ F^\leftarrow(U) \leq x \Big\} & = P\Big\{ U \leq F(x) \Big\} \\ & = F(x) \, . \end{array}\]

Remark 13.1. The quantile transformation works whatever the continuity properties of \(F\).

The quantile transformation has many applications. It can be used to show stochastic domination properties.

Example 13.1 In Figures 13.1 up to Figure 13.4, we illustrate quantile functions for discrete (binomial) distributions and for distributions that are neither discrete nor continuous. The quantile function of a discrete distribution is step function that jumps at the cumulative probability of every possible outcome. If a probability distribution is a mixture of a discrete distribution and a continuous distribution, the quantile function jumps at the cumulative probability of every possible outcome of the discrete component.

Figure 13.1
Figure 13.2: Quantile functions \(\max(X, \tau)\) where \(X \sim \mathcal{N}(0,1)\) for \(\tau \in \{0, 2\}\). Let \(\Phi^\leftarrow\) denote the quantile function of \(\mathcal{N}(0,1)\). The quantile function of \(\max(X,\tau)\) is \(\mathbb{I}_{(0,\Phi(\tau)]}(p) \times \tau + \Phi^{\leftarrow}(p) \times \mathbb{I}_{(\Phi(\tau), 1)}(p)= \Phi^{\leftarrow}(p \vee \Phi(\tau))\). The two distributions are neither absolutely continuous nor discrete.
Figure 13.3: Cumulative distribution functions for the probability distributions illustrated in Figure 13.2
Figure 13.4: Representation of \(F \circ F^{\leftarrow}\) for the probability distributions illustrated in Figures 13.2 and Figure 13.3. The function \(F \circ F^{\leftarrow}\) always lies above the line \(y=x\) (dotted line) as prescribed in Proposition 13.1. Plateaux that lie strictly above the dotted line are in correspondence with jumps of the quantile function.
Figure 13.5


Let us conclude this section with an important observation. concerning the behavior of \(F(X)\) when \(X \sim P\) with cumulative distribution function \(F\).

Corollary 13.1 If \(X \sim P\) with continuous cumulative distribution function \(F\), then \(F (X)\) and \(1 - F (X)\) are uniformly distributed on \([0, 1]\).

Exercise 13.1 Prove Corollary 13.1

13.3 Order statistics

Definition 13.2 (Order statistics)  

Proposition 13.3 (Joint density)  

Exercise 13.2 (Rényi’s representation)  

Exercise 13.3 (Order statistics of a uniform sample)  

13.4 Bibliographical remarks