The Rao-Blackwell theorem says that, for a sufficient statistic and a finite-second-moment estimator , the conditional estimator can be chosen independently of the unknown parameter and has no greater mean squared error for estimating any specified function . Sufficiency makes the conditional distribution of the data given parameter-independent. Conditional expectation preserves the expectation, hence preserves unbiasedness. Writing , the cross term has expectation zero, because . Therefore
Equality holds exactly when almost surely. This proves the squared-loss form, including the usual unbiased-estimator variance statement.
Here is necessary for the stated uniform interval. Put and . The joint density factors as
The factorization theorem for sufficient statistics shows that is sufficient. Also , so is unbiased and has variance .
For , conditional on distinct extrema , exchangeability gives probability that is each endpoint; with probability it is one of the remaining observations, uniform on . Its conditional mean is consequently
Thus the Rao-Blackwell estimator for a uniform scale interval is
which is unbiased and has no greater mean squared error. For , and the same formula reduces to the original estimator. As a quantitative check, the covariance of two uniform order statistics gives
For instance, after writing , both extreme uniform variances are and their covariance is . These formulas follow by integrating the joint extreme density on ; they also display strict improvement for .
For , independence gives
Thus has probability density function , and its expected value is
Pointwise, and . By linearity of expectation, ; by independence, . Consequently the covariance of two uniform order statistics is
The order statistics are dependent despite the independence of the original observations.
Uniform order statistic Created 2026-09-28 Updated 2026-10-14
For independent and identically distributed random variables with the continuous uniform distribution on , the th order statistic has Beta distribution
Its probability density function, mean, and variance are
The 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].
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 is
For 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.
Figure 1.
Minimum, median, and maximum densities for five independent uniform observations
. Details.
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.