Interactive demo · Introduction to Mathematical Statistics · Chapter 3

The i-th smallest of n observations

Sort n independent observations from one law and call the i-th smallest Y′i. It is at most y exactly when at least i of the observations are at most y, so its cdf is a binomial tail in F(y) (bottom panel), and differentiating gives the density n!/((i−1)!(n−i)!) Fi−1(1−F)n−i f (top panel, blue). The dashed curve is the density of one observation; the faint curves are the other order statistics. Move i from 1 to n and watch the density slide from the smallest values to the largest.

Law of one observation

Sample size n

Order i

Level y (as a value of F(y))

Simulated samples

Try these

Laws: Uniform(0, 1), Exponential(1), Normal(0, 1) and the Uniform(20, 40) annual flood height of Example 3.10.5. The histogram uses a seeded generator, so a preset always shows the same values; the readout compares the simulated frequency with the exact probability. Exact means come from numerical integration of y times the density.

In the lecture notes