Karlin-Rubin theorem Created 2026-09-24 Updated 2026-10-03
For a family with a monotone likelihood ratio in , a level- upper-tail test in is a uniformly most powerful test for the corresponding one-sided hypothesis.
Most powerful test 2026-10-05
At level , a most powerful test against a specified simple alternative maximises statistical power among statistical tests whose size of a statistical test is at most . The Neyman-Pearson lemma constructs it by a likelihood ratio threshold. A uniformly most powerful test is most powerful simultaneously against every member of the specified alternative family; maximising power at one alternative alone need not give uniform optimality.
Under the null hypothesis , has the uniform distribution on . Against , the likelihood ratio is , increasing on that interval. The Neyman-Pearson lemma therefore gives
The size of a statistical test is , and there is no boundary randomisation issue for this continuous probability distribution. Its statistical power against is .
For every admissible alternative , the likelihood ratio is strictly increasing. The same upper-tail rejection set has size and is a most powerful test against each fixed such alternative, again by the Neyman-Pearson lemma. Hence the same test is a uniformly most powerful test against , where the alternative is understood within the specified parameter range. Its full power function is
For or , the never-reject or always-reject test supplies the respective endpoint case.
A level- test is uniformly most powerful for a composite alternative when its power is at least that of every other level- test at every parameter value in that alternative.
For every fixed , the likelihood ratio is increasing in the same statistic , and the size- threshold is always the null quantile , independent of . The Neyman-Pearson lemma therefore makes the test from part (a) most powerful against every individual . Consequently it is
The normalized density is
For against , the sample likelihood ratio is
It is strictly decreasing in . Under , parts (a) and (b) give
If is the lower -quantile of this gamma distribution, the Neyman-Pearson lemma gives the most powerful size- critical region
For any fixed ,
is again strictly decreasing in the same statistic . Thus the same critical region is most powerful against every and is consequently a uniformly most powerful test of against .
A possibly randomized test is a function , interpreted as the conditional probability of rejecting . Its power function is
It has size at most when
Such a test is a uniformly most powerful test of size if, for every other test of size at most ,
Thus one test maximizes power simultaneously at every parameter value in the alternative.
For independent samples from an exponential distribution, a test of rate at most against rate greater than rejects for small sample sums. All simple-alternative likelihood ratios against decrease with that sum; its gamma distribution calibrates the size at . Monotonicity of the rejection probability in the rate proves that this is a uniformly most powerful test for the composite hypotheses.