Lably
Skip to content

Quantile function

Statistical function that defines the quantiles of a probability distribution

  • 6 min read
  • 6 chapters

Related on Lably

Through Probability, Statistics and Probability distribution

The quantile function is also called the percentile function (after the percentile), percent-point function, inverse cumulative distribution function or inverse distribution function.

Definition

Strictly increasing distribution function

With reference to a continuous and strictly increasing cumulative distribution function (c.d.f.) FX:R→[0,1] of a random variable X, the quantile function Q:(0,1)→R maps its input p to a threshold value x so that the probability of X being less or equal than x is p. In terms of the distribution function F, the quantile function Q returns the value x such that

FX(x):=Pr(X≤x)=p,

which can be written as the inverse function of the cumulative distribution function.

Q(p)=FX−1(p).

General distribution function

In the general case of distribution functions that lack strict monotonicity or continuity, and therefore do not permit an inverse c.d.f., the quantile is a (potentially) set valued functional of a distribution function F, given by the interval

Q(p)=[sup{x:F(x)<p},sup{x:F(x)≤p}]=[inf{x:F(x)≥p},inf{x:F(x)>p}].

The first interval is equivalent to the second interval because of the (non-strict) monotonicity of F.

It is often standard to choose the lowest value, which can equivalently be written as

Q(p)=inf{x∈R:p≤F(x)}.

Here we capture the fact that the quantile function returns the minimum value of x from amongst all those values whose c.d.f value exceeds p, which is equivalent to the previous probability statement in the special case that the distribution is continuous.

The quantile is also the unique function satisfying the Galois inequalities

Q(p)≤x if and only if p≤F(x).

If the function F is continuous and strictly monotonically increasing, then the inequalities can be replaced by equalities, and we have

Q=F−1.

In general, even though the distribution function F may fail to possess a left or right inverse, the quantile function Q behaves as an "almost sure left inverse" for the distribution function, in the sense that

Q(F(X))=Xalmost surely.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Statistics