Neyman–Pearson lemma
For vs both simple), the most powerful size test rejects when
, with k chosen so the size is .
From MP to UMP
If the family has monotone likelihood ratio in T (exponential families do), then the one-sided test "reject if T > c" is UMP for vs .
Two-sided alternatives generally admit no UMP test — the best one-sided tests point in opposite directions. One then uses UMP unbiased tests or the likelihood ratio test.
Direction matters
If larger makes T smaller, the rejection region flips. For a Gamma sample, has ~ , and larger shrinks T, so the UMP test for rejects for small T.
Size and power
- Size = P(reject | ; power = P(reject | .
- Power increases with n, with ||, and with .
- A test with power < size is worse than random (biased test).
Likelihood ratio test
; reject for small . Under regularity, where r = the number of restricted parameters (Wilks). This is the general-purpose test when no UMP exists.
Key takeaways
- NP: simple vs simple, likelihood ratio, threshold from the size.
- MLR ⇒ one-sided UMP; two-sided usually has none.
- Check whether the statistic increases or decreases with the parameter before writing the rejection region.