Neyman–Pearson lemma and UMP tests
Why this is asked: NP gives the most powerful test for simple-vs-simple; monotone likelihood ratio upgrades it to UMP for one-sided alternatives. Two-sided alternatives usually have no UMP test.
In one sentence
Fix the type I error rate, then maximise power — and the Neyman–Pearson lemma says the likelihood ratio does it for a simple alternative, while for two-sided alternatives no uniformly best test exists at all.
Why the exam asks it
Because the asymmetry between the two errors is the design of the whole framework and is routinely misread, and because "UMP test" has precise existence conditions that fail in the most familiar case.
The idea
The two errors
- Type I: reject a true . Probability , the size or level.
- Type II: fail to reject a false . Probability .
- Power , a function of the true parameter.
The framework fixes and maximises power. That asymmetry is deliberate: is the default, and rejecting it requires evidence. It is also why "do not reject" is not "accept" — the type II rate is uncontrolled, so failing to reject may mean the null is true or merely that the test lacked power.
Neyman–Pearson
For simple against simple, against :
The most powerful test of size rejects when
with chosen to give size .
That is the whole lemma, and everything else in the topic is an attempt to extend it.
For testing against , the ratio is increasing in , so the test rejects for large — and the region does not depend on which was chosen. That observation is what produces UMP tests.
UMP tests and their limits
A test is uniformly most powerful if it is most powerful against every alternative in simultaneously.
Karlin–Rubin: if the family has monotone likelihood ratio in , then rejecting for large is UMP for against . One-sided alternatives in the exponential family are exactly the well-behaved case.
For two-sided alternatives a UMP test generally does not exist. The most powerful test against rejects in the upper tail; against it rejects in the lower. No single region is best against both, so no UMP test exists.
The repair is to narrow the class: among unbiased tests — those whose power never falls below — the two-sided symmetric test is UMP unbiased. "UMPU" exists where "UMP" does not, and that distinction is examined.
Discrete statistics and randomisation
With a discrete statistic the attainable sizes are a finite set. For the upper tail masses jump from to , so an exact size of is unavailable.
Randomised tests reject with a probability strictly between and on the boundary value, achieving exactly . They are theoretically necessary for the lemma to be exactly true and are not used in practice, which is why they appear in examinations and nowhere else.
Where intuition breaks
"Failing to reject means is true." It means the data did not rule it out. The type II rate is not controlled by the design.
"A UMP test always exists." Not for two-sided alternatives. Restricting to unbiased tests recovers one.
"The most powerful test is the one with smallest ." is fixed by choice; power is what is maximised. Lowering lowers power.
"-value is the probability the null is true." It is — a probability about data, not about hypotheses. Reversing the conditional is the same error as the medical test in the Bayes chapter.
"Power depends only on the test." On the test, the sample size, the level, and the true parameter value. Quoting power without an alternative is meaningless.
"Neyman–Pearson applies to composite hypotheses." It is stated for simple against simple. Karlin–Rubin extends it one-sidedly under MLR.
"Randomised tests are a technicality with no consequence." They are what make exact sizes attainable for discrete data, and questions do exploit that.
The exam's angle
- Form the likelihood ratio and simplify until the rejection region is a statement about a statistic — usually or .
- Check whether the region depends on . If not, the test is UMP one-sided.
- For two-sided, expect no UMP and say so, or move to the unbiased class.
- Compute power as a probability under the alternative, not under the null.
- For discrete statistics, list the attainable sizes before claiming a test has size .
The night before
- Type I , fixed. Type II , power , uncontrolled. "Do not reject" is not "accept".
- Neyman–Pearson: for simple against simple, reject when .
- Karlin–Rubin: MLR gives a UMP test for one-sided alternatives.
- No UMP for two-sided in general; UMP unbiased exists.
- -value is , not .
- Discrete statistics need randomised tests for exact size.
- Power depends on the alternative, the level and .
See it move
The trap here
“A UMP test exists for every testing problem” — false
vs for
The MP test for rejects for large X̄, for for small X̄; no single test is best against both.
More in Hypothesis Testing
Take it further
- The mistake this prevents: what the inference means → real wrong options, and why each one tempts
- The mistake this prevents: standard counterexample → real wrong options, and why each one tempts
- Previous-year questions set on this — every option and the answer, free:June 2025 · Part BDecember 2025 · Part CDecember 2024 · Part BDecember 2024 · Part BJune 2024 · Part BDecember 2024 · Part BDecember 2024 · Part CDecember 2023 · Part B
Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.
Next: Likelihood ratio and standard tests
Create a free account to keep your place and have this feed your study plan.
Open this in the full syllabus view · Unit 4