Skip to content
Probability, Statistics and Financial Data / Neyman-Pearson Theory and Uniformly Most Powerful Tests

The Neyman-Pearson Lemma

The previous note built a working test for H0:μ=0H_0:\mu=0 against H1:μ>0H_1:\mu>0 by rejecting for large Xˉ\bar X — a sensible choice, but an unjustified one: nothing ruled out some other statistic doing better. The Neyman-Pearson lemma closes that gap completely, for the one setting where "best possible" can be pinned down exactly: a simple null against a simple alternative. It states, with no further assumptions on the model, that the test built from the likelihood ratio — reject H0H_0 whenever f(x;θ1)/f(x;θ0)f(x;\theta_1)/f(x;\theta_0) is large — is the most powerful test at its significance level, full stop, among every conceivable rejection rule with that level. This is one of the sharpest optimality results in all of statistics: it does not merely say the likelihood-ratio test is a good test, it says no test can ever beat it. This note states the result precisely and works it through the running normal-mean example; the next note proves it.
Learning objectives. By the end of this note you should be able to:
  • state the Neyman-Pearson lemma precisely, including its sufficiency and necessity parts;
  • construct the most powerful level-α\alpha test for a simple-versus-simple hypothesis by finding the critical constant kk from the null distribution of the likelihood ratio;
  • explain in what sense the likelihood-ratio test is optimal, and why that optimality is restricted to the simple-versus-simple case;
  • reduce a likelihood-ratio test to a test based on a sufficient statistic, and use this to shortcut the search for kk;
  • interpret the lemma financially as the formal justification for "trust the likelihood ratio, not ad hoc statistics," in a signal-detection setting.

In this lesson

  1. The likelihood ratio as a test statistic
  2. Statement of the lemma
  3. Worked example: the normal mean
  4. Reduction to a sufficient statistic

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Probability, Statistics and Financial Data syllabus.