# 分层抽样

**分层抽样**是一种概率抽样方法，其做法是将总体划分为若干互不重叠的子群，称为层，各层内部在与调查相关的特征上具有同质性，然后在每一层内独立抽取样本。美国人口普查局将其定义为这样一种程序：将总体划分为同质的子群，并在每一层中独立进行样本抽取。<sup>[1](https://www.census.gov/content/dam/Census/about/about-the-bureau/policies_and_notices/quality/statistical-quality-standards/Quality_Standards.pdf)</sup> 形式上，一个由 \( N \) 个单元组成的总体被划分为 \( H \) 层 \( U_1, \dots, U_H \)，各层规模分别为 \( N_1, \dots, N_H \)，层与层之间互不重叠且合起来构成整个总体，并从每一层抽取规模为 \( n_h \) 的样本，满足 \( \sum_h n_h = n \)。<sup>[2](https://www150.statcan.gc.ca/n1/pub/12-001-x/2015002/article/14249/02-eng.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 总体被划分为互不重叠、内部同质的层；抽样在每一层内独立进行<sup>[1](https://www.census.gov/content/dam/Census/about/about-the-bureau/policies_and_notices/quality/statistical-quality-standards/Quality_Standards.pdf)</sup><sup> • </sup><sup>[2](https://www150.statcan.gc.ca/n1/pub/12-001-x/2015002/article/14249/02-eng.htm)</sup> |
| 奠基论文 | 耶日·内曼（Jerzy Neyman），《论代表性方法的两个不同方面》，*皇家统计学会杂志*，第97卷，第4期，第558–606页（1934年）<sup>[3](https://onlinelibrary.wiley.com/doi/10.1111/j.2397-2335.1934.tb04184.x)</sup> |
| 主要分配方式 | 比例分配、等量分配、最优（内曼）分配和幂（班基尔）分配<sup>[4](https://ec.europa.eu/eurostat/documents/3859598/13985433/KS-GQ-21-016-EN-N.pdf/e9410e2b-eba1-7a09-554b-dff3ac1df6bf?t=1639751446385)</sup> |
| 内曼分配 | 当各层单位成本相等时，\( n_h = n \cdot N_h \sigma_h / \sum_k N_k \sigma_k \)；当成本不等时，将每个 \( N_h \sigma_h \) 项除以 \( \sqrt{c_h} \)<sup>[5](https://online.stat.psu.edu/stat506/Lesson06)</sup> |
| 对精度的影响 | 分层往往使设计效应低于1，而整群抽样往往使其高于1<sup>[6](https://ccsg.isr.umich.edu/chapters/sample-design/appendix-c/)</sup> |
| 量化增益 | 在一个两层比例估计问题中，适当的分配可使分层估计量的方差相对于未分层估计量最多降低30%<sup>[7](https://arxiv.org/abs/1903.09935)</sup> |
| 实际应用 | 当前人口调查是一项基于分层两阶段方案的概率抽样，每月覆盖约60,000个合格住房单元<sup>[8](https://www.bls.gov/cps/methods/sample_redesign_2025.htm)</sup> |

## 目的及其与其他设计的区别

分层服务于两个不同的目标。第一个是效率：通过划分样本空间使得能够被抽中的极端样本更少，并通过形成变异系数更小的同质组，在给定样本量下降低估计量的方差。<sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup> 第二个是子群的覆盖：由于在每一层内都抽取样本，每个组都保证会出现，而同规模的简单随机抽样则不能保证这一点。<sup>[10](https://www.statslearn.org/guides/simple-random-vs-stratified-sampling)</sup>

与整群抽样的对比则方向相反。分层设计伸及其所有组，而整群抽样只选择部分整群；城市街区和学校等真实的群彼此之间通常存在差异，因此 \( n \) 个人的整群样本通常比 \( n \) 个人的简单随机样本具有更大的变异性。<sup>[11](https://www.statslearn.org/compare/cluster-vs-stratified-sampling)</sup> 设计效应定义为复杂设计下的抽样方差与同规模简单随机样本方差之比，它同时捕捉了这两种倾向：整群抽样使其增大，分层抽样使其减小。<sup>[6](https://ccsg.isr.umich.edu/chapters/sample-design/appendix-c/)</sup> 当一项研究有严格的精度要求且预算允许时，简单随机抽样或分层抽样能以比整群抽样更小的总样本量达到该精度。<sup>[12](https://casrai.org/guides/cluster-sampling)</sup>

## 样本在各层间的分配

一旦层确定下来，用于估计总量的霍维茨—汤普森估计量的方差就只取决于各层的样本量 \( n_h \)，因此分配是设计者控制精度的杠杆。<sup>[2](https://www150.statcan.gc.ca/n1/pub/12-001-x/2015002/article/14249/02-eng.htm)</sup> 四种分配方案被普遍使用：比例分配、等量分配、最优分配或称内曼分配，以及幂分配或称班基尔分配。<sup>[4](https://ec.europa.eu/eurostat/documents/3859598/13985433/KS-GQ-21-016-EN-N.pdf/e9410e2b-eba1-7a09-554b-dff3ac1df6bf?t=1639751446385)</sup>

**比例分配**取 \( n_h = n \cdot N_h / N \)，在整个总体中保持恒定的抽样比。它忽略了各层之间变异性的差异，并非方差最小化的选择，但它是一种自加权设计：每个被抽中的单元都带有相同的权重 \( N/n \)，与不放回的简单随机抽样完全一样。<sup>[5](https://online.stat.psu.edu/stat506/Lesson06)</sup><sup> • </sup><sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup>

**等量分配**从每一层抽取相同数量的元素。当所有层中关注统计量的分布实际上相同时，它给出最高的精度。<sup>[6](https://ccsg.isr.umich.edu/chapters/sample-design/appendix-c/)</sup>

**内曼分配**在固定总样本量下最小化分层均值的方差。当各层单位成本相等时，最优分配为

\[ n_h = \frac{n \cdot N_h \sigma_h}{\sum_{k=1}^{L} N_k \sigma_k} \]

它将更多的样本分配给规模更大或变异性更高的层。当成本不同且总成本为 \( c = c_0 + c_1 n_1 + \dots + c_L n_L \) 时，最优分配变为

\[ n_h = \frac{(c - c_0)\, N_h \sigma_h / \sqrt{c_h}}{\sum_{k=1}^{L} N_k \sigma_k \sqrt{c_k}} \]

从而减少调查成本更高的层的样本量。<sup>[5](https://online.stat.psu.edu/stat506/Lesson06)</sup><sup> • </sup><sup>[13](https://www.finley-lab.com/ifdar/strat)</sup> 如果所有层的方差几乎相同，内曼分配就与比例分配重合。<sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup>

内曼分配有一个已知的局限：它针对特定变量，因此对某个研究变量而言最优的分配，对另一个变量可能远非最优。<sup>[14](https://bookdown.org/osierguillaume/mybook/stratification.html)</sup> 它还往往产生准确的总体估计，但子总体估计较差；班基尔的幂分配是平衡两者的方法之一，内曼分配是其特例。<sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup> 对于多目的调查，最优分配问题通常通过建立线性方差约束并使用凸规划来最小化调查成本而求解。<sup>[15](https://www.istat.it/en/files/2016/10/Sample-Allocation-in-Multivariate-Surveys.pdf)</sup>

**最小规模。** 不建议每层最少一个单元，因为每当分配达到该最小值时，就不得不采用近似的方差估计方法；最少两个是通常的基线，而在实践中为了应对无应答造成的样本损失，采用更大的最小值是明智的。<sup>[2](https://www150.statcan.gc.ca/n1/pub/12-001-x/2015002/article/14249/02-eng.htm)</sup>

## 起源

现代理论可追溯至耶日·内曼1934年的论文《论代表性方法的两个不同方面：分层抽样方法与目的性选择方法》，发表于*皇家统计学会杂志*第97卷第4期第558–606页。<sup>[3](https://onlinelibrary.wiley.com/doi/10.1111/j.2397-2335.1934.tb04184.x)</sup> 后来的文献记载，具有多个研究目标的调查中的最优样本分配问题，最早由内曼在那篇论文中讨论，他在其中发展了单变量最优分配问题的理论。<sup>[15](https://www.istat.it/en/files/2016/10/Sample-Allocation-in-Multivariate-Surveys.pdf)</sup>

## 分层能带来多少精度

增益的大小取决于各层对研究变量的分离程度。最优分配理论表明，最优的各层样本量取决于各层单元的相对数量、各层的单位成本以及 \( y \) 值的方差；只要层内平均变异小于有限总体方差，比例分配的分层简单随机样本就优于采用单位均值估计的单一简单随机样本。<sup>[16](https://academic.oup.com/book/43702/chapter-abstract/367153413)</sup> 在良好的分层选择下，内曼或最优分配下的分层简单随机样本的设计效应往往远小于1。<sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup> 在一个两层比例估计的实例问题中，适当的分配使分层估计量的方差相对于标准未分层估计量最多降低了30%。<sup>[7](https://arxiv.org/abs/1903.09935)</sup> 最优分配通常比同规模的比例分配产生更精确的估计，尽管从比例分配转向最优分配的进一步增益通常小于从简单随机抽样转向分层抽样的初始增益。<sup>[17](https://www.sciencedirect.com/topics/computer-science/optimal-allocation)</sup>

反过来，分层也可能有害：如果层间变异小于层内变异，比例分配的分层估计量的方差可能超过简单随机样本的方差。<sup>[9](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)</sup>

## 大型官方调查中的分层

大型政府调查在多阶段设计中将分层与整群抽样结合起来。当前人口调查是美国每月进行的家庭劳动力调查，是一项基于分层两阶段方案的概率抽样：先抽取初级抽样单元（县或相邻县的组合），然后再抽取其中的住房单元。在其基于州的设计下，所有初级抽样单元和层都在州界内定义，因此样本能够支持州级和全国估计。在第一阶段，自代表初级抽样单元（通常是人口最多的县）以确定性方式抽取，而非自代表初级抽样单元在每个州内被归入各层，每层按与其2020年人口普查人口成比例的概率抽取一个初级抽样单元。基于2020年的重新设计于2025年4月开始分阶段纳入调查，并计划于2026年7月完成；该调查每月覆盖约60,000个合格住房单元，其中包括约10,000个单位的补充样本，用于州级儿童医疗保险覆盖估计。<sup>[8](https://www.bls.gov/cps/methods/sample_redesign_2025.htm)</sup>

分层变量的选择服务于调查的目标。在当前人口调查中，用于对初级抽样单元分层的变量反映了最大化劳动力估计可靠性的目标，借鉴了2020年人口普查和美国社区调查中大多数州的失业、劳动力、儿童贫困以及美洲印第安人/阿拉斯加原住民人数的指标。<sup>[8](https://www.bls.gov/cps/methods/sample_redesign_2025.htm)</sup> 学校与教职员调查首先按类型对学校分层，自动纳入所有印第安教育局学校，并单独识别美洲印第安学生占19.5%或以上的学校、特许学校，以及要求样本中每个学区至少有一所学校的州中的学校。<sup>[18](https://nces.ed.gov/statprog/handbook/sass_surveydesign.asp)</sup>

分层也被有意用于触及调查通常遗漏的群体。弗吉尼亚大学库珀中心测试了一种它称为“应答率调整分层抽样选择”的设计，该设计利用美国社区调查的自应答分数按家庭应答倾向对地址分层，并向低应答地区邮寄更多调查问卷；在雷斯顿社区调查的比较中，该设计在三种测试设计中产生了加权后最高的有效样本量。<sup>[19](https://www.coopercenter.org/research/stratified-sampling)</sup>

## 相关实践

两种相邻的技术常与分层一并讨论。事后分层加权在数据收集之后施加权重，使样本人口统计特征与目标总体相匹配；例如，谷歌调查采用事后分层加权来匹配成年互联网用户的人口统计特征，在某些市场则完全不加分层抽样而直接施加权重。<sup>[20](https://support.google.com/consumersurveys/answer/6189786?hl=en)</sup> 隐式分层在系统抽取之前按与研究结果相关的变量对抽样框排序，这是调查方法学文献中与使用现代软件显式构建层并列提到的一种实践实现选项。<sup>[21](https://onlinelibrary.wiley.com/doi/full/10.1002/9781118445112.stat05999.pub2)</sup>

## References

1. [U.S. Census Bureau, Statistical Quality Standards (glossary definition of stratified sampling)](https://www.census.gov/content/dam/Census/about/about-the-bureau/policies_and_notices/quality/statistical-quality-standards/Quality_Standards.pdf)
2. [Hugo, B. et al. (2015). Stratified sampling and the optimal allocation problem. Survey Methodology, Statistics Canada.](https://www150.statcan.gc.ca/n1/pub/12-001-x/2015002/article/14249/02-eng.htm)
3. [Neyman, J. (1934). On the Two Different Aspects of the Representative Method. Journal of the Royal Statistical Society, 97(4), 558–606.](https://onlinelibrary.wiley.com/doi/10.1111/j.2397-2335.1934.tb04184.x)
4. [Eurostat (2021). Methodological manual on European Structural Business Statistics.](https://ec.europa.eu/eurostat/documents/3859598/13985433/KS-GQ-21-016-EN-N.pdf/e9410e2b-eba1-7a09-554b-dff3ac1df6bf?t=1639751446385)
5. [STAT 506: Sampling Theory and Methods, Lesson 6, Part A: Stratified Sampling. Penn State Eberly College of Science.](https://online.stat.psu.edu/stat506/Lesson06)
6. [CCSG Sample Design, Appendix C. University of Michigan Institute for Social Research.](https://ccsg.isr.umich.edu/chapters/sample-design/appendix-c/)
7. [Wywiad, C. and colleagues (2019). Cost Issue in Estimation of Proportion in a Finite Population Divided Among Two Strata. arXiv:1903.09935.](https://arxiv.org/abs/1903.09935)
8. [U.S. Bureau of Labor Statistics (2025). Redesign of the Sample for the Current Population Survey.](https://www.bls.gov/cps/methods/sample_redesign_2025.htm)
9. [Arnold, R. STAT392: Sample Surveys, Chapter 8: Stratified Sampling. Victoria University of Wellington.](https://homepages.ecs.vuw.ac.nz/~rarnold/STAT392/SampleSurveysBook/_book/stratified-sampling.html)
10. [StatsLearn. Simple random vs stratified vs cluster sampling.](https://www.statslearn.org/guides/simple-random-vs-stratified-sampling)
11. [StatsLearn. Cluster vs stratified sampling: the difference.](https://www.statslearn.org/compare/cluster-vs-stratified-sampling)
12. [CASRAI. Cluster Sampling: Definition & Design Effect.](https://casrai.org/guides/cluster-sampling)
13. [Finley, A. Chapter 15: Stratified sampling, Introduction to Forestry Data Analysis with R.](https://www.finley-lab.com/ifdar/strat)
14. [Osier, G. Chapter 3: Stratification, Survey data in the field of economy and finance.](https://bookdown.org/osierguillaume/mybook/stratification.html)
15. [Bethel, J. (1989). Sample Allocation in Multivariate Surveys. Survey Methodology, Statistics Canada / ISTAT archive.](https://www.istat.it/en/files/2016/10/Sample-Allocation-in-Multivariate-Surveys.pdf)
16. [Stratified sampling, in Sampling Theory: For the Ecological and Natural Resource Sciences. Oxford Academic.](https://academic.oup.com/book/43702/chapter-abstract/367153413)
17. [Optimal Allocation, ScienceDirect Topics overview.](https://www.sciencedirect.com/topics/computer-science/optimal-allocation)
18. [NCES Handbook of Survey Methods, School and Staffing Survey (SASS).](https://nces.ed.gov/statprog/handbook/sass_surveydesign.asp)
19. [Weldon Cooper Center, University of Virginia (2025). Sampling the Hard-to-Reach: Examining the Efficacy of Response-Rate Adjusted Stratified Sampling Selection.](https://www.coopercenter.org/research/stratified-sampling)
20. [Google Surveys Help. Methodology.](https://support.google.com/consumersurveys/answer/6189786?hl=en)
21. [Parsons, V.L. (2017). Stratified Sampling. Wiley StatsRef: Statistics Reference Online.](https://onlinelibrary.wiley.com/doi/full/10.1002/9781118445112.stat05999.pub2)]

---
*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 › Sampling design and survey methodology › Sampling designs and estimators › Stratified sampling

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/stratified-sampling

English original: https://www.edgepedia.org/stratified-sampling
