# 单侧检验与双侧检验

单侧检验（one-sided test）是一种显著性检验，其拒绝域完全位于检验统计量分布的一侧尾部，用于检验预先选定方向上的效应；而双侧检验（two-sided test）则将拒绝域分配到两侧尾部，用于检验任一方向上的差异。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> 两者之间的选择会改变备择假设、临界值和p值，并且必须在查看数据之前给出理由。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup><sup> • </sup><sup>[2](https://www.bmj.com/content/309/6949/248)</sup>

| 关键事实 | 详情 |
|---|---|
| α分配 | 在0.05显著性水平下，双侧检验在每一尾放0.025；单侧检验把全部0.05放在所关注的单尾。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> |
| 检验效能 | 单侧检验由于不检验另一方向，为检测所选方向上的效应提供更高效能；相同显著性水平下，单侧Z检验比双侧检验更有力。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup><sup> • </sup><sup>[3](https://arxiv.org/abs/1202.0696)</sup> |
| p值关系 | 对于标准正态分布和学生t分布等对称检验统计量，双侧p值恰好是匹配方向上的单侧p值的两倍。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> |
| 默认做法 | 统计软件包默认报告双侧p值；R的`t.test`除非更改，否则将`alternative = "two.sided"`设为默认值。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup><sup> • </sup><sup>[4](https://search.r-project.org/R/refmans/stats/help/t.test.html)</sup> |
| 单侧检验适用的情形 | 当科学或实际关注的假设本身为单侧时，例如新药是否至少与标准药物一样好。<sup>[5](https://www.stat.yale.edu/~jtc5/238/readings/P%20values%20ASA%20Statement%20with%20commentary.pdf)</sup> |
| 监管用途 | 非劣效性试验检验单侧假设，通常采用单侧α = 0.025，相当于双侧0.05程序。<sup>[6](https://www.fda.gov/media/71336/download)</sup><sup> • </sup><sup>[7](https://www.accessdata.fda.gov/drugsatfda_docs/nda/2014/206829Orig1s000StatR.pdf)</sup> |
| 等效性检验 | 等效性通过两个同时进行的单侧检验（TOST）来检验，在操作上等同于要求双侧置信区间完全落在等效界值内。<sup>[6](https://www.fda.gov/media/71336/download)</sup> |

## 假设与拒绝域

显著性检验将原假设与备择假设进行比较。当备择假设指定方向，例如总体均值大于声称值时，检验为单侧，整个拒绝域位于一侧尾部。当备择假设只是参数在任一方向上不同于声称值时，检验为双侧，若统计量落入任一尾则拒绝。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup><sup> • </sup><sup>[8](https://itl.nist.gov/div898/handbook/prc/section1/prc13.htm)</sup>

美国国家标准与技术研究院（NIST）《工程统计手册》（NIST Engineering Statistics Handbook）举例说明两种形式。检验光掩模平均线宽是否在任一方向上偏离500微米，是双侧问题，因为偏差过小或过大都重要；检验统计量要与预先确定的上、下临界值比较。确保一批灯泡的平均寿命至少为500小时，是单侧问题：原假设是平均寿命至少500小时，所要防范的备择假设是平均寿命低于500小时。<sup>[8](https://itl.nist.gov/div898/handbook/prc/section1/prc13.htm)</sup>

## p值与α的权衡

在0.05显著性水平下，双侧检验给每一尾分配0.025，因此若检验统计量落入其分布最高的2.5%或最低的2.5%，则宣布均值与参考值显著不同。同等水平的单侧检验把全部0.05放在一侧尾部，因此统计量只需达到最高5%或最低5%。这就是单侧检验效能更高的含义：它更容易检测到所选方向上的效应，代价是无法将相反符号的效应判为显著。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup>

由于最常见的检验统计量分布——标准正态分布和学生t分布（Student's t）——关于零对称，单侧与双侧p值可以轻松换算。双侧p值等于观测方向上备择假设的单侧p值的两倍；相反方向的单侧p值等于1减去该值。在Stata双样本t检验示例中，t = −3.7341，双侧p值为0.0002，diff < 0的单侧p值为0.0001，diff > 0的单侧p值为0.9999。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> GraphPad给出相同换算规则，并补充说，若观测效应与预测方向相反，正确的单侧p值为1.0减去所报告的值，且始终大于0.50。<sup>[9](https://www.graphpad.com/support/faq/interpreting-one-tail-p-values/)</sup>

对于非对称分布，简单加倍不成立；只有当检验统计量具有对称零分布时，才可合理地将双侧p值定义为单侧p值的两倍，不过更一般的定义可以容纳非对称零分布。<sup>[10](https://arxiv.org/abs/0810.2124)</sup><sup> • </sup><sup>[12](https://digitalcommons.memphis.edu/facpubs/5536/)</sup>

## 各形式的适用情形

**默认是双侧。** 美国统计协会（American Statistical Association）2016年关于p值的声明指出，双侧P值旨在检验目标效应量等于某一特定值（如零）且既不高于也不低于该值的假设；当所关注的假设本身为单侧时，单侧P值才合适。声明补充说，由于双侧P值是通常默认，重要的是注明何时以及为何改用单侧P值。<sup>[5](https://www.stat.yale.edu/~jtc5/238/readings/P%20values%20ASA%20Statement%20with%20commentary.pdf)</sup> 在医学统计中，布兰德（Bland）和阿尔特曼（Altman）的《英国医学杂志》（BMJ）统计笔记说得更直白：除非有非常充分的理由，否则应使用双侧检验；单侧检验的方向必须事先指定；绝不应仅把单侧检验当作使常规上不显著的差异变得显著的手段。<sup>[2](https://www.bmj.com/content/309/6949/248)</sup>

**预先指定是核心要求。** 只有当效应的方向在数据收集之前已被预测时，单侧p值才能被解释。<sup>[9](https://www.graphpad.com/support/faq/interpreting-one-tail-p-values/)</sup> 加州大学洛杉矶分校（UCLA）常见问题解答指出两种明显不当的用法：仅为获得显著性而选择单侧检验；以及在双侧检验未能拒绝原假设之后改用单侧检验，无论双侧结果多么接近。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> 不当选择的代价由药物示例说明：申办者若只对改善做单侧检验，就未能检验新药疗效低于现有药物的可能性，这可能造成严重的实践和伦理后果。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup>

**合理的单侧检验情形。** 当未检验方向上的效应可忽略或无意义时，单侧检验是合适的，例如较便宜药物只需证明不劣于标准药物。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup> 质量控制验收检验，例如灯泡寿命示例，是另一种情形。<sup>[8](https://itl.nist.gov/div898/handbook/prc/section1/prc13.htm)</sup>

## 临床试验中的单侧检验

监管统计大量使用单侧检验。ICH E9指南（ICH E9 guideline）指出，对于非劣效性试验，应使用单侧置信区间，相应的检验则将治疗差异与较低等效界值比较。对于等效性试验，使用双侧置信区间；以这种方式推断等效性，在操作上等同于对“治疗差异位于界值之外”这一复合原假设进行两个同时的单侧检验；由于两个原假设互不相交，I类错误得到适当控制。指南还警告，从“无差异”原假设的非显著检验中得出等效或非劣效结论是不合适的。<sup>[6](https://www.fda.gov/media/71336/download)</sup> 美国食品药品监督管理局（FDA）统计审评显示实践中的惯例：在单侧α = 0.025水平检验非劣效假设。<sup>[7](https://www.accessdata.fda.gov/drugsatfda_docs/nda/2014/206829Orig1s000StatR.pdf)</sup> 两个单侧检验程序（TOST）同样是生物等效性检验的标准方法，其中90%置信区间对应等效判定的5%水平。<sup>[11](https://www.fda.gov/media/124669/download)</sup>

## 软件惯例

统计软件包默认输出双侧结果。在R中，`t.test`及相关函数接受`alternative`参数，取值为`"two.sided"`（默认）、`"greater"`或`"less"`，因此单侧检验需明确请求。<sup>[4](https://search.r-project.org/R/refmans/stats/help/t.test.html)</sup> 由于所报告的p值几乎总是双侧的，单侧p值通常必须由它们推导：或减半，或取1减去一半；当统计量的分布关于零对称时，这有效。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup>

## 解释性警示

尾的选择只影响极端程度如何度量，不影响p值的含义。美国统计协会声明强调，P值包括比所观测值更极端的观测，其中极端程度以特定方式度量；其计算假定抽样、分配和分析假设正确，包括P值并非基于其大小而被选择报告。<sup>[5](https://www.stat.yale.edu/~jtc5/238/readings/P%20values%20ASA%20Statement%20with%20commentary.pdf)</sup> 在查看数据之后选择尾，是这种选择问题的一种形式，它会抬高那些预先指定的双侧分析本不会支持的结果的表面显著性。<sup>[1](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)</sup><sup> • </sup><sup>[2](https://www.bmj.com/content/309/6949/248)</sup>

## References

1. [FAQ: What are the differences between one-tailed and two-tailed tests? UCLA OARC Stats](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-the-differences-between-one-tailed-and-two-tailed-tests/)
2. [Bland JM, Altman DG. Statistics Notes: One and two sided tests of significance. BMJ 1994;309:248](https://www.bmj.com/content/309/6949/248)
3. [Note on the One and Two-Sided Z Tests. arXiv:1202.0696](https://arxiv.org/abs/1202.0696)
4. [R Documentation: t.test (stats)](https://search.r-project.org/R/refmans/stats/help/t.test.html)
5. [The ASA's Statement on p-Values: Context, Process, and Purpose (with commentary)](https://www.stat.yale.edu/~jtc5/238/readings/P%20values%20ASA%20Statement%20with%20commentary.pdf)
6. [ICH E9 Statistical Principles for Clinical Trials (FDA copy)](https://www.fda.gov/media/71336/download)
7. [FDA Statistical Review, NDA 206829, Section 3.2.2 Statistical Methodologies](https://www.accessdata.fda.gov/drugsatfda_docs/nda/2014/206829Orig1s000StatR.pdf)
8. [NIST/SEMATECH e-Handbook 7.1.3: What are statistical tests?](https://itl.nist.gov/div898/handbook/prc/section1/prc13.htm)
9. [GraphPad FAQ 1899: Interpreting one-tail P values](https://www.graphpad.com/support/faq/interpreting-one-tail-p-values/)
10. [On two-sided p-values for non-symmetric distributions. arXiv:0810.2124](https://arxiv.org/abs/0810.2124)
11. [FDA: Equivalence Testing for SE Evaluations](https://www.fda.gov/media/124669/download)
12. [P‐Values for Two‐Sided Tests](https://digitalcommons.memphis.edu/facpubs/5536/)

---
*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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/one-and-two-tailed-tests

English original: https://www.edgepedia.org/one-and-two-tailed-tests
