# 奈曼–皮尔逊引理

奈曼–皮尔逊引理是数理统计学中的一个定理，它指出：在固定显著性水平下，针对简单原假设对简单备择假设的检验，最大功效检验是似然比检验——当两种假设下的似然之比超过某个选定常数时，拒绝原假设。该引理由耶日·奈曼（Jerzy Neyman）与埃贡·皮尔逊（Egon Pearson）于1933年发表，被视为现代假设检验理论的理论基石。

| 关键事实 | 详情 |
|---|---|
| 陈述 | 对于简单原假设 \( H_0 \) 对简单备择假设 \( H_1 \)，满足 \( E_0 \phi(X) = \alpha \) 的似然比检验在所有水平为 \( \alpha \) 的检验中功效最大<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup> |
| 原始文献 | 耶日·奈曼与埃贡·S·皮尔逊，《论统计假设的最有效检验问题》，《英国皇家学会哲学汇刊A辑》，第231卷（1933年），第289–337页<sup>[2](https://www.stats.org.uk/statistical-inference/NeymanPearson1933.pdf)</sup> |
| 检验形式 | 当 \( L(\theta_1; x)/L(\theta_0; x) > k \) 时拒绝，低于 \( k \) 时接受，等于 \( k \) 时随机化，其中 \( k \) 的选取使检验的大小恰为 \( \alpha \)<sup>[3](https://laisha.ai/degrees/agri-statistics/hypothesis-testing)</sup> |
| 适用范围 | 直接适用于简单对简单的假设；这种形式下实际价值有限，但它为检验理论的一切后续发展铺平了道路<sup>[4](https://doi.org/10.1002/9780470057339.vnn090)</sup> |
| 推广 | 在具有单调似然比的分布族中，单尾检验对单边备择假设是一致最大功效的<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup> |
| 局限 | 对复合假设，例如双侧备择假设，一致最大功效检验一般不存在<sup>[5](https://www.sciencedirect.com/topics/mathematics/uniformly-most-powerful-test)</sup> |

## 设定与定义

设从参数为 \( \theta \) 的分布中抽取随机样本 \( X_1, \dots, X_n \)，其联合似然为 \( L(\theta) = f(x_1; \theta) \times f(x_2; \theta) \times \cdots \times f(x_n; \theta) \)。若一个假设唯一地指定了总体分布，例如 \( H_0 \colon \theta = \theta_0 \)，则称其为*简单*假设；凡不能如此的假设均为*复合*假设<sup>[6](https://online.stat.psu.edu/stat415/lesson/26/26.1)</sup>。

检验由导致拒绝的样本结果所构成的拒绝域 \( C \) 来定义。其*大小*是在原假设下拒绝的概率（第一类错误率），其*功效*是在备择假设下拒绝的概率。大小为 \( \alpha \) 的拒绝域 \( C \) 若其功效至少不小于任何其他大小为 \( \alpha \) 的拒绝域的功效，则称其为*最优*的；这样的检验称为最大功效检验<sup>[6](https://online.stat.psu.edu/stat415/lesson/26/26.1)</sup>。

## 引理的陈述

该引理指明了最优检验必须采取的形式。若 \( C \) 是大小为 \( \alpha \) 的拒绝域，且 \( k \) 是一个常数，使得在 \( C \) 内 \( L(\theta_0)/L(\theta_a) \le k \)，在 \( C \) 外 \( L(\theta_0)/L(\theta_a) \ge k \)，则 \( C \) 是检验 \( H_0 \colon \theta = \theta_0 \) 对 \( H_A \colon \theta = \theta_a \) 的最大功效拒绝域<sup>[6](https://online.stat.psu.edu/stat415/lesson/26/26.1)</sup>。等价地，若使用相反方向的比值，则检验在 \( p_1(x)/p_0(x) > k \) 时拒绝，在 \( p_1(x)/p_0(x) < k \) 时接受，在相等时可随机化<sup>[7](https://web.stanford.edu/~lmackey/stats300a/doc/stats300a-fall15-lecture12.pdf)</sup>。

斯坦福版本的引理表述包含三部分。存在性：对任意水平 \( \alpha \)，都存在大小恰为 \( \alpha \) 的似然比检验。充分性：任何在某个 \( k \) 处满足似然比条件的检验都是最大功效的。必要性：任何最大功效检验都在某个 \( k \) 处满足该条件，例外情形是当大小低于 \( \alpha \) 的检验已达到功效1时，它不必用尽全部错误预算<sup>[7](https://web.stanford.edu/~lmackey/stats300a/doc/stats300a-fall15-lecture12.pdf)</sup>。

**为什么是似然比。** 其直观解释是一个预算论证。将样本点 \( x \) 纳入拒绝域，以消耗第一类错误预算中 \( p_0(x) \) 的代价换取功效 \( p_1(x) \)，因此似然比 \( p_1(x)/p_0(x) \) 衡量了“每一分钱换来的收益”。最优拒绝域按此比值从大到小依次收集样本点，直到预算 \( \alpha \) 耗尽<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup>。当似然比在一个正概率集合上恰等于阈值时——这在离散分布中会发生——该边界集合上的行为通过随机化来选取，以使检验大小恰为 \( \alpha \)<sup>[7](https://web.stanford.edu/~lmackey/stats300a/doc/stats300a-fall15-lecture12.pdf)</sup><sup> • </sup><sup>[3](https://laisha.ai/degrees/agri-statistics/hypothesis-testing)</sup>。

## 从简单假设到复合假设

该引理直接解决的只是简单对简单的问题，这种情形实际价值有限，但它构成了检验理论其余部分的基础<sup>[4](https://doi.org/10.1002/9780470057339.vnn090)</sup>。一种推广使用了*一致最大功效*（UMP）检验的概念，即在备择假设中的每一个参数值上，其功效都至少不小于任何其他水平为 \( \alpha \) 的检验的功效<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup>。

在具有单调似然比的分布族中，即对任意 \( \theta_1 < \theta_2 \)，\( p_{\theta_2}(x)/p_{\theta_1}(x) \) 关于某个统计量 \( T(x) \) 单调不减，单尾检验对单边检验问题是一致最大功效的：对较大的 \( T(X) \) 予以拒绝，同时对每一个备择 \( \theta > \theta_0 \) 都是最优的<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup>。单参数指数族具有这一性质，因为样本的似然比可化为 \( \sum_i T(x_i) \) 的增函数<sup>[1](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)</sup>。

对双侧备择假设，情况则不同：一般不存在一致最大功效检验。对于已知方差的正态均值，检验 \( H_0 \colon \mu = \mu_0 \) 对 \( H_a \colon \mu \ne \mu_0 \) 时，对 \( \mu_1 > \mu_0 \) 的最大功效拒绝域是一尾，而对 \( \mu_1 < \mu_0 \) 则是另一尾，因此没有单一的拒绝域能同时对两者最优<sup>[5](https://www.sciencedirect.com/topics/mathematics/uniformly-most-powerful-test)</sup>。在这类情形下，实际工作者转而使用广义似然比检验，而后者未必具有简单情形下似然比检验的最优性<sup>[8](https://ocw.iti.hr/courses/economics/14-30-introduction-to-statistical-methods-in-economics-spring-2009/lecture-notes/MIT14_30s09_lec22.pdf)</sup>。

## 历史背景

该引理出现在耶日·奈曼与埃贡·S·皮尔逊1933年发表于《英国皇家学会哲学汇刊A辑》的论文《论统计假设的最有效检验问题》中<sup>[2](https://www.stats.org.uk/statistical-inference/NeymanPearson1933.pdf)</sup>。同年的一篇姊妹论文考虑了检验与先验概率的关系<sup>[9](https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/abs/testing-of-statistical-hypotheses-in-relation-to-probabilities-a-priori/65C6E3D534996282114D4E16FCA3E73C)</sup>。两人此前已在1928年发表于《生物计量学》的一篇关于检验准则的论文中阐述了他们的方法<sup>[10](https://onlinelibrary.wiley.com/doi/abs/10.1002/9781118445112.stat06344)</sup>。

奈曼–皮尔逊方法建立在罗纳德·费希尔（Ronald Fisher）的工作基础上，并对其作了拓展，并在若干方面与之不同：在可能的假设之间作出选择，而非决定是否拒绝单一假设；在实验之前设定决策准则；承认两类错误的存在以及它们并非同等可取；将功效定义为当真实效应存在时检出它的概率<sup>[10](https://onlinelibrary.wiley.com/doi/abs/10.1002/9781118445112.stat06344)</sup>。费希尔虽然看来是1933年那篇论文的审稿人，却成为它最激烈的批评者之一，部分原因是他觉得从第一原理发展出的理论遮蔽了他的似然与充分性概念所起的作用<sup>[11](https://mathshistory.st-andrews.ac.uk/LMS/neyman_2_lms_obit.pdf)</sup>。奈曼随后的一篇论文引入了“功效”一词，用以表示当某个特定备择假设为真时拒绝原假设的机会，并发展了一致最大功效检验与无偏检验的概念<sup>[11](https://mathshistory.st-andrews.ac.uk/LMS/neyman_2_lms_obit.pdf)</sup>。

## 应用与推广

该引理的最优似然比结构在统计学内外反复出现：

- **序贯检验。** 亚伯拉罕·瓦尔德（Abraham Wald）与雅各布·沃尔福威茨（Jacob Wolfowitz）于1948年证明，序贯概率比检验——将似然比与两个边界相比较——在具有相同错误概率的检验中平均所需观测数最少<sup>[12](https://doi.org/10.1214/aoms/1177730197)</sup>。
- **贝叶斯因子。** 当误差以期望衡量时，该引理适用于贝叶斯因子：贝叶斯因子是在固定的期望第一类错误率下使期望功效最大的检验统计量<sup>[13](https://arxiv.org/abs/2110.15625)</sup>。
- **信号检测与雷达。** 在检测理论中，该引理确定了最优的接收机工作特性曲线，即可达的检测概率与虚警概率区域的边界<sup>[14](https://people.lids.mit.edu/yp/homepage/data/itbook-export.pdf)</sup>。对于噪声型雷达，由奈曼–皮尔逊引理导出的检测器给出了检测性能的上界，实际检测器则与之比较<sup>[15](https://arxiv.org/abs/2204.07881)</sup>。
- **分类。** 奈曼–皮尔逊分类算法与NP-ROC带将这一范式——固定第一类错误并最大化检测——移植到此前尚未广泛采用这一范式的分类方案中<sup>[16](https://arxiv.org/abs/1608.03109)</sup>。
- **隐私。** 该引理的类似物在差分隐私下成立，其中针对简单假设的最优隐私检验采取对数似然比检验的随机化、截断变体的形式<sup>[17](https://arxiv.org/abs/1811.11148)</sup>。

## References

1. [Hypothesis Testing and the Neyman-Pearson Lemma, Stat 210A lecture notes, UC Berkeley](https://stat210a.berkeley.edu/fall-2024/reader/hypothesis-testing.html)
2. [J. Neyman and E. S. Pearson (1933). On the Problem of the Most Efficient Tests of Statistical Hypotheses. Philosophical Transactions of the Royal Society A, 231, 289–337.](https://www.stats.org.uk/statistical-inference/NeymanPearson1933.pdf)
3. [Testing of Hypothesis, Unit 4.11: Neyman Pearson Lemma & Randomized Tests](https://laisha.ai/degrees/agri-statistics/hypothesis-testing)
4. [Marc Hallin (2013). Neyman-Pearson Lemma. Wiley StatsRef.](https://doi.org/10.1002/9780470057339.vnn090)
5. [Uniformly Most Powerful Test, ScienceDirect Topics (Ramachandran & Tsokos, Mathematical Statistics with Applications in R, 3rd ed.)](https://www.sciencedirect.com/topics/mathematics/uniformly-most-powerful-test)
6. [26.1 - Neyman-Pearson Lemma, STAT 415, Penn State Eberly College of Science](https://online.stat.psu.edu/stat415/lesson/26/26.1)
7. [STATS 300A Lecture 12, Stanford University (L. Mackey)](https://web.stanford.edu/~lmackey/stats300a/doc/stats300a-fall15-lecture12.pdf)
8. [MIT 14.30 Lecture Notes 22, Spring 2009 (K. Menzel)](https://ocw.iti.hr/courses/economics/14-30-introduction-to-statistical-methods-in-economics-spring-2009/lecture-notes/MIT14_30s09_lec22.pdf)
9. [Neyman & Pearson (1933). The testing of statistical hypotheses in relation to probabilities a priori. Math. Proc. Camb. Phil. Soc. 29(4).](https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/abs/testing-of-statistical-hypotheses-in-relation-to-probabilities-a-priori/65C6E3D534996282114D4E16FCA3E73C)
10. [Neyman-Pearson Inference, Wiley StatsRef (Nickerson)](https://onlinelibrary.wiley.com/doi/abs/10.1002/9781118445112.stat06344)
11. [Neyman and the Theory of Statistical Inference, LMS obituary, St Andrews Mathematics History](https://mathshistory.st-andrews.ac.uk/LMS/neyman_2_lms_obit.pdf)
12. [A. Wald and J. Wolfowitz (1948). Optimum Character of the Sequential Probability Ratio Test. Annals of Mathematical Statistics 19(3), 326–339.](https://doi.org/10.1214/aoms/1177730197)
13. [Neyman-Pearson lemma for Bayes factors, arXiv:2110.15625](https://arxiv.org/abs/2110.15625)
14. [Chapter 14: Neyman-Pearson lemma, MIT (Y. Polyanskiy), information theory text](https://people.lids.mit.edu/yp/homepage/data/itbook-export.pdf)
15. [A Family of Neyman-Pearson-Based Detectors for Noise-Type Radars, arXiv:2204.07881](https://arxiv.org/abs/2204.07881)
16. [Neyman-Pearson (NP) classification algorithms and NP receiver operating characteristics, arXiv:1608.03109](https://arxiv.org/abs/1608.03109)
17. [The Structure of Optimal Private Tests for Simple Hypotheses, arXiv:1811.11148](https://arxiv.org/abs/1811.11148)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Hypothesis testing › Sequential probability ratio test

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/neyman-pearson-lemma

English original: https://www.edgepedia.org/neyman-pearson-lemma
