The Neyman-Pearson Lemma
The Neyman-Pearson lemma characterizes the most powerful test for simple hypotheses, providing the theoretical foundation for optimal hypothesis testing.
The Lemma
Consider testing against (simple vs. simple). Among all tests with significance level , the likelihood ratio test that rejects when where is chosen so that , is the most powerful test. That is, it maximizes the power among all level- tests.
The intuition is straightforward: reject when the data is much more likely under than under , as measured by the likelihood ratio.
Application
Test vs. for : So iff for some constant . The Neyman-Pearson test is: reject if . This is the uniformly most powerful (UMP) test for vs. (for any ).
Uniformly Most Powerful Tests
If the family has a monotone likelihood ratio in a statistic — meaning is a non-decreasing function of for — then the test "reject when " is uniformly most powerful at level against .
For two-sided alternatives (), UMP tests generally do not exist (except in special cases). The Neyman-Pearson framework motivates the generalized likelihood ratio test , which provides a practical testing method even when optimality cannot be guaranteed.