# 二项检验

二项检验是一种精确统计检验，用于检验伯努利（Bernoulli）试验中成功概率的一个简单原假设：给定固定次数的独立试验中的成功次数，它计算若真实成功概率等于某个指定值 \( p_0 \)，该成功次数或更极端的结果会有多不可能发生。<sup>[1](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)</sup> 成功次数是自然的检验统计量，因为它是 \( p \) 的充分统计量；在原假设下其均值为 \( n p \)，方差为 \( n p (1 - p) \)。<sup>[2](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/09%3A_Hypothesis_Testing/9.03%3A_Tests_in_the_Bernoulli_Model)</sup>

| 关键事实 | 细节 |
|---|---|
| 检验内容 | 关于伯努利成功概率的简单原假设 \( H_0: p = p_0 \)，使用充分统计量 \( Y \)，即 \( n \) 次试验中的成功次数<sup>[2](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/09%3A_Hypothesis_Testing/9.03%3A_Tests_in_the_Bernoulli_Model)</sup> |
| 精确性 | p值来自二项概率质量函数，因此该检验在任何样本量下都有效，无需大样本假设<sup>[1](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)</sup> |
| 双侧p值 | 并非唯一确定：R 的 binom.test 把似然不高于观测结果的各结果概率相加（最小似然法）；其他构造要么把较小尾部加倍，要么像布莱克（Blaker）方法那样合并尾部<sup>[3](https://svn.r-project.org/R/trunk/src/library/stats/R/binom.test.R)</sup><sup> • </sup><sup>[4](https://search.r-project.org/CRAN/refmans/DiscreteTests/html/binom_test_pv.html)</sup> |
| 配套区间 | 克洛珀–皮尔逊（Clopper–Pearson，1934）区间对等尾二项检验进行反演；其覆盖率保证至少达到名义水平，但区间偏保守，往往比必要长度长得多<sup>[1](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)</sup><sup> • </sup><sup>[5](https://math.unm.edu/~james/Agresti1998.pdf)</sup> |
| 何时优先使用 | 小样本或期望计数较小时；一个常见规则是，只要总样本量低于1000就使用精确检验，而高于1000时卡方检验和G检验给出的p值几乎相同<sup>[6](https://www.biostathandbook.com/small.html)</sup> |
| 软件 | R 的 stats::binom.test、SciPy 的 scipy.stats.binomtest（1.7.0 加入，取代已弃用的 binom_test），以及 R 包 DiscreteTests、exactci 和 Sequential<sup>[1](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)</sup><sup> • </sup><sup>[7](https://scipy.github.io/devdocs/reference/generated/scipy.stats.binomtest.html)</sup><sup> • </sup><sup>[8](https://docs.scipy.org/doc/scipy-1.11.0/reference/generated/scipy.stats.binom_test.html)</sup> |

## 形式定义与p值计算

假设在原假设下 \( Y \sim \mathrm{Binomial}(n, p_0) \)。对备择假设 \( p < p_0 \)，单侧p值是下尾概率 \( P(Y \le k) \)；对 \( p > p_0 \)，单侧p值是上尾概率 \( P(Y \ge k) \)，其中 \( k \) 是观测到的成功次数。R 正是这样实现的：对“less”备择假设使用 pbinom(x, n, p)，对“greater”备择假设使用 pbinom(x - 1, n, p, lower.tail = FALSE)。<sup>[3](https://svn.r-project.org/R/trunk/src/library/stats/R/binom.test.R)</sup>

**双侧p值并无唯一规范。** 一种常见的教科书构造是将较小的单侧尾部加倍，并以1为上限：\( p = 2 \min\{P(X \le k \mid n, p_0),\ P(X \ge k \mid n, p_0)\} \)。<sup>[9](https://userweb.ucs.louisiana.edu/~kxk4695/S-Size-Bin.pdf)</sup> R 的 binom.test 则采用最小似然（minlike）法，把在原假设 \( p_0 \) 下似然小于或等于观测结果似然的所有结果概率相加；stats::fisher.test() 也采用同一约定。<sup>[3](https://svn.r-project.org/R/trunk/src/library/stats/R/binom.test.R)</sup><sup> • </sup><sup>[4](https://search.r-project.org/CRAN/refmans/DiscreteTests/html/binom_test_pv.html)</sup> DiscreteTests 包提供了这些替代构造：'blaker' 将最小尾部与不大于它的对侧尾部合并（布莱克，2000），'absdist' 使用到分布中心的距离，'central' 将较小尾部加倍；对于连续近似，所有双侧方法都收敛到加倍法。<sup>[4](https://search.r-project.org/CRAN/refmans/DiscreteTests/html/binom_test_pv.html)</sup>

加倍规则仅在特殊情况下精确成立。当原假设给两种结果相同的概率，即 \( p_0 = 1/2 \) 时，分布对称，双侧p值等于单侧p值乘以二。<sup>[10](http://biostathandbook.com/exactgof.html)</sup> 一旦偏离对称，两种构造可能不同，因为偏斜二项分布的两个尾部并不等概率。一个算例给出：12 次试验中 7 次成功、对 \( p = 3/4 \) 作检验时，双侧p值为 0.1893，说明双侧值不必是单侧尾部的两倍。<sup>[11](https://rcompanion.org/rcompanion/b_01.html)</sup>

## 精确性、离散性与保守性

该检验之所以称为精确，是因为其p值由二项分布本身计算，而不是来自大样本近似，因此在任何 \( n \) 下都能控制I类错误率。代价是离散性：由于 \( Y \) 只取 \( n + 1 \) 个值，可达到的拒绝概率形成一个粗糙网格，而从不超出名义水平的精确检验，通常比允许的频率更少拒绝。基于该检验构造的克洛珀–皮尔逊程序因此必然保守，这一点早在内曼（Neyman，1935）时就已指出。<sup>[5](https://math.unm.edu/~james/Agresti1998.pdf)</sup>

**中P值可缓和离散性。** 中P值的形式为 \( P(T > t_0) + (1/2) P(T = t_0) \)，把观测结果的概率分到两个尾部；其在原假设下的期望值为0.5，且两个单侧中P值之和为1.0。<sup>[12](https://alanagresti.com/articles/agresti_min_2001.pdf)</sup> 中P方法不再保证覆盖率至少达到名义水平，但它们往往仍略偏保守，只是没有普通精确p值那么保守。<sup>[12](https://alanagresti.com/articles/agresti_min_2001.pdf)</sup> 离散性文献推荐的其他补救办法包括：反演单个双侧检验，而不是反演两个分别进行、检验水平各自至少为名义水平一半的单侧检验；并在合适时使用无条件方法而非条件方法。<sup>[13](https://journals.sagepub.com/doi/10.1191/0962280203sm311ra)</sup> 另一种精确替代是斯特恩（Sterne）区间，它在双侧情形下优于克洛珀–皮尔逊区间；经过适当水平调整后，克洛珀–皮尔逊区间可等价于中P区间。<sup>[14](https://onlinelibrary.wiley.com/doi/10.1002/sim.1320)</sup> 若要求保证覆盖率的下界，基于反演精确得分检验或基于布莱克双侧p值的区间具有合理表现。<sup>[12](https://alanagresti.com/articles/agresti_min_2001.pdf)</sup>

## 与置信区间的关系

克洛珀–皮尔逊区间通过对 \( H_0: p = p_0 \) 的一族等尾二项检验进行反演得到：一个值 \( p_0 \) 落在区间内，当且仅当相应的双侧检验不拒绝。其端点是贝塔分布分位数：下端点是 Beta\( (x,\, n - x + 1) \) 分布的 \( \alpha/2 \) 分位数，上端点是 Beta\( (x + 1,\, n - x) \) 分布的 \( 1 - \alpha/2 \) 分位数。<sup>[5](https://math.unm.edu/~james/Agresti1998.pdf)</sup> R 就是这样计算这些限值的；当 \( x = 0 \) 或 \( x = n \) 时，区间端点收缩为0或1。<sup>[3](https://svn.r-project.org/R/trunk/src/library/stats/R/binom.test.R)</sup>

该区间的保证既是卖点也是弱点。对每个可能的 \( p \) 值，覆盖率至少为 \( 1 - \alpha \)，但区间偏保守；除非 \( n \) 很大，实际覆盖率常远高于名义水平。<sup>[5](https://math.unm.edu/~james/Agresti1998.pdf)</sup> 布朗（Brown）、蔡（Cai）和达斯古普塔（DasGupta）称，除非要求严格保证覆盖率 \( C(p, n) > 1 - \alpha \)，否则它“过度保守，不是实际使用的好选择”。<sup>[15](https://ar5iv.labs.arxiv.org/html/1412.0442)</sup> 在替代方法中，反演威尔逊（Wilson）得分检验即使对非常小的样本也能给出接近名义水平的覆盖率；95%得分区间的表现很像加入两次成功和两次失败的阿格雷斯蒂–库尔（Agresti–Coull）区间；沃尔德（Wald）区间除非 \( n \) 相当大，否则表现很差。<sup>[5](https://math.unm.edu/~james/Agresti1998.pdf)</sup> 2024年一篇关于稀有事件区间的综述把威尔逊（1927）和阿格雷斯蒂–库尔（1998）列为偏宽松与偏保守程序之间的标准折中。<sup>[16](https://www.tandfonline.com/doi/full/10.1080/00031305.2024.2350445)</sup> 沃尔德区间和威尔逊区间有闭式解，而克洛珀–皮尔逊区间不同，必须通过计算搜索来近似。<sup>[17](https://www.tandfonline.com/doi/full/10.1080/09296174.2013.799918)</sup>

## 与其他检验的比较

对大样本，二项检验有若干渐近对应物。标准化统计量 \( Z = (Y - n p_0) / \sqrt{n p_0 (1 - p_0)} \) 近似为标准正态，给出正态近似检验；等尾双侧二项检验在 \( Y \) 低于 \( p_0 \) 下二项分布的 \( \alpha/2 \) 分位数或高于 \( 1 - \alpha/2 \) 分位数时拒绝。<sup>[2](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/09%3A_Hypothesis_Testing/9.03%3A_Tests_in_the_Bernoulli_Model)</sup> 在遗传学富集分析情形中，两个概率相等的检验与卡方检验渐近等价，而该比较中的其他检验仅对大样本有效。<sup>[18](https://academic.oup.com/bioinformatics/article/23/4/401/181853)</sup>

**样本量指导。** 传统经验规则是：当所有期望计数都超过5时，卡方检验或G检验可以接受；否则推荐精确检验。当期望数较小时，即使样本量达到数百，卡方检验和G检验给出的p值也偏低。<sup>[6](https://www.biostathandbook.com/small.html)</sup> 同一手册建议，只要总样本量低于1000就始终使用精确检验；在这一数量级上，精确检验、卡方检验和G检验给出的p值几乎相同。耶茨（Yates）连续性校正对单自由度拟合优度检验效果良好，给出的p值接近精确二项结果。<sup>[6](https://www.biostathandbook.com/small.html)</sup> 实际做法并不统一：2025年的一篇综述指出，当样本量或期望频数较小时，卡方检验常被费希尔（Fisher）精确检验取代，但对于如何定义“小”，存在多条相互冲突的经验规则。<sup>[19](https://pubmed.ncbi.nlm.nih.gov/40156377/)</sup>

二项检验还与2×2表上的费希尔精确检验以及符号检验相关。符号检验是精确二项检验在配对数据上的应用：它计数差值的符号方向，并在只关心方向而不关心大小时对1:1比例作检验。<sup>[10](http://biostathandbook.com/exactgof.html)</sup> 更一般地，符号检验把关于未知中位数 \( m \) 的检验转化为关于伯努利参数的检验，只要求分布连续；最重要的情形是 \( p_0 = 1/2 \)，即中位数的符号检验。<sup>[2](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/09%3A_Hypothesis_Testing/9.03%3A_Tests_in_the_Bernoulli_Model)</sup> 关于2×2表的比较，2009年《Statistics in Medicine》上的一篇论文得出结论：无条件精确检验和中p方法应更经常使用，而传统费希尔精确检验实际上几乎不应使用。<sup>[20](https://onlinelibrary.wiley.com/doi/10.1002/sim.3531)</sup>

## 具体数字

具体案例展示了精确检验能带来什么，以及它在功效上的代价。对于 \( n = 20 \)、\( p_0 = 0.5 \) 的双侧0.05精确中心检验，拒绝域为 \( x \in \{0,\ldots,5\} \cup \{15,\ldots,20\} \)，而中p选项常给出相同的拒绝域和功效。<sup>[21](https://search.r-project.org/CRAN/refmans/exactci/html/powerBinom.html)</sup> 对于 \( n = 24 \)、\( p_0 = 0.35 \)、\( \alpha = 0.05 \) 的单侧二项检验，临界值为12，在 \( p_{\mathrm{obs}} \approx 0.5417 \) 处的功效为58.30%；双侧版本临界值为4和13，功效为42.13%。当 \( n = 24 \)、备择假设 \( p_1 = 0.45 \) 时，单侧功效仅为0.242，双侧仅为0.134，这提醒我们小样本只能检测较大的偏移。<sup>[22](https://real-statistics.com/binomial-and-related-distributions/statistical-power-binomial-distribution/)</sup> 可以用 pwr.p.test 等工具规划功效；它接受效应量 \( \mathrm{ES.h}(P_0, P_1) \)，并针对指定显著性水平和目标功效进行计算。<sup>[11](https://rcompanion.org/rcompanion/b_01.html)</sup>

SciPy 文档中的例子展示了现代接口：binomtest(4, n=31, p=0.25) 返回比例估计0.129、p值0.147，以及克洛珀–皮尔逊置信区间(0.0363, 0.2983)。<sup>[23](https://github.com/scipy/scipy/pull/12603)</sup> 在两样本方面，2025年一种称为平均功效背包（Average Power Knapsack，APK）检验的整数规划构造，在精确控制I类错误的同时，相对费希尔精确检验取得最高35%的逐点功效增益；当 APK 构造计算量很大时，费希尔中p值检验被认定为最佳的非精确替代。<sup>[24](https://arxiv.org/abs/2503.13689)</sup>

## 序贯抽样与基于停止的推断

固定 \( n \) 的二项检验假定样本量是事先选定的。当数据分阶段到达且监测可能触发提前停止时，固定 \( n \) 的错误率通常不能不加调整地适用于由此产生的停止规则；经典序贯文献提供了替代方法：沃尔德（Wald）的序贯概率比检验（SPRT）、波科克（Pocock）检验、奥布莱恩–弗莱明（O'Brien–Fleming）检验、王–齐亚蒂斯（Wang–Tsiatis）方法，以及用于上市后药品和疫苗安全性监测的最大化序贯概率比检验（MaxSPRT）和条件最大化序贯概率比检验。序贯监测在任一序贯查看中检验统计量越过信号阈值时立即停止。<sup>[25](https://pmc.ncbi.nlm.nih.gov/articles/PMC8441767/)</sup> 具体到二项情形，已有方法可确定标准序贯检验各阶段的接受概率和拒绝概率：该检验针对简单二项假设与单一备择假设，能完整刻画操作特性和检验终止概率，并允许与操作特性大致相同的固定样本量检验作比较。<sup>[26](https://www.stat.cmu.edu/technometrics/70-79/VOL-12-03/v1203635.pdf)</sup>

**精确计算与任意时刻有效计算。** R 包 Sequential 使用迭代数值程序，而不是渐近理论、模拟或正态近似，对二项和泊松序贯检验进行精确计算。<sup>[25](https://pmc.ncbi.nlm.nih.gov/articles/PMC8441767/)</sup> 近期关于任意时刻有效推断的工作表明，序贯检验可由取值于[0,1]的检验诱导出来，序贯似然比检验在每次观测 \( n \) 处取形式 \( \alpha \cdot \mathrm{LR}_n \wedge 1 \)；SPRT 这一名称通常保留给该检验的二元版本，而2024年的近期工作表明它还可以略微进一步改进。<sup>[27](https://arxiv.org/html/2501.03982)</sup>

## 应用与软件

典型应用来自该检验的结构。它适用于一个取两个值的名义变量，将其与诸如1:1或3:1比例的理论期望作比较，并在样本量小时优先使用；在约一千次或更多观测时，G检验或卡方检验给出几乎相同的结果。<sup>[10](http://biostathandbook.com/exactgof.html)</sup> 在遗传学中，二项检验和费希尔精确检验是检验某一类基因中某个基因类别富集或耗竭的标准工具。<sup>[18](https://academic.oup.com/bioinformatics/article/23/4/401/181853)</sup> 符号检验把二项检验推广到配对数据。<sup>[10](http://biostathandbook.com/exactgof.html)</sup>

**R。** stats::binom.test(x, n, p = 0.5, alternative = c("two.sided", "less", "greater"), conf.level = 0.95) 执行精确检验并给出克洛珀–皮尔逊区间。<sup>[1](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)</sup> DiscreteTests 包中的 binom_test_pv() 提供替代的双侧构造，默认使用 'minlike'。<sup>[4](https://search.r-project.org/CRAN/refmans/DiscreteTests/html/binom_test_pv.html)</sup> exactci 包为伯努利响应提供精确功效和样本量方法。<sup>[21](https://search.r-project.org/CRAN/refmans/exactci/html/powerBinom.html)</sup>

**Python。** scipy.stats.binomtest(k, n, p=0.5, alternative='two-sided') 检验成功概率为 \( p \) 的原假设，其中 \( p \) 必须满足 \( 0 \le p \le 1 \)；该函数在 SciPy 1.7.0 中加入，返回一个 BinomTestResult 对象，携带p值和比例估计，其 proportion_ci 方法默认置信水平为0.95，方法为 'exact'（克洛珀–皮尔逊）。<sup>[7](https://scipy.github.io/devdocs/reference/generated/scipy.stats.binomtest.html)</sup> 这次重新设计取代了旧版 binom_test；旧函数只返回单个浮点数，而新对象还暴露估计比例和置信区间方法。<sup>[23](https://github.com/scipy/scipy/pull/12603)</sup> 迁移现已完成：binom_test 在 SciPy 1.10.0 中因改用 binomtest 而被弃用，并计划在 SciPy 1.12.0 中移除，<sup>[8](https://docs.scipy.org/doc/scipy-1.11.0/reference/generated/scipy.stats.binom_test.html)</sup> 随后一个拉取请求移除了该弃用函数，关闭了问题 gh-18581。<sup>[28](https://github.com/scipy/scipy/pull/18610)</sup> binomtest 除 NumPy 外，还支持与 Python Array API Standard 兼容的后端。<sup>[7](https://scipy.github.io/devdocs/reference/generated/scipy.stats.binomtest.html)</sup>

跨包反复出现的陷阱是区间支持，而不是检验本身：COMPSTAT 2002 的一项调查发现，SAS 对二项比例区间只实现了一种方法，而该方法被描述为表现最差的方法之一；SPSS 提供精确和渐近二项检验，却完全不提供置信区间。<sup>[29](https://www.math.tecnico.ulisboa.pt/~apires/PDFs/AP_COMPSTAT02.pdf)</sup>

## References

1. [R: Exact Binomial Test, R stats manual](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/binom.test.html)
2. [Tests in the Bernoulli Model, LibreTexts Statistics](https://stats.libretexts.org/Bookshelves/Probability_Theory/Probability_Mathematical_Statistics_and_Stochastic_Processes_(Siegrist)/09%3A_Hypothesis_Testing/9.03%3A_Tests_in_the_Bernoulli_Model)
3. [binom.test.r, R source code](https://svn.r-project.org/R/trunk/src/library/stats/R/binom.test.R)
4. [R: Binomial Tests, DiscreteTests package](https://search.r-project.org/CRAN/refmans/DiscreteTests/html/binom_test_pv.html)
5. [Agresti & Coull (1998). Approximate is Better than 'Exact' for Interval Estimation of Binomial Proportions](https://math.unm.edu/~james/Agresti1998.pdf)
6. [Small numbers in chi-square and G–tests, Handbook of Biological Statistics](https://www.biostathandbook.com/small.html)
7. [scipy.stats.binomtest, SciPy dev Manual](https://scipy.github.io/devdocs/reference/generated/scipy.stats.binomtest.html)
8. [scipy.stats.binom_test, SciPy v1.11.0 Manual](https://docs.scipy.org/doc/scipy-1.11.0/reference/generated/scipy.stats.binom_test.html)
9. [Some Properties of the Exact and Score Methods for Binomial Proportion and Sample Size Calculation](https://userweb.ucs.louisiana.edu/~kxk4695/S-Size-Bin.pdf)
10. [Exact test of goodness-of-fit, Handbook of Biological Statistics](http://biostathandbook.com/exactgof.html)
11. [Exact Test of Goodness-of-Fit, R Companion](https://rcompanion.org/rcompanion/b_01.html)
12. [Agresti & Min (2001). On Small-Sample Confidence Intervals for Parameters in Discrete Distributions](https://alanagresti.com/articles/agresti_min_2001.pdf)
13. [Agresti & Gottard (2003). Dealing with discreteness: making 'exact' confidence intervals more exact](https://journals.sagepub.com/doi/10.1191/0962280203sm311ra)
14. [Newcombe (2003). Confidence intervals for the binomial parameter: some new considerations](https://onlinelibrary.wiley.com/doi/10.1002/sim.1320)
15. [Thulin (2014). Exact confidence intervals and hypothesis tests for parameters of discrete distributions](https://ar5iv.labs.arxiv.org/html/1412.0442)
16. [Binomial Confidence Intervals for Rare Events, The American Statistician (2024)](https://www.tandfonline.com/doi/full/10.1080/00031305.2024.2350445)
17. [Wallis (2013). Binomial Confidence Intervals and Contingency Tests](https://www.tandfonline.com/doi/full/10.1080/09296174.2013.799918)
18. [Enrichment or depletion of a GO category within a class of genes: which test? Bioinformatics](https://academic.oup.com/bioinformatics/article/23/4/401/181853)
19. [The Choice Between Pearson's χ2 Test and Fisher's Exact Test for 2 × 2 Tables (2025)](https://pubmed.ncbi.nlm.nih.gov/40156377/)
20. [Recommended tests for association in 2×2 tables, Statistics in Medicine (2009)](https://onlinelibrary.wiley.com/doi/10.1002/sim.3531)
21. [R: Exact Power and Sample Size methods for Bernoulli responses, exactci package](https://search.r-project.org/CRAN/refmans/exactci/html/powerBinom.html)
22. [Statistical Power Binomial Distribution, Real Statistics Using Excel](https://real-statistics.com/binomial-and-related-distributions/statistical-power-binomial-distribution/)
23. [ENH: stats: Add binomtest to replace binom_test, SciPy PR #12603](https://github.com/scipy/scipy/pull/12603)
24. [An integer programming-based approach to construct exact two-sample binomial tests with maximum power (2025)](https://arxiv.org/abs/2503.13689)
25. [Exact sequential test for clinical trials and post-market drug and vaccine safety surveillance with Poisson and binary data](https://pmc.ncbi.nlm.nih.gov/articles/PMC8441767/)
26. [On Sequential Tests of the Binomial Distribution, Technometrics](https://www.stat.cmu.edu/technometrics/70-79/VOL-12-03/v1203635.pdf)
27. [Anytime Validity is Free: Inducing Sequential Tests](https://arxiv.org/html/2501.03982)
28. [DEP: stats: remove deprecated binom_test, SciPy PR #18610](https://github.com/scipy/scipy/pull/18610)
29. [Confidence intervals for a binomial proportion, COMPSTAT 2002](https://www.math.tecnico.ulisboa.pt/~apires/PDFs/AP_COMPSTAT02.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Hypothesis testing › Sequential tests and stopping-based inference

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/binomial-test

English original: https://www.edgepedia.org/binomial-test
