# 偏差（统计学）

**统计偏差**是估计值、统计量或测量值系统性地高于或低于其所要捕捉的数值的倾向。美国国家标准与技术研究院（NIST）的术语表将其定义为：所发布统计量的期望值与真实统计量不符的情形<sup>[1](https://csrc.nist.gov/glossary/term/statistical_bias)</sup>；美国司法科学协会组织（OSAC）的词汇表则将其描述为：估计值或测量值系统性高于或低于其真值的倾向，源于系统性误差而非随机误差<sup>[2](https://www.nist.gov/glossary-term/19181)</sup>。偏差是在许多样本上重复某一程序所具有的性质，而非任何单一结果的性质，且其发生并不需要存在偏见、偏袒或歧视意图<sup>[2](https://www.nist.gov/glossary-term/19181)</sup>。

| 关键事实 | 详情 |
|---|---|
| 形式定义 | 估计量的偏差是估计量的期望值减去其所估计的参数；偏差为零的估计量是无偏的<sup>[3](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)</sup> |
| 误差分解 | 均方误差等于方差加上偏差的平方，因此总体误差恰好由这两个可控成分构成<sup>[4](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)</sup> |
| 系统性与随机性 | 偏差源于系统性误差，后者在重复抽样中不会相互抵消，这与期望值为零的随机变异性不同<sup>[2](https://www.nist.gov/glossary-term/19181)</sup><sup> • </sup><sup>[3](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)</sup> |
| 抽样偏差 | 当总体中某些成员比其他成员更不可能被选中时产生，可能导致关于该总体的错误结论<sup>[5](https://openstax.org/books/introductory-statistics/pages/1-2-data-sampling-and-variation-in-data-and-sampling)</sup> |
| 测量偏差 | 在计量学中，指实验室对某被测物的测量平均值与参考实验室将获得的平均值之间的差异；通常通过校准来估计或消除<sup>[6](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc45.htm)</sup> |
| 有意偏差 | 岭回归等收缩方法有意引入偏差以降低方差，当方差降低幅度更大时，可降低测试误差<sup>[7](https://web.stanford.edu/class/stats202/notes/Model-selection/Shrinkage.html)</sup> |

## 估计量的偏差

估计量是由随机样本计算得出的统计量，用以估计总体参数。由于样本是随机的，估计量是一个随机变量，其在任何特定样本上的取值可写成三项之和：参数、系统性偏差，以及期望值为零的随机误差<sup>[3](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)</sup>。偏差定义为

\[ \mathrm{bias}(T) = E(T) - \theta, \]

其中 \( T \) 为估计量，\( \theta \) 为参数。正偏差意味着估计量平均而言倾向于高估；负偏差意味着倾向于低估。若偏差为零，则估计量是无偏的：其期望值等于参数<sup>[3](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)</sup><sup> • </sup><sup>[4](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)</sup>。只要总体均值存在，样本均值就是总体均值的无偏估计<sup>[4](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)</sup>。

偏差与方差共同决定准确性。均方误差恰好分解为

\[ \mathrm{MSE}(T) = \mathrm{Var}(T) + \mathrm{bias}(T)^2, \]

因此估计量的其他任何性质都不对其有所贡献<sup>[4](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)</sup>。步枪类比使这一区分变得具体：一组紧密聚集但朝同一方向偏离靶心的弹着点，显示出低方差伴有偏差；而散布在靶心周围的弹着点，则显示出零偏差伴有高方差<sup>[3](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)</sup>。

## 偏差-方差权衡

降低偏差往往会增大方差，反之亦然。当调整估计量以降低偏差时，方差可能上升，有时两者无法同时很小<sup>[4](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)</sup>。这一权衡组织起了统计学与机器学习中的模型选择：对数据模式而言过于简单的模型具有高偏差（欠拟合），而对特定训练样本过于敏感的模型具有高方差（过拟合），而有用的模型位于两者之和最小之处<sup>[8](https://stanford-mse-125.github.io/slides/lec06-validation.html)</sup>。

**有意偏差可以是值得的。** 惩罚化是高维统计学的支柱，主动控制着这一权衡。岭回归通过对系数平方大小施加惩罚，将系数向零收缩；这引入了偏差，但能显著降低方差，当方差降低幅度更大时，测试误差随之下降<sup>[7](https://web.stanford.edu/class/stats202/notes/Model-selection/Shrinkage.html)</sup>。在许多情形下，接受一些偏差以换取更小的方差和更小的总体均方误差是更好的选择<sup>[9](https://strimmerlab.github.io/publications/lecture-notes/MATH27720-stats2/20-stats.html)</sup>。

一个实际局限在于，偏差和方差是在许多训练集上的期望，因此在真实数据上——只有单个样本可用且真实函数未知——无法直接测量；实践者转而读取训练-测试差距和交叉验证曲线等症状<sup>[8](https://stanford-mse-125.github.io/slides/lec06-validation.html)</sup>。

## 测量中的偏差

在计量学中，偏差与系统性误差被视为同一量：测量结果与其未知真值之间的差异，通常可通过校准至参考标准来估计或消除<sup>[6](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc45.htm)</sup>。对于测量实验室而言，偏差是该实验室对某被测物的长期测量平均值与参考实验室对同一被测物将获得的平均值之间通常未知的差异<sup>[10](https://www.itl.nist.gov/div898/handbook/mpc/section1/mpc113.htm)</sup>。

在理想环境中进行校准并不能保证在工作环境中无偏运行：温度、湿度、操作人员、磨损及其他因素都可能引入偏差，量具研究被用来揭示这些偏差<sup>[6](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc45.htm)</sup>。NIST手册所编目的偏差来源包括量具分辨率不足、线性不足、漂移、迟滞，以及量具、几何形状和操作人员之间的差异<sup>[6](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc45.htm)</sup>。NIST技术说明1297建议在一般语境中使用“系统性误差”一词，因为国际计量学词汇（VIM）仅在涉及测量仪器时定义偏差<sup>[11](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-appendix-d1-terminology)</sup>。

## 抽样偏差与选择偏差

当样本的收集方式使得总体中某些成员比其他成员更不可能被选中时，就产生了抽样偏差，尽管每个成员本应具有同等被选中的机会；一旦发生，就可能得出关于该总体的错误结论<sup>[5](https://openstax.org/books/introductory-statistics/pages/1-2-data-sampling-and-variation-in-data-and-sampling)</sup>。自选样本是常见来源，例如只有主动回应者才作答的来电调查<sup>[5](https://openstax.org/books/introductory-statistics/pages/1-2-data-sampling-and-variation-in-data-and-sampling)</sup>。抽样偏差不同于抽样误差，后者是每个样本都带有的随机变异性，随样本量增大而缩小<sup>[5](https://openstax.org/books/introductory-statistics/pages/1-2-data-sampling-and-variation-in-data-and-sampling)</sup>。

**选择超出抽样的范围。** 在研究综合中，当研究结果具有统计显著性时更可能被发表，就产生了发表偏倚。在一组500项参与者超过200人、其初步结果在美国临床肿瘤学会会议上报告的肿瘤学试验中，P<0.05的试验有81%在五年内全文发表，而P>0.05的试验为68%<sup>[12](https://www.bmj.com/content/bmj/339/bmj.b2700.full.pdf)</sup>。在研究内部，当研究者拟合多个模型而只报告一个偏好的估计时，就发生了p值操纵（也称数据挖掘或选择性推断）；美国统计协会关于p值的声明指出，挑选有希望的研究结果会导致已发表文献中显著结果出现虚假的过量<sup>[13](https://doi.org/DOI%3A10.1080/00031305.2016.1154108)</sup>。近期的元分析方法区分了跨研究的选择与研究内部的选择，并分析已发表的非肯定性估计以校正两者<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC11042997/)</sup>。在随机试验中，Cochrane偏倚风险工具评估五个领域，包括随机化过程产生的偏倚、结局数据缺失导致的偏倚，以及报告结果选择中的偏倚<sup>[15](https://www.cochrane.org/authors/handbooks-and-manuals/handbook/current/chapter-08)</sup>。

## 现代统计系统中的偏差

统计偏差出现在估计本身由随机化或学习程序产生的情境中。在差分隐私中，机制的偏差是真实查询结果 \( f(x) \) 与机制输出在许多样本上的期望值之间的差异；拉普拉斯机制的偏差为零，因为以零为中心的拉普拉斯分布的期望值为零，但诸如将差分隐私计数四舍五入为整数并强制其为非负的后处理会引入偏差，可能损害结果<sup>[16](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-226.pdf)</sup>。

在机器学习公平性中，评估统计偏差意味着将模型输出或模型所依据的数据与某种基准真值进行比较；当性能指标沿种族等社会轴线出现差异性变化时，模型常被描述为在该轴线上有偏差<sup>[17](https://www.nist.gov/system/files/documents/2021/09/20/20210910_Twitter%20Response_%20NIST%201270%20Managing%20Bias%20in%20AI.pdf)</sup>。NIST SP 1270指出，传统统计检验——包括t检验和回归系数分析——可以显示系统结果在不同人口群体间存在统计显著差异，而某些公平性的观测性定义可能视受保护属性与数据之间的关系而加剧歧视<sup>[18](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.1270.pdf)</sup>。

## References

1. [Statistical bias, NIST Computer Security Resource Center Glossary](https://csrc.nist.gov/glossary/term/statistical_bias)
2. [Bias, Statistical, NIST/OSAC Lexicon](https://www.nist.gov/glossary-term/19181)
3. [Estimating Parameters from Simple Random Samples, SticiGui, Philip B. Stark, UC Berkeley](https://www.stat.berkeley.edu/~stark/SticiGui/Text/estimation.htm)
4. [Bias and Variance, Data 88S Textbook, UC Berkeley](https://data88s.org/textbook/content/Chapter_11/01_Bias_and_Variance.html)
5. [Data, Sampling, and Variation in Data and Sampling, OpenStax Introductory Statistics](https://openstax.org/books/introductory-statistics/pages/1-2-data-sampling-and-variation-in-data-and-sampling)
6. [Analysis of bias, NIST/SEMATECH e-Handbook of Statistical Methods, section 2.4.5](https://www.itl.nist.gov/div898/handbook/mpc/section4/mpc45.htm)
7. [Shrinkage methods, Stanford STATS 202 course notes](https://web.stanford.edu/class/stats202/notes/Model-selection/Shrinkage.html)
8. [Validation and the Bias-Variance Tradeoff, Stanford MSE 125 lecture slides](https://stanford-mse-125.github.io/slides/lec06-validation.html)
9. [Statistics refresher, MATH27720 Statistical Learning with Likelihood and Bayes, Korbinian Strimmer](https://strimmerlab.github.io/publications/lecture-notes/MATH27720-stats2/20-stats.html)
10. [Bias and Accuracy, NIST/SEMATECH e-Handbook, section 2.1.1.3](https://www.itl.nist.gov/div898/handbook/mpc/section1/mpc113.htm)
11. [NIST Technical Note 1297, Appendix D1: Terminology](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-appendix-d1-terminology)
12. [Non-publication of research findings, BMJ Research Methods & Reporting](https://www.bmj.com/content/bmj/339/bmj.b2700.full.pdf)
13. [The ASA Statement on p-Values: Context, Process, and Purpose, The American Statistician](https://doi.org/DOI%3A10.1080/00031305.2016.1154108)
14. [P-hacking in meta-analyses: A formalization and new meta-analytic methods, Research Synthesis Methods](https://pmc.ncbi.nlm.nih.gov/articles/PMC11042997/)
15. [Chapter 8: Assessing risk of bias in a randomized trial, Cochrane Handbook](https://www.cochrane.org/authors/handbooks-and-manuals/handbook/current/chapter-08)
16. [Guidelines for Evaluating Differential Privacy Guarantees, NIST SP 800-226](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-226.pdf)
17. [Twitter Response: NIST 1270 Managing Bias in AI](https://www.nist.gov/system/files/documents/2021/09/20/20210910_Twitter%20Response_%20NIST%201270%20Managing%20Bias%20in%20AI.pdf)
18. [Towards a Standard for Identifying and Managing Bias in Artificial Intelligence, NIST SP 1270](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.1270.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 › Estimation theory and estimator families › Estimation: overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/bias-statistics

English original: https://www.edgepedia.org/bias-statistics
