Probability
Intermediate
9 min

Order Statistics

Find the distribution of the minimum, maximum, and general order statistics of independent random variables.

1. The idea

Given iid random variables , the order statistics are the sorted values. The maximum and minimum are the most commonly tested cases.

The CDF of the maximum is easy because "max " happens exactly when every variable is : . Similarly, the minimum's survival function factors: , since the minimum exceeds only if all variables do.

For continuous distributions, differentiate the CDF to get the density of an order statistic, or use the general formula involving a binomial coefficient counting arrangements. Interview problems most often need only max/min or expected values for specific distributions like the uniform.

2. Why it matters

Order statistics appear whenever a quant question involves 'the best of n draws' or 'time until the last event' — auctions, extreme values, record times, and worst-case risk scenarios all reduce to max/min reasoning.

3. Core mathematics

CDF of the maximum

Survival function of the minimum

Expected max of n iid Uniform(0,1)

Expected min of n iid Uniform(0,1)

4. How to recognize it

Think of this when…

  • The problem asks about the largest, smallest, or median of several iid random variables.
  • "Time until the last of n events" or "time until the first of n events" phrasing.
  • Auction or record-value framing: highest bid, best offer, worst outcome among n trials.
  • You need or for a named distribution like uniform or exponential.

5. Worked example

Worked example

are iid Uniform(0,1). Find , the expected maximum.

  1. 1

    The CDF of the maximum is for , since all variables must be .

  2. 2

    Differentiate to get the density: .

  3. 3

    Compute the expectation by integrating.

  4. Answer:

6. Common mistakes

  • Confusing the CDF of the max, , with the CDF of the min, which requires working with the survival function instead.
  • Forgetting that order statistic formulas assume independence (and usually identical distribution) among the variables.
  • Trying to compute via linearity of expectation directly on the maxima, which does not work since max is not linear.
  • Mixing up and for the expected max vs. min of uniforms.

7. Quick check

For 3 iid Uniform(0,1) variables, what is ?

For iid random variables with CDF , equals:

8. Practice

29 QuantSolve questions use this concept.

Practice this concept

9. Related methods