Theorem (Neyman-Pearson): Let f0β=f(x;ΞΈ0β) and f1β=f(x;ΞΈ1β) be the densities under H0β and H1β. The test Οβ that rejects H0β when f1β(x)/f0β(x)>k (where k is chosen to give size Ξ±) is the most powerful level-Ξ± test.
Step 1: Define the tests.
Let Οβ be the likelihood ratio test with rejection region Rβ={x:f1β(x)>kβ
f0β(x)} and size Ξ±β=β«Rββf0βdxβ€Ξ±.
Let Ο be any other test with rejection region R and size Ξ±Οβ=β«Rβf0βdxβ€Ξ±.
We want to show Ξ²1β(Οβ)β₯Ξ²1β(Ο), i.e., β«Rββf1βdxβ₯β«Rβf1βdx.
Step 2: Decompose the power difference.
β«Rββf1βββ«Rβf1β=β«RββRβf1βββ«RβRββf1β
On RββR: since xβRβ, we have f1β(x)>kβ
f0β(x), so
β«RββRβf1β>kβ«RββRβf0β
On RβRβ: since xβ/Rβ, we have f1β(x)β€kβ
f0β(x), so
β«RβRββf1ββ€kβ«RβRββf0β
Step 3: Combine the inequalities.
β«Rββf1βββ«Rβf1β>k(β«RββRβf0βββ«RβRββf0β)=k(β«Rββf0βββ«Rβf0β)=k(Ξ±ββΞ±Οβ)
Step 4: Use the size constraint.
Since Ξ±β=Ξ± (by construction of k) and Ξ±Οββ€Ξ±, we have Ξ±ββΞ±Οββ₯0, so:
β«Rββf1βββ«Rβf1ββ₯kβ
0=0
Therefore the power of Οβ is at least as large as the power of any other level-Ξ± test Ο:
PΞΈ1ββ(ΟβΒ rejects)β₯PΞΈ1ββ(ΟΒ rejects)
This holds for every level-Ξ± test Ο, so Οβ is the most powerful level-Ξ± test. β‘