# 置信区间

置信区间是由样本数据计算出的一个数值范围，它很可能包含未知的总体参数，如均值、比例或处理效应。它通常与点估计一同报告，以显示该估计所携带的不确定性有多大：窄区间表示估计精确，宽区间表示存在很大的不确定性。<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一个很可能包含所关注总体参数的区间估计，按用户选定的置信水平（如95%）构建<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup> |
| 频率学派含义 | 在大量重复抽样中，按95%水平计算的区间约有95%会覆盖真实参数；而单个计算出的区间要么包含它，要么不包含<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> |
| 正态均值公式（σ已知） | \( \bar{Y} \pm z_{1-\alpha/2} \cdot \sigma/\sqrt{N} \)，其中 \( \bar{Y} \) 是样本均值，\( z_{1-\alpha/2} \) 是标准正态临界值<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup> |
| 正态均值公式（σ估计） | \( \bar{Y} \pm t_{1-\alpha/2,\,N-1} \cdot s/\sqrt{N} \)，使用自由度为 \( N-1 \) 的t分布；区间更宽，因为 \( s \) 本身也不确定<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> |
| 宽度驱动因素 | 样本量越大，通过 \( \sqrt{N} \) 项使区间变窄；样本标准差越大，区间越宽<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> |
| 常用水平 | 实践中使用90%、95%和99%，其中95%最常见<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> |
| 起源 | 耶日·内曼（Jerzy Neyman）1937年的论文《基于经典概率论的统计估计理论纲要》发展了置信区间理论<sup>[3](https://wwwusers.ts.infn.it/~milotti/Didattica/StatisticaAvanzata/Neyman_1937.pdf)</sup> |

## 置信水平的含义

置信区间按用户选定的置信水平构建，例如95%。该水平描述的是方法的长期行为：如果对同一总体进行多次抽样，并每次计算一个区间，那么这些区间中约有95%会覆盖真实参数。以 \( 1-\alpha \) 水平表述的置信度与显著性水平 \( \alpha \) 互为补数。<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup>

一种常见的误读是把该水平当作关于某个特定区间的概率。根据NIST工程统计手册，95%置信区间不应被解读为真实均值以95%的概率落在其中；对于任何特定样本，计算出的区间要么覆盖真实均值，要么不覆盖。置信系数是给定大小的样本中预期产生包含真实均值的区间的比例。<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> 这一区别很重要，因为覆盖概率是程序的性质，而不是任何单个区间的性质，并且当外部信息到来时它不会更新。<sup>[4](https://www.stat.ucla.edu/~ywu/Bayesian.pdf)</sup>

## 均值置信区间的构建

对于标准差 \( \sigma \) 已知的正态总体，双侧区间为

\[ \bar{Y} \pm \frac{z_{1-\alpha/2} \, \sigma}{\sqrt{N}} \]

在该公式中，\( \bar{Y} \) 表示样本均值，\( z_{1-\alpha/2} \) 表示标准正态分布的 \( 1-\alpha/2 \) 临界值，\( N \) 表示样本包含的观测数。<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup>

实践中，总体标准差通常未知，必须从数据中估计。此时区间使用样本标准差 \( s \) 和自由度为 \( N-1 \) 的t分布：

\[ \bar{Y} \pm t_{1 - \alpha/2, \, N-1} \, \frac{s}{\sqrt{N}} \]

在相同置信水平下，该区间比σ已知的版本更宽，因为 \( s \) 的不确定性增加了 \( \bar{Y} \) 的不确定性。<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup> 有两个量控制宽度：增大 \( N \) 通过 \( \sqrt{N} \) 项使区间变窄；数据噪声更大（即 \( s \) 更大）则使区间变宽。<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup>

## 单侧与双侧区间

与统计检验一样，置信区间可以是单侧或双侧的。双侧区间从上下两侧夹住参数。单侧区间只从一个方向夹住参数，并给出其大小的上界或下界。<sup>[1](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)</sup>

区间也可转换为检验。要检验总体均值是否等于指定值 \( \mu_0 \)，单样本t检验在水平 \( \alpha \) 下拒绝 \( H_0: \mu = \mu_0 \)，当且仅当 \( \mu_0 \) 落在 \( 100(1-\alpha) \)%区间之外；检验统计量为 \( T = (\bar{Y} - \mu_0)/(s/\sqrt{N}) \)，与t临界值比较。<sup>[2](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)</sup>

## 比例的区间

估计二项比例有其自己的区间族。当时在哈佛大学公共卫生学院的埃德温·B·威尔逊（Edwin B. Wilson）于1927年提出了比例的威尔逊（得分）区间，其基础是对 \( p_0 \) 的假设检验进行反演。<sup>[5](https://jhanley.biostat.mcgill.ca/c607/ch08/wilson_jasa_1927.pdf)</sup><sup> • </sup><sup>[6](https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm)</sup> 克洛珀（Clopper）和皮尔逊（Pearson）于1934年提出了二项比例的“精确”区间，避免了近似。<sup>[7](https://cir.nii.ac.jp/crid/1363670318642609408)</sup>

教科书中的沃尔德（Wald）区间在此表现不佳。劳伦斯·D·布朗（Lawrence D. Brown）、蔡天文（T. Tony Cai）和阿尼尔班·达斯古普塔（Anirban DasGupta）在2001年《统计科学》（*Statistical Science*）的一篇论文中指出，沃尔德区间混乱的覆盖行为比人们通常认为的更持久，而且教科书中关于其安全性的常见说法具有误导性。他们建议小样本使用威尔逊区间或等尾杰弗里斯先验区间，较大样本使用阿格雷斯蒂-库尔区间。<sup>[8](https://projecteuclid.org/journals/statistical-science/volume-16/issue-2/Interval-Estimation-for-a-Binomial-Proportion/10.1214/ss/1009213286.pdf)</sup>

## 自助法与基于似然的区间

当统计量没有简单公式时，重抽样方法可以提供区间。托马斯·J·迪奇乔（Thomas J. DiCiccio）和约瑟夫·P·罗马诺（Joseph P. Romano）（两人当时均在斯坦福大学）1988年的一篇综述回顾了布拉德利·埃夫隆（Bradley Efron）开发的自助法程序：百分位法、偏差校正百分位法，以及加速偏差校正（BCa）法，涵盖参数和非参数情形，并讨论了用于提高覆盖精度的迭代自助法。<sup>[9](https://academic.oup.com/jrsssb/article/50/3/338/7027855)</sup> 同一综述指出，百分位-t和加速偏差校正是现有技术中最有前途的。<sup>[10](https://doi.org/10.1214/aos/1176350933)</sup> 自助法有已知的局限：对于分位数，百分位法等价于符号检验，覆盖误差为 \( n^{-1/2} \) 阶，而且迭代它并不能提高精度。<sup>[11](https://www.sciencedirect.com/science/article/pii/0167715289901211)</sup>

也存在基于似然的替代方法。轮廓似然区间被广泛使用，但模拟研究对其覆盖性意见不一：一项研究发现，当异质性大于零时，轮廓区间最接近名义覆盖；而另一项研究发现，在仅纳入5项研究的荟萃分析中，它们常常覆盖不足。<sup>[12](https://pmc.ncbi.nlm.nih.gov/articles/PMC12621536/)</sup>

## 置信区间与可信区间

贝叶斯分析产生不同的对象，即可信区间。两者的区别在于概率进入的位置。频率学派在观察数据之前引入概率：对于任何固定的参数值，该程序在重复抽样中将按所述概率包含真值。贝叶斯学派将参数视为随机变量，并在观察数据之后引入概率，因此95%可信区间在给定数据和先验的情况下，包含参数的后验概率为0.95。<sup>[13](https://www2.stat.duke.edu/~rcs46/books/bayes_manuscripts.pdf)</sup> 频率学派不能说某个计算出的区间很可能包含真值；贝叶斯学派则可以。当先验弥散且样本很大时，这两个区间在数值上通常接近，这就是为什么正确标注区间很重要。<sup>[4](https://www.stat.ucla.edu/~ywu/Bayesian.pdf)</sup>

## 在研究报告中应用

医学报告指南将置信区间作为标准要求。CONSORT 2025解释与详述文件指示试验作者为每个估计的处理效应附上一个置信区间（CI），以描绘不确定性范围；指出95% CI是惯例，尽管偶尔也使用其他水平；并指出大多数期刊要求或强烈鼓励报告CI。它还指出了一个常见错误，即分别为各组的结果提供单独的CI，而不是为处理效应提供CI，并建议不应仅以P值报告结果。<sup>[14](https://www.bmj.com/content/389/bmj-2024-081124)</sup>

区间增加了P值无法提供的信息。美国统计协会（American Statistical Association）2016年关于P值的声明将强调估计而非检验的方法（包括置信区间）列为应补充或替代基于阈值的显著性声明的途径之一，并指出正确解释需要考察效应量和置信限以及精确的P值。<sup>[15](https://doi.org/DOI%3A10.1080/00031305.2016.1154108)</sup> 在临床应用中，区间的宽度直接影响解释：踝关节活动度改善的95% CI为1°至15°时，临床医生无法判断该效应是微不足道还是重要；而95% CI为5°至8°则支持决策。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC5264560/)</sup> 置信区间与P值一样受样本量影响，足以检验假设的样本量仍可能太小，无法精确估计效应的大小。<sup>[17](https://pubmed.ncbi.nlm.nih.gov/9730488/)</sup>

## References

1. [7.1.4. What are confidence intervals? NIST/SEMATECH e-Handbook of Statistical Methods](https://itl.nist.gov/div898/handbook/prc/section1/prc14.htm)
2. [1.3.5.2. Confidence Limits for the Mean, NIST/SEMATECH e-Handbook of Statistical Methods](https://itl.nist.gov/div898/handbook/eda/section3/eda352.htm)
3. [J. Neyman (1937). Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability. Philosophical Transactions of the Royal Society A, 236, 333–380.](https://wwwusers.ts.infn.it/~milotti/Didattica/StatisticaAvanzata/Neyman_1937.pdf)
4. [A Modern Introduction to Bayesian Thinking (Wu), sections on credible and confidence intervals](https://www.stat.ucla.edu/~ywu/Bayesian.pdf)
5. [E. B. Wilson (1927). Probable Inference, the Law of Succession, and Statistical Inference. Journal of the American Statistical Association 22, 209–212.](https://jhanley.biostat.mcgill.ca/c607/ch08/wilson_jasa_1927.pdf)
6. [7.2.4.1. Confidence intervals, NIST/SEMATECH e-Handbook of Statistical Methods](https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm)
7. [C. J. Clopper and E. S. Pearson (1934). The Use of Confidence or Fiducial Limits Illustrated in the Case of the Binomial. Biometrika 26(4), 404–413.](https://cir.nii.ac.jp/crid/1363670318642609408)
8. [L. D. Brown, T. T. Cai, A. DasGupta (2001). Interval Estimation for a Binomial Proportion. Statistical Science 16(2), 101–133.](https://projecteuclid.org/journals/statistical-science/volume-16/issue-2/Interval-Estimation-for-a-Binomial-Proportion/10.1214/ss/1009213286.pdf)
9. [T. J. DiCiccio, J. P. Romano (1988). A Review of Bootstrap Confidence Intervals. JRSS-B 50(3), 338–354.](https://academic.oup.com/jrsssb/article/50/3/338/7027855)
10. [Theoretical Comparison of Bootstrap Confidence Intervals, Annals of Statistics](https://doi.org/10.1214/aos/1176350933)
11. [P. Hall, M. A. Martin (1989). A note on the accuracy of bootstrap percentile method confidence intervals for a quantile. Statistics & Probability Letters 8(3), 197–200.](https://www.sciencedirect.com/science/article/pii/0167715289901211)
12. [Meta-analysis with Jeffreys priors: Empirical frequentist properties. PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12621536/)
13. [Confidence Intervals versus Credible Intervals, Bayesian manuscript (Duke University)](https://www2.stat.duke.edu/~rcs46/books/bayes_manuscripts.pdf)
14. [CONSORT 2025 explanation and elaboration: updated guideline for reporting randomised trials. BMJ 2025;389:e081124.](https://www.bmj.com/content/389/bmj-2024-081124)
15. [The ASA Statement on p-Values: Context, Process, and Purpose. The American Statistician (2016).](https://doi.org/DOI%3A10.1080/00031305.2016.1154108)
16. [Statistical Primer for Athletic Trainers: Using Confidence Intervals and Effect Sizes. PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC5264560/)
17. [Understanding and using confidence intervals in clinical research. PubMed](https://pubmed.ncbi.nlm.nih.gov/9730488/)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Estimation theory and estimator families

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/confidence-interval

English original: https://www.edgepedia.org/confidence-interval
