Quantile Function — Definition, Formula & Example
The quantile function of a random variable takes a probability and returns the smallest cutoff value with at least of the distribution at or below it. It answers the question "how large must be for the probability of being at or below to reach ?"
For a random variable with cumulative distribution function , the quantile function is , . When is continuous and strictly increasing, is the ordinary inverse function . The infimum version still works when has jumps or flat stretches, as it does for discrete distributions.
Key Formula
Where:
- = A probability strictly between 0 and 1
- = The cumulative distribution function,
- = The smallest value whose cumulative probability reaches at least
- = Infimum: the greatest lower bound of the set
Worked Example
Problem: The time between calls to a help line follows an exponential distribution with a mean of 10 minutes. Find the quantile function, then use it to find the 90th percentile of the waiting time.
Step 1: Write the CDF. An exponential distribution with mean 10 has rate .
Step 2: Set and solve for . This CDF is continuous and strictly increasing for , so the solution is the quantile function.
Step 3: Substitute . Use .
Answer: . The 90th percentile is minutes, so 90% of the gaps between calls last about 23.03 minutes or less.
Why It Matters
In an intro statistics course, every critical value is a quantile. For example, is approximately for the standard normal distribution. In computer simulation, inverse transform sampling feeds uniform random numbers on into to generate data from any distribution. Risk analysts use quantiles too: Value at Risk is a quantile of a loss distribution.
Common Mistakes
Mistake: Reading as the reciprocal .
Correction: The superscript here means inverse function, not reciprocal. When is continuous and strictly increasing, is the input that gives output . Also note that takes values of as inputs, while takes probabilities as inputs.
