Asymptotic quantile confidence interval based on order statisticsΒΆ

We consider a one-dimensional random variable X and its quantile x_{\alpha} of level \alpha, where \alpha \in (0, 1). We want to determine an asymptotic confidence interval for x_{\alpha} with a confidence level greater than or equal to \beta, using order statistics.

Let (X_1, \dots, X_\sampleSize) be independent copies of X. Let X_{(k)} be the k-th order statistic of (X_1, \dots, X_\sampleSize):

X_{(1)} \leq X_{(2)} \leq \cdots \leq X_{(\sampleSize)}.

Empirical quantile estimatorΒΆ

We first introduce the empirical estimator of the quantile x_{\alpha}. We denote by \widehat{F} the empirical cumulative distribution function defined by:

\widehat{F}(x)
= \dfrac{1}{\sampleSize} \sum_{i=1}^\sampleSize \mathbf{1}_{X_i \leq x}

where \mathbf{1}_{X_i \leq x} is the indicator function of X_i \leq x. Then, the empirical estimator \widehat{X}_{\alpha} is defined by:

\begin{aligned}
\widehat{X}_{\alpha}
& = \inf \left\{ x \mid \widehat{F}(x) \geq \alpha \right\} \\
& = X_{(\lceil \sampleSize\alpha \rceil)}
\end{aligned}

where \lceil x \rceil is the smallest integer value that is greater than or equal to x.

The empirical estimator is asymptotically normal (see [delmas2006], [garnier2008]):

\sqrt{\sampleSize} \left( \widehat{X}_{\alpha} - x_{\alpha}\right)
\xrightarrow{\mathcal{L}} \cN(0, \sigma^2)

with:

\sigma^2 = \dfrac{\alpha (1 - \alpha)}{p^2(x_{\alpha})}.

where p is the (continuously differentiable) density of X. The empirical estimator has a bias and a variance of order 1/\sampleSize (see [david1981], [garnier2008], [Motoyama2025]). We get the following asymptotic results:

\begin{aligned}
\Expect{\widehat{X}_{\alpha}} &
= x_{\alpha} - \dfrac{\alpha(1-\alpha)p'(x_{\alpha})}{2(\sampleSize+2)p^3(x_{\alpha})}
  + O\left(\dfrac{1}{\sampleSize^2}\right)\\
\Var{\widehat{X}_{\alpha}}
& = \dfrac{\alpha(1-\alpha)}{(\sampleSize+2)p^2(x_{\alpha})}
    + O\left(\dfrac{1}{\sampleSize^2}\right).
\end{aligned}

These results are not very useful for the construction of a confidence interval as p(x_{\alpha}) is not known.

Asymptotic quantile confidence intervalΒΆ

Here, we seek an asymptotic confidence interval of level \beta based on order statistics. This confidence interval is \left[ X_{(i_\sampleSize)}, X_{(j_\sampleSize)}\right] where the ranks i_\sampleSize and j_\sampleSize are defined by:

\begin{aligned}
i_\sampleSize & = \left\lfloor \sampleSize \alpha - \sqrt{\sampleSize} \; z_{\frac{1+\beta}{2}} \; \sqrt{\alpha(1 - \alpha)} \right\rfloor\\
j_\sampleSize & = \left\lfloor \sampleSize \alpha + \sqrt{\sampleSize} \; z_{\frac{1+\beta}{2}} \;  \sqrt{\alpha(1 - \alpha)} \right\rfloor
\end{aligned}

where z_{\frac{1+\beta}{2}} is the quantile of level \frac{1+\beta}{2} of the standard normal distribution (see [delmas2006], Proposition 11.1.13).

Then, we have:

\lim\limits_{\sampleSize \rightarrow +\infty}
\Prob{x_{\alpha} \in \left[ X_{(i_\sampleSize)}, X_{(j_\sampleSize)}\right]}
= \beta.