Order Statistics

Given a sample with components being iid Random Variables, the order statistics of is a Statistic, i.e., the sorted values of the sample: . Order statistics are Sufficient Statistic.

  • Order statistics are usually considered for continuous random variables, for which samples will have distinct values with probability 1.

Maximum and Minimum

The distributions of and are easy to compute. The CDFs are

If is a continuous r.v. with Density , we have

For Uniform Distribution, these correspond to Beta Distribution: and .

We plot the PDF of , , and below

f <- function(x) {
  ifelse(x < 0 | x > 1, 0, 1)
}
 
f_min <- function(x, n) {
  n * (1 - x)^(n - 1) * f(x)
}
 
f_max <- function(x, n) {
  n * x^(n - 1) * f(x)
}
 
x <- seq(0, 1, length.out = 1000)
plot(x, f_max(x, 10), type = "l", col = "blue", xlim=c(0,1), xlab = "x", ylab = "Density", main = "PDF of Order Statistics with n=10")
lines(x, f_min(x, 10), type = "l", col = "red")
lines(x, f(x), col = "black")
legend("topright", legend = c("Max", "Min", "i-th"), col = c("blue", "red", "black"), lty = 1)

Joint Distribution

Wrong

One tempting way to compute the joint distribution of order statistics is to use Conditional Probability, leading to the plausible formula:

where is the set of all permutations of elements. The first, third, and fourth equalities are correct. The second equality seems correct, as given that , the density of should be the same as . However,

An intuitive explanation is that when , then the distribution of is no longer uniform, as the other are constrained to be larger than . Therefore, .

We first work with probabilities, which are easier to work with than PDFs. For values , we have

Therefore,

Taking the derivative gives

Distribution of i-th Order Statistic

By taking the marginal distribution of , we have