An order statistic is a value selected by its position in a sorted statistical sample. For real observations , writeThe th order statistic is the th smallest value, counting repeated values separately. The parentheses distinguish sorted position from the original observation label: and need not be equal. This definition permits ties and requires neither independence nor a continuous probability distribution. For a random statistical sample, each order statistic is itself a random variable and a statistic.
For example, the five fixed observationssort toTheir original indices in sorted order are , so . Their ranks of observations, listed in original observation order, are . Here is the minimum, is the sample maximum, and is the sample median. These are deliberately chosen observations, rather than simulated draws.
Order statistics put extremes and typical values in one language: the first and last locate the minimum and sample maximum, while intermediate positions give sample quantiles and the sample median. Under the existing generalized-inverse convention, the sample quantile at level is . For the five observations, the sample quantiles at are . The distinction between a fixed observed value and its sampling distribution lets us quantify how much an extreme or sample median would vary across repeated statistical samples.
The useful counting identity isFor independent and identically distributed random variables with a continuous cumulative distribution function , the count on the right has binomial distribution with parameters , givingThis cumulative distribution function is a binomial distribution tail: a question about sorting becomes a question about counting successes in Bernoulli trials. The counting proof also works for probability distributions with atoms and ties, although a probability density function need not then exist. For a uniform order statistic, on , which makes the formula particularly explicit.
For independent survival times with cumulative distribution functions , the probability both components have failed by time isThe probability at least one has failed isThe first equality uses independence of random variables; the second applies it to the complementary event that both survive. These are the distributions of the two extreme order statistics.
Marginal distributions alone do not determine these probabilities. Without independence, the Fréchet inequalities give , and inclusion-exclusion gives .
For an iid sample of size from a continuous cumulative distribution function, the probability integral transform makes the transformed sample uniform. Integrating the joint density of its minimum and maximum gives range density on . Its distribution function is . The result describes population content between the extreme order statistics, independently of the underlying continuous distribution.
The rank of an observation records where that observation lies among the order statistics of a statistical sample. When all values are distinct, and . For , the ranks of observations in original order are : the first observation is fourth smallest, while the fourth observation is third smallest.
Ties require a convention. A tied block occupying sorted positions can assign each member the average rank of an observation , the minimum position , or the maximum position ; an explicit rule can also break ties into distinct positions. R's official documentation describes these choices and uses average ranks by default. [ref]
https://stat.ethz.ch/R-manual/R-devel/library/base/html/rank.html. R base documentation: sample ranks and tie methods
.For example, has order statistics . The two observations occupy positions and ; average ranks of observations are , whereas minimum-position ranks are . A fractional average rank is a summary of tied positions, rather than an index of one order statistic. Without omissions, distinct ranks and average ranks sum to , since averaging each tied block preserves its sum; minimum-position ranks need not.
Wilcoxon signed-rank tests rank the absolute nonzero paired differences, while Wilcoxon rank sum tests rank the pooled observations from two samples; these are different rankings.
For independent and identically distributed random variables, suppose normalized sample maxima have limiting distribution function . At a threshold with , the exceedance count has limiting Poisson distribution with parameter . The th largest observation lies below the threshold exactly when at most observations strictly exceed it, including in samples with ties. Summing the first limiting Poisson probabilities gives the displayed limit for every fixed positive integer . The equivalence follows from and as .
For two independent random variables with the uniform distribution on , put and . Then , so . Since and , and . Thus their covariance is , although the original variables are independent. Rescaling the interval to multiplies the covariance by .
For independent and identically distributed rate- exponential random variables, let and be their order statistics. The gaps are independent and have rates . After the first clock rings, the memoryless property makes the surviving clocks fresh independent exponentials, independently of the elapsed minimum and the winning label. Induction gives the result. Equivalently, the ordered joint probability density is on ; changing to gaps gives a product of exponential densities because .
For independent identically distributed observations with continuous cumulative distribution function , fix the maximum of the first observations and let be the first subsequent observation exceeding it. The probability integral transform gives density on . Conditional on , has a geometric distribution of parameter . ThereforeThe masses sum to one, so the waiting time is finite almost surely, but the tail-sum formula for expectation gives . These conclusions require only continuity of , not a density or a strictly increasing distribution function.
For two independent rate- exponential distributions, set and . Summing the two ordering branches gives joint probability density for with . It factors into independent exponential probability density functions. Thus is distributed as , with expected value and variance . This spacing result is the order-statistic manifestation of the memorylessness of the exponential distribution.
Independence factors the events that both variables exceed a threshold or both lie below it. This gives the two cumulative distribution functions above, including for distributions with atoms. The minimum formula is most naturally expressed through survival probabilities, while the maximum formula uses the CDFs directly.
Descending order statistics list a sample from greatest to least. If uses the usual increasing convention, then . This notation distinguishes the next-highest value used by revenue equivalence from the second-smallest sample value.
For independent and identically distributed random variables with distribution function , the sample maximum has distribution function .
For observations , the nearest neighbour distance of order at is the th order statistic of the distances . An atomless distance distribution function ensures ties occur with probability zero.
For independent and identically distributed random variables with continuous distance distribution function , the probability integral transform makes the probability content of the order- nearest ball a uniform order statistic, with the Beta distribution .
For a strictly positive probability density function with Lipschitz bound , satisfies . If and , monotonicity gives and hence . The Lipschitz density height bound prevents extending this local argument to every by assuming for a strictly positive density.
For independent and identically distributed random variables with the continuous uniform distribution on , the th order statistic has Beta distributionIts probability density function, mean, and variance areThe probability density function is zero outside ; values assigned to its endpoints do not change any probability. Peter Kempthorne's MIT lecture notes derive the uniform order statistic law and these moments. [ref]
https://ocw.mit.edu/courses/18-443-statistics-for-applications-spring-2015/06daf6d78e7eb0465d6bb53e8f96b2ff_MIT18_443S15_LEC11.pdf. Peter Kempthorne, MIT 18.443, Lecture 11, slides 12–14
.For , the minimum, sample median, and sample maximum correspond to . Their probability density functions are , , and , respectively. The sample median therefore has Beta distribution , mean , and variance . Its cumulative distribution function isFor instance, . The mean of the minimum is , and the mean of the sample maximum is . The fixed observed sample median in the order statistic example is one possible outcome; is the average over repeated statistical samples from this uniform distribution.
Each curve has area one. The extreme order statistics favor the ends, while the sample median favors the center. The endpoint density height is legitimate: the probability density function gives area per unit length, rather than point probability. In particular, a continuous uniform distribution has zero probability of producing an endpoint.
For a short proof, the binomial distribution counting identity under order statistic gives . Taking its derivative cancels consecutive terms, leaving the displayed probability density function. Recognize its normalizing factorial coefficient as that of the Beta distribution, then substitute , into the Beta distribution mean and variance formulas. Although the original observations are independent, their order statistics generally are dependent; see the positive covariance of two uniform order statistics.
For independent and identically distributed random variables with the continuous uniform distribution on , let . Its cumulative distribution function is on , so . The endpoint error has a nonconstant limiting probability distribution: for fixed and ,This survival function gives the displayed exponential distribution limit. More generally, for observations uniform on , has the same limit. The scaling identifies an error of order , in contrast to the fluctuations of a typical sample mean with nonzero finite variance.
Independent and identically distributed random variables with a continuous probability distribution realize each of their possible strict orderings with equal probability.
For independent and identically distributed random variables with a continuous probability distribution, let be the index of the first increase. The event requires the first observations to be decreasing; symmetry among their possible strict orders gives probability for . Subtracting successive tails gives the displayed mass function for . The tails tend to zero, so is finite almost surely. The tail-sum formula for expectation gives , independently of the continuous sampling law.
Articles by others on the same topic
An order statistic is a statistic that provides information about the ranks of elements in a sample from a population.

