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.
Neyman-Pearson decision region Created 2026-09-24 Updated 2026-09-24
The Neyman-Pearson lemma says that an optimal region accepting has the likelihood-ratio formwith possible randomization on the boundary.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 12D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 2 3H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 2 21H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 1 18D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 2 19C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 2 19C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2008 ii Paper 2 27I Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 1 18H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ii Paper 4 27I Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 1 7H Solution Created 2026-09-24 Updated 2026-10-06
Let . The likelihood ratio of rate two to rate one is , which decreases strictly with . By the Neyman-Pearson lemma, the most powerful test rejects for small values of the sum:Under the null, has the gamma distribution with shape and rate one. Thus is its -quantile, equivalently half the -quantile of the chi-squared distribution with degrees of freedom. The distribution is continuous, so boundary randomization is unnecessary for .
For every fixed alternative , the likelihood ratio against rate one is , again strictly decreasing. Therefore the same region is most powerful against every such alternative. Moreover, if has the shape-, rate-one gamma distribution, then at rate has the same distribution as . It follows that increases with , so the maximum rejection probability over is at one. Any competing size- test for the composite null is also of level at most at rate one, and is bounded in power by the Neyman-Pearson lemma for each alternative. The test is uniformly most powerful for the composite hypotheses as well. This is the uniformly most powerful test for an exponential rate based on the sample sum.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 4 19H a Solution Created 2026-09-24 Updated 2026-10-05
Let be simple hypotheses with densities (their Radon-Nikodym derivatives) relative to a common dominating measure. A possibly randomised statistical test is a measurable function ; its size of a statistical test is and its statistical power is . The Neyman-Pearson lemma says that a likelihood ratio threshold testchosen to have size , is a most powerful test among tests of size at most . A constant randomisation on the equality set suffices to reach the required size; sets where are always rejected. For , a quantile of the likelihood ratio under gives such a threshold. If the threshold is zero, randomisation where may be needed to use the remaining size. At , one can reject only a -null set and optimally reject the part supporting ; at , always reject.
For the proof, every competing satisfiespointwise: the signs agree off the equality set, where the product is zero. Integrating givesThus the likelihood-ratio threshold test has maximum power at the stated level. If , a competing most-powerful test must have size and agree with off the equality set, apart from sets null for ; both inequalities must then be equalities. For , equal size is not necessary for optimality, because changing decisions where does not affect power. These qualifications account for ties and singular supports rather than assuming all densities are strictly positive.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 4 19H b Solution Created 2026-09-24 Updated 2026-10-05
Under the null hypothesis , has the uniform distribution on . Against , the likelihood ratio is , increasing on that interval. The Neyman-Pearson lemma therefore givesThe 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 isFor or , the never-reject or always-reject test supplies the respective endpoint case.
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 2 8H Solution Created 2026-09-24 Updated 2026-10-03
A simple hypothesis specifies a single probability distribution. For a test with rejection region , its size of a statistical test is the rejection probability under the simple null hypothesis, while its statistical power against the simple alternative is the rejection probability under that alternative. The Neyman-Pearson lemma states that among tests of size at most , a test rejecting for the largest values of the likelihood ratio has greatest power, with boundary randomization if needed.