Index: The Book of Statistical ProofsProbability Distributions ▷ Univariate continuous distributions ▷ Continuous uniform distribution ▷ Quantile function

Theorem: Let $X$ be a random variable following a continuous uniform distribution:

\[\label{eq:cuni} X \sim \mathcal{U}(a, b) \; .\]

Then, the quantile function of $X$ is

\[\label{eq:cuni-qf} Q_X(p) = \left\{ \begin{array}{rl} -\infty \; , & \text{if} \; p = 0 \\ bp + a(1-p) \; , & \text{if} \; p > 0 \; . \end{array} \right.\]

Proof: The cumulative distribution function of the continuous uniform distribution is:

\[\label{eq:cuni-cdf} F_X(x) = \left\{ \begin{array}{rl} 0 \; , & \text{if} \; x < a \\ \frac{x-a}{b-a} \; , & \text{if} \; a \leq x \leq b \\ 1 \; , & \text{if} \; x > b \; . \end{array} \right.\]

The quantile function $Q_X(p)$ is defined as the smallest $x$, such that $F_X(x) = p$:

\[\label{eq:qf} Q_X(p) = \min \left\lbrace x \in \mathbb{R} \, \vert \, F_X(x) = p \right\rbrace \; .\]

Thus, we have $Q_X(p) = -\infty$, if $p = 0$. When $p > 0$, it holds that

\[\label{eq:exp-qf-s1} Q_X(p) = F_X^{-1}(x) \; .\]

This can be derived by rearranging equation \eqref{eq:cuni-cdf}:

\[\label{eq:cuni-cdf-s2} \begin{split} p &= \frac{x-a}{b-a} \\ x &= p(b-a) + a \\ x &= bp + a(1-p) \; . \end{split}\]
Sources:

Metadata: ID: P39 | shortcut: cuni-qf | author: JoramSoch | date: 2020-01-02, 18:27.