Uniformly most powerful test for a gamma rate Created 2026-10-25 Updated 2026-10-31
For an independent statistical sample from a gamma distribution with known shape and unknown rate , test against . The alternative-to-null likelihood ratio for any larger rate is , where . This decreases in , so the Neyman-Pearson lemma gives one common lower-tail ordering for all alternatives.
Let be the unit-rate gamma distribution cumulative distribution function with shape . The uniformly most powerful test of exact test size rejects when , where . Its power function is displayed above. If , the sum has an exponential distribution, so and . Monotonicity of also makes this test valid and uniformly most powerful for the larger null hypothesis .
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 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.
Walsh average Created 2026-10-14 Updated 2026-11-05
The Walsh averages of a sample are for , including the diagonal pairs. If the absolute observations are distinct and nonzero, order them as . Among the pairs whose larger absolute observation is , every sum has the sign of . Hence the number of positive Walsh averages is exactly , the positive Wilcoxon signed-rank statistic. This proves equivalence of the corresponding tests; the Walsh averages themselves are generally dependent.
Wilcoxon signed-rank statistic Created 2026-10-14 Updated 2026-11-05
For a continuous sample, the statistic also equals . In each pair the sign of the sum is the sign of the observation with larger absolute value, proving the identity by counting its smaller-rank partners. Under a continuous symmetric null, the pair kernel has projection and projection variance . The U-statistic central limit theorem yields asymptotic normality of , with variance asymptotic to .
