TheoremComplete

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

Theorem9.4Neyman-Pearson Lemma

Consider testing H0:θ=θ0H_0: \theta = \theta_0 against H1:θ=θ1H_1: \theta = \theta_1 (simple vs. simple). Among all tests with significance level α\leq \alpha, the likelihood ratio test that rejects H0H_0 when Λ(x)=L(θ1;x)L(θ0;x)>k\Lambda(\mathbf{x}) = \frac{L(\theta_1; \mathbf{x})}{L(\theta_0; \mathbf{x})} > k where kk is chosen so that Pθ0(Λ>k)=αP_{\theta_0}(\Lambda > k) = \alpha, is the most powerful test. That is, it maximizes the power Pθ1(reject H0)P_{\theta_1}(\text{reject } H_0) among all level-α\alpha tests.

The intuition is straightforward: reject H0H_0 when the data is much more likely under H1H_1 than under H0H_0, as measured by the likelihood ratio.


Application

ExampleNormal mean, one-sided

Test H0:μ=0H_0: \mu = 0 vs. H1:μ=1H_1: \mu = 1 for X1,,XnN(μ,1)X_1, \ldots, X_n \sim N(\mu, 1): Λ=12πe(xi1)2/212πexi2/2=exp(xin2)\Lambda = \frac{\prod \frac{1}{\sqrt{2\pi}}e^{-(x_i-1)^2/2}}{\prod \frac{1}{\sqrt{2\pi}}e^{-x_i^2/2}} = \exp\left(\sum x_i - \frac{n}{2}\right) So Λ>k\Lambda > k iff Xˉ>k\bar{X} > k' for some constant kk'. The Neyman-Pearson test is: reject if Xˉ>zα/n\bar{X} > z_\alpha/\sqrt{n}. This is the uniformly most powerful (UMP) test for H0:μ=0H_0: \mu = 0 vs. H1:μ>0H_1: \mu > 0 (for any μ>0\mu > 0).


Uniformly Most Powerful Tests

Theorem9.5UMP Tests for Monotone Likelihood Ratio

If the family {f(x;θ)}\{f(x;\theta)\} has a monotone likelihood ratio in a statistic T(x)T(\mathbf{x}) — meaning Λ(x)=f(x;θ1)/f(x;θ0)\Lambda(\mathbf{x}) = f(\mathbf{x}; \theta_1)/f(\mathbf{x}; \theta_0) is a non-decreasing function of TT for θ1>θ0\theta_1 > \theta_0 — then the test "reject H0:θθ0H_0: \theta \leq \theta_0 when T>cT > c" is uniformly most powerful at level α\alpha against H1:θ>θ0H_1: \theta > \theta_0.

RemarkLimitations

For two-sided alternatives (H1:θθ0H_1: \theta \neq \theta_0), UMP tests generally do not exist (except in special cases). The Neyman-Pearson framework motivates the generalized likelihood ratio test Λ=supθΘ0L(θ)/supθΘL(θ)\Lambda = \sup_{\theta \in \Theta_0} L(\theta) / \sup_{\theta \in \Theta} L(\theta), which provides a practical testing method even when optimality cannot be guaranteed.