Course contentsShow
← Mathematics
Lesson 2849 of 3,12156. Probability — Random VariablesFree lesson

Percentiles and Quantiles from the CDF

Use the CDF to find medians, quartiles, and other quantiles by solving F(x) = p.

Percentiles and Quantiles from the CDF

What you'll learn: How to find percentiles, medians, quartiles, and other quantiles by solving equations involving the cumulative distribution function.

The Core Idea

The cumulative distribution function F(x) tells you the probability that a random variable X is at most x. A quantile flips this around: given a probability p (between 0 and 1), what value x satisfies F(x) = p?

In plain English: if F(x) answers "what proportion of outcomes fall at or below x?", then finding quantiles answers "what value has exactly p proportion of outcomes below it?"

Common Quantiles

  • Median (50th percentile): Solve F(x) = 0.5
  • First quartile Q₁ (25th percentile): Solve F(x) = 0.25
  • Third quartile Q₃ (75th percentile): Solve F(x) = 0.75
  • pth percentile: Solve F(x) = p/100

The Process

To find the quantile for probability p:

  1. Set up the equation: F(x) = p
  2. Solve for x using algebra (continuous case) or inspection/inverse lookup (discrete case)
  3. If F has a jump at x (discrete case), the quantile is the smallest x where F(x) ≥ p

Analogy

Think of F(x) as a ladder where each rung is labeled with a probability. Climbing up tells you "I'm at height x, and 60% of values are below me." Finding a quantile means starting with "I want 60% below me" and figuring out which rung you're standing on.

Key Takeaway: Quantiles are inverse operations on the CDF — solve F(x) = p to find the value x such that proportion p of the distribution lies at or below x.