Actuarial Notes

Order Statistics

Study guides: Exam P-1, Exam MAS-I, Exam ACIA-CAPSTONE

Order Statistics are the values of a random sample sorted from smallest to largest. The kth order statistic X_{(k)} of a sample X_1, \ldots, X_n is its kth smallest value, so

X_{(1)} \le X_{(2)} \le \cdots \le X_{(n)}

  • X_{(1)} is the minimum and X_{(n)} is the maximum.

The idea The maximum is at most x exactly when every observation is at most x, and the minimum is above x exactly when every observation is above x.

The maximum and the minimum

For independent X_1, \ldots, X_n with CDFs F_1, \ldots, F_n, the CDF of the maximum is

P(X_{(n)} \le x) = F_1(x)\,F_2(x) \cdots F_n(x)

The minimum is above x with probability

P(X_{(1)} > x) = [1 - F_1(x)] \cdots [1 - F_n(x)]

For an i.i.d. sample with CDF F, these are [F(x)]^n and [1 - F(x)]^n. A system that fails when its first component fails has the minimum lifetime, and one that fails when its last component fails has the maximum.

Two fair dice are rolled. What is the probability that the larger number is 4?

  • The larger number is at most 4 when both dice are, so P(X_{(2)} \le 4) is \left(\frac{4}{6}\right)^2 = \frac{16}{36}.
  • In the same way, P(X_{(2)} \le 3) is \left(\frac{3}{6}\right)^2 = \frac{9}{36}.
  • The probability that the larger number is exactly 4 is the difference, \frac{16}{36} - \frac{9}{36} = \frac{7}{36}.

Multiplying CDFs for the minimum The minimum multiplies the probabilities 1 - F_i(x) of being above x, not the CDFs. P(X_{(1)} \le x) is one minus that product.

The kth order statistic

For an i.i.d. sample of n from a continuous distribution, the density of the kth order statistic is

\begin{aligned}
& f_{X_{(k)}}(x) \\
& = \frac{n!}{(k-1)!\,(n-k)!} \\
& \quad \times [F(x)]^{k-1}\,[1 - F(x)]^{n-k} \\
& \quad \times f(x)
\end{aligned}
  • f(x) and F(x) are the density and CDF of each observation.

The density counts k - 1 observations below x, one at x and n - k above it. For k = 1 it is the density of the minimum, n f(x) [1 - F(x)]^{n-1}. For a sample of n from the uniform distribution on (0, \theta), the mean of X_{(k)} is \frac{k\theta}{n+1}.

A sample of 4 is drawn from the uniform distribution on (0, 10). What is the expected value of the second smallest?

  • Here n = 4, k = 2, F(x) = \frac{x}{10} and f(x) = \frac{1}{10}.
  • The coefficient is \frac{4!}{1!\,2!} = 12, so the density of X_{(2)} is

f_{X_{(2)}}(x) = \frac{12}{10} \cdot \frac{x}{10} \left(1 - \frac{x}{10}\right)^2

  • Integrating x f_{X_{(2)}}(x) from 0 to 10 gives 4, which is \frac{2 \times 10}{4 + 1}.

The minimum of exponential random variables

If X_1, \ldots, X_n are independent exponential random variables with rates \lambda_1, \ldots, \lambda_n, their minimum is exponential with rate \lambda_1 + \cdots + \lambda_n:

P(X_{(1)} > x) = e^{-(\lambda_1 + \cdots + \lambda_n)x}

  • The rate \lambda_i is one over the mean of X_i.

The exponential distribution is memoryless, so after the first failure the survivors start afresh. For n i.i.d. lifetimes with mean \theta, the gaps between failures are independent, with means \frac{\theta}{n}, \frac{\theta}{n-1} and so on, so

E[X_{(k)}] = \theta\left(\frac{1}{n} + \cdots + \frac{1}{n-k+1}\right)

A system fails as soon as either of two independent components fails. The lifetimes are exponential with means 10 and 15. What is the mean lifetime of the system?

  • The system's lifetime is the minimum of the two lifetimes.
  • The rates are \frac{1}{10} and \frac{1}{15}, which add to \frac{1}{6}.
  • The minimum is exponential with rate \frac{1}{6}, so the mean lifetime is 6.

Three components have i.i.d. exponential lifetimes with mean 10. What is the expected time until all three have failed?

  • All three have failed at the maximum, X_{(3)}.
  • Three components survive for the first gap, then two, then one.
  • The expected time is

E[X_{(3)}] = 10\left(\frac{1}{3} + \frac{1}{2} + 1\right) = 18.33

Draws without replacement

When n distinct numbers are drawn without replacement from 1, 2, \ldots, N, the kth smallest equals x when x is drawn, k - 1 draws are below it and n - k are above it:

P(X_{(k)} = x) = \frac{\binom{x-1}{k-1}\binom{N-x}{n-k}}{\binom{N}{n}}

Three numbers are drawn without replacement from 1 to 10. What is the probability that the middle one is 5?

  • One of the 4 numbers below 5 is drawn, and one of the 5 numbers above it.
  • There are \binom{10}{3} = 120 equally likely draws, so

P(X_{(2)} = 5) = \frac{4 \times 5}{120} = \frac{1}{6}

Practice questions

Actuarial Notes