# 随机区组设计

随机区组设计是统计学中的一种实验设计，它将实验单元按相似性分成若干区组，在每个区组内对处理进行随机化，从而在估计处理效应的同时，将区组间变异从实验误差中剔除。完全随机设计将所有处理随机分配到全部单元，因此单元的异质性会膨胀误差方差；区组化则是一种设计阶段的控制手段，在处理分配之前吸收这种异质性，随后随机化仅在区组内进行。<sup>[1](https://people.math.ethz.ch/~meier/teaching/anova/block-designs.html)</sup><sup> • </sup><sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> 随机完全区组设计（RCBD）大概是最常见的、以双因素方差分析来分析的设计，配对样本实验是它最简单的情形，其中每一对即为一个区组。<sup>[3](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)</sup>

| 要点 | 数值 |
|---|---|
| 统计模型 | \( Y_{ij} = \mu + \tau_i + \beta_j + \varepsilon_{ij} \)，误差独立且方差恒定<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> |
| 随机化 | 限制性：在每个区组内单独将处理随机分配给各单元<sup>[1](https://people.math.ethz.ch/~meier/teaching/anova/block-designs.html)</sup> |
| 方差分析分解 | \( SS_T = SS_{\mathrm{Treatments}} + SS_{\mathrm{Blocks}} + SS_E \)<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> |
| 误差自由度 | 对于 \( n \) 个区组和 \( r \) 个处理、每格一个观测的情形，为 \( (n-1)(r-1) \)<sup>[4](https://www.bookdown.org/mike/data_analysis/sec-randomized-block-designs.html)</sup> |
| 相对完全随机设计的相对效率 | 在一个实例中约为1.48，意味着完全随机设计需要多48%的样本才能获得同等信息量<sup>[5](https://nasyring.github.io/Applied-Linear-Models/randomized-complete-block-design.html)</sup>；在一个甜菜示例中为111.8%<sup>[3](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)</sup> |
| 平衡不完全区组设计的 concurrence | \( \lambda = r \cdot (k-1)/(v-1) \)，即每对处理共同出现的次数<sup>[6](https://www.intechopen.com/chapters/1145381)</sup> |

## 工作原理

区组化是一种方差缩减技术。使用区组时，总平方和分解为 \( SS_{T} = SS_{E} + SS_{Bl} + SS_{Tr} \)，区组平方和吸收了原本会落入误差项的变异，从而减小 \( SSE \) 并增大处理的F比，代价是损失误差自由度。<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> 处理统计量为 \( F = MST/MSE \)，在原假设下参照F分布。<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> 费希尔（Fisher）将随机化视为结论有效性所必需的一条公设，而非最大化信息量的结果。<sup>[7](https://digital.library.adelaide.edu.au/dspace/bitstream/2440/15254/1/212.pdf)</sup>

区组化带来多少好处是可以度量的。组内相关系数 \( \mathrm{ICC} = \sigma_b^2/(\sigma_b^2 + \sigma_e^2) \) 量化了区组所致方差所占的份额，并与RCBD相对于CRD的相对效率直接相关。<sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup> 相对效率通过均方之反比并加以自由度校正来比较两种设计：\( RE = \frac{df_{MSE,RCBD} + 1}{df_{MSE,CRD} + 1}\frac{df_{MSE,CRD} + 3}{df_{MSE,RCBD} + 3}\frac{\hat\sigma^2_{CRD}}{\hat\sigma^2_{RCBD}} \)。<sup>[5](https://nasyring.github.io/Applied-Linear-Models/randomized-complete-block-design.html)</sup> CRD的误差方差可以从RCBD自身的分析中估计：\( MSE_{B} = [SS_{BA} + SS_{EA} + (k-1)MS_{EA}]/(kr-1) \)。<sup>[3](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)</sup> 就检验功效而言，RCBD的非中心参数为 \( \lambda_R = n \cdot \sum_i \alpha_i^2/\sigma_e^2 \)，而CRD的为 \( \lambda_C = n \cdot \sum_i \alpha_i^2/(\sigma_b^2 + \sigma_e^2) \)；RCBD损失了 \( b-1 \) 个自由度，但通常被更小的残差方差所补偿而有余。<sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup> 对于 \( k \) 个处理和 \( b \) 个区组，区组与处理的交互作用有 \( (k-1)(b-1) \) 个自由度，因此样本量以区组为单位来衡量。<sup>[9](https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/PASS/Randomized_Block_Analysis_of_Variance.pdf)</sup> 如果区组之间确实没有差异，CRD可能更有功效：当 \( t = 3 \) 且 \( r = 4 \) 时，\( MSE_{CRD} = SS_{E}/9 \)，而 \( MSE_{RCBD} = SS_{E}/6 \)。<sup>[10](https://www.unh.edu/halelab/ANFS933/Readings/Topic6_Reading.pdf)</sup>

## 如何实施

区组化变量分为两类：实验单元的特征，如性别、年龄或收入；以及与实验相关的变量，如观察者或所用仪器。<sup>[11](https://people.stat.sc.edu/hansont/stat705/Design1.pdf)</sup> 选择区组因子，一般是因为预期它们能解释结果的变异；基本的可加性分析则假定区组效应对所有处理相同，不存在重要的区组与处理交互作用，这就排除了按所测响应来对单元分组。<sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup> 常见的动机是单元异质性和时间限制，在后一种情形下，区组取时间单位的形式，如一天。<sup>[12](https://math.montana.edu/jobo/st541/sec3a.pdf)</sup> 在田间试验中，土地被划分为等大的区组，再细分为与处理数相同的若干小区，区组走向与已知的梯度垂直，使每个区组内的土壤相对均匀。<sup>[3](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)</sup><sup> • </sup><sup>[10](https://www.unh.edu/halelab/ANFS933/Readings/Topic6_Reading.pdf)</sup>

随后进行限制性随机化：在每个区组内单独随机化，将处理分配到各单元，这与CRD不同，后者一次随机化覆盖整个实验。<sup>[12](https://math.montana.edu/jobo/st541/sec3a.pdf)</sup><sup> • </sup><sup>[10](https://www.unh.edu/halelab/ANFS933/Readings/Topic6_Reading.pdf)</sup> 分析采用无重复的双因素方差分析，或以区组为随机效应的线性混合模型，因为区组代表的是一个可能区组的总体；对于不完全区组设计，混合模型自动合并区组间与区组内信息。<sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup><sup> • </sup><sup>[13](https://jihongzhang.org/teaching/2025-01-13-Experiment-Design/Lecture08/ESRM64103_Lecture08.html)</sup>

## 起源

1919年，费希尔应站长约翰·拉塞尔（John Russell）爵士之邀加入洛桑实验站（Rothamsted Experimental Station），以评估该站长期田间记录是否适合进行统计检验。<sup>[14](https://repository.rothamsted.ac.uk/id/eprint/20740/2/response.bin)</sup> 第一张公开发表的方差分析表出现在1923年R. A. 费希尔与W. A. 麦肯齐（W. A. Mackenzie）关于不同马铃薯品种对肥料响应的论文中，《农业科学杂志》（Journal of Agricultural Science）于1923年3月20日收到该文。<sup>[15](https://doi.org/10.1017/s0021859600003592)</sup><sup> • </sup><sup>[14](https://repository.rothamsted.ac.uk/id/eprint/20740/2/response.bin)</sup> F. 耶茨（F. Yates）在1936年写道，随机区组和拉丁方最初是费希尔在洛桑担任首席统计师时为农业田间试验而开发的。<sup>[16](https://repository.rothamsted.ac.uk/id/eprint/23644/1/Annals%20of%20Eugenics%20-%20September%201936%20-%20YATES%20-%20INCOMPLETE%20RANDOMIZED%20BLOCKS.pdf)</sup> 费希尔于1926年发表了《田间试验的排列》一文，用约10.5页的篇幅涵盖了重复、随机化和区组化。<sup>[6](https://www.intechopen.com/chapters/1145381)</sup> 方差分析提供了区组分析背后的工具，<sup>[17](https://doi.org/10.2307/2341488)</sup><sup> • </sup><sup>[18](https://www.usablebuildings.co.uk/UsableBuildings/Unprotected/ClassicsFisher1925.pdf)</sup> 而《实验设计》（The Design of Experiments）一书初版于1935年，由前一部书的农业实验章节发展而来，向更广泛的读者介绍了随机区组和拉丁方。<sup>[19](https://doi.org/10.2307/2277749)</sup><sup> • </sup><sup>[20](https://home.iitk.ac.in/%7Eshalab/anova/DOE-RAF.pdf)</sup><sup> • </sup><sup>[7](https://digital.library.adelaide.edu.au/dspace/bitstream/2440/15254/1/212.pdf)</sup>

## 变体

拉丁方同时按两个因子——行与列——进行区组化，在 \( g^2 \) 个单元上安排 \( g \) 个处理；其随机化先置换列、再置换行，然后将处理分配到字母上。当 \( g \) 较小时，误差自由度非常小，导致功效很低。希腊-拉丁方将模型扩展为 \( Y_{ijkl} = \mu + \rho_i + \beta_j + \tau_k + \gamma_l + e_{ijkl} \)。<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup>

当自然区组的大小小于处理数时，实践者采用不完全区组设计，或重新划定一个更大的区组单元。<sup>[21](https://casrai.org/guides/blocking-in-experimental-design)</sup> 耶茨1936年的对称不完全随机区组安排将每区组单元数固定为少于处理数，使每两个处理共同出现的频率相等。<sup>[22](https://doi.org/10.1111/j.1469-1809.1936.tb02134.x)</sup> 一个平衡不完全区组设计（BIBD），有 \( b \) 个大小为 \( k < v \) 的区组，其 concurrence 为 \( \lambda = r \cdot (k-1)/(v-1) \)，处理效应之差的方差为 \( \sigma^{2}(2k/(\lambda \cdot v)) \)。<sup>[6](https://www.intechopen.com/chapters/1145381)</sup> 耶茨1940年的论文探讨了BIBD中区组间信息的回收。<sup>[23](https://doi.org/10.1111/j.1469-1809.1940.tb02257.x)</sup> 尤登方（Youden squares）——将拉丁方结构与不完全区组化相结合的交叉区组设计——在C. A. B. 史密斯（C. A. B. Smith）与H. O. 哈特利（H. O. Hartley）1948年的一篇构造论文中得到了处理。<sup>[24](https://doi.org/10.1111/j.2517-6161.1948.tb00015.x)</sup><sup> • </sup><sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup> 部分平衡设计减少了BIBD可能要求的过多区组数。<sup>[25](https://stat.wvu.edu/~ghobbs/stat313/ch04.pdf)</sup> 格点设计和α设计便于构造与分析——这是台式计算器时代的遗产——并能容纳不等的区组大小；行-列设计则在两个方向上控制变异性。<sup>[26](https://ecommons.cornell.edu/bitstreams/e2c16aa3-0a01-4371-a276-b880d3462d5f/download)</sup><sup> • </sup><sup>[27](https://doi.org/10.1007/978-1-4899-7220-0_5)</sup>

## 应用

在农业这一最初的场景中，土地按肥力梯度划分为等大的区组。在动物研究中，区组可按年龄、体重或窝仔数来划分。<sup>[3](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)</sup> 时间限制产生以天或其他时间单位为单位的区组。<sup>[12](https://math.montana.edu/jobo/st541/sec3a.pdf)</sup> 在临床前神经科学中，不完全区组设计适合笼养密度或窝仔数变化等实际约束，区组化还支持3Rs原则中的“减少”原则。<sup>[28](https://www.eneuro.org/content/13/2/ENEURO.0006-26.2026)</sup> 在调查实验中，一项研究里的区组随机化带来了超过30%的精度提升，且没有样本损失。<sup>[29](https://www.cambridge.org/core/journals/political-analysis/article/balancing-precision-and-retention-in-experimental-design/8CB343707B346A98CB8354ECFC03CB3C)</sup>

## 局限与替代方案

当每区组只有一个处理观测时，区组与处理的交互作用与残差完全混杂，没有区组内重复就无法估计；<sup>[8](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)</sup> 当交互作用存在时，\( E(MSE) = \sigma^2 + \sigma^2_{\rho\tau} \)，两个分量无法分别估计。<sup>[4](https://www.bookdown.org/mike/data_analysis/sec-randomized-block-designs.html)</sup> 图基（Tukey）的非可加性单自由度检验——将观测值对预测值的平方作回归——为可加模型提供了正式检验。<sup>[10](https://www.unh.edu/halelab/ANFS933/Readings/Topic6_Reading.pdf)</sup><sup> • </sup><sup>[11](https://people.stat.sc.edu/hansont/stat705/Design1.pdf)</sup> 如果区组的F比接近1，一般不大于2，那么区组化就是白费力气，还损失了自由度。<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> 错误的区组化相对于CRD会损失 \( b-1 \) 个误差自由度，因此当区组效应存疑时，建议是进行区组化，并赌区组均值确有差异。<sup>[25](https://stat.wvu.edu/~ghobbs/stat313/ch04.pdf)</sup> 在潜在结果框架下，区组化并不保证在所有情形下都能减小方差；如果用于形成区组的协变量与潜在结果独立，区组化不带来方差上的好处，而且一个经过区组化的实验应当按区组化来分析，因为完全随机化的方差估计量对于区组设计未必是保守的。<sup>[30](https://journals.sagepub.com/doi/10.3102/10769986211027240)</sup> 当干扰因子已知、可测且不可控时，协方差分析是替代方案。<sup>[2](https://online.stat.psu.edu/stat503/book/export/html/646)</sup> 随机区组设计与重复测量设计在随机化顺序上不同：处理在每个区组内按随机顺序施加，而重复测量通常按同一顺序随时间施加处理。<sup>[9](https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/PASS/Randomized_Block_Analysis_of_Variance.pdf)</sup>

## References

1. [Complete Block Designs – ANOVA and Mixed Models (ETH Zürich course notes)](https://people.math.ethz.ch/~meier/teaching/anova/block-designs.html)
2. [Lesson 4: Blocking (Penn State STAT 503, Design of Experiments)](https://online.stat.psu.edu/stat503/book/export/html/646)
3. [Chapter 8. Randomized Complete Block Design With and Without Subsamples (textbook chapter)](https://pages.cs.wisc.edu/~songwang/RCBD.pdf)
4. [24.3 Randomized Block Designs | A Guide on Data Analysis](https://www.bookdown.org/mike/data_analysis/sec-randomized-block-designs.html)
5. [Chapter 7 Randomized Complete Block Design | Applied Linear Models](https://nasyring.github.io/Applied-Linear-Models/randomized-complete-block-design.html)
6. [Useful Block Designs in Biostatistics](https://www.intechopen.com/chapters/1145381)
7. [Development of the Theory of Experimental Design (R. A. Fisher, Proceedings of the International Statistical Conferences, 1947/1953)](https://digital.library.adelaide.edu.au/dspace/bitstream/2440/15254/1/212.pdf)
8. [Statistical Design and Analysis of Biological Experiments, Chapter on Blocking](https://n.ethz.ch/~kahans/doe2021/ch-blocking.html)
9. [Randomized Block Analysis of Variance (PASS documentation, NCSS)](https://www.ncss.com/wp-content/themes/ncss/pdf/Procedures/PASS/Randomized_Block_Analysis_of_Variance.pdf)
10. [Topic 6: Randomized Complete Block Designs (RCBD's) (UNH course reading)](https://www.unh.edu/halelab/ANFS933/Readings/Topic6_Reading.pdf)
11. [Stat 705: Completely randomized and complete block designs (University of South Carolina lecture notes, Timothy Hanson)](https://people.stat.sc.edu/hansont/stat705/Design1.pdf)
12. [RANDOMIZED COMPLETE BLOCK DESIGN (RCBD) (Montana State University course notes, Sec 3a)](https://math.montana.edu/jobo/st541/sec3a.pdf)
13. [Lecture 08: Block Design II – Jihong Zhang, Ph.D.](https://jihongzhang.org/teaching/2025-01-13-Experiment-Design/Lecture08/ESRM64103_Lecture08.html)
14. [Introduction to Fisher's 'The Arrangement of Field Experiments' (Rothamsted repository)](https://repository.rothamsted.ac.uk/id/eprint/20740/2/response.bin)
15. [R. A. Fisher, W. A. Mackenzie (1923). Studies in crop variation. II. The manurial response of different potato varieties. The Journal of Agricultural Science.](https://doi.org/10.1017/s0021859600003592)
16. [Incomplete Randomized Blocks (F. Yates, Annals of Eugenics, September 1936)](https://repository.rothamsted.ac.uk/id/eprint/23644/1/Annals%20of%20Eugenics%20-%20September%201936%20-%20YATES%20-%20INCOMPLETE%20RANDOMIZED%20BLOCKS.pdf)
17. [L. I., R. A. Fisher (1926). Statistical Methods for Research Workers.. Journal Of The Royal Statistical Society.](https://doi.org/10.2307/2341488)
18. [Statistical Methods for Research Workers, Ronald A. Fisher (1925), full text](https://www.usablebuildings.co.uk/UsableBuildings/Unprotected/ClassicsFisher1925.pdf)
19. [Harold Hotelling, R. A. Fisher (1935). The Design of Experiments.. Journal of the American Statistical Association.](https://doi.org/10.2307/2277749)
20. [The Design of Experiments, Sir Ronald A. Fisher (first published 1935; Hafner Press reprint)](https://home.iitk.ac.in/%7Eshalab/anova/DOE-RAF.pdf)
21. [Blocking in Experimental Design: RCBD Mechanics and When It Beats Simple Randomization (CASRAI)](https://casrai.org/guides/blocking-in-experimental-design)
22. [F. YATES (1936). INCOMPLETE RANDOMIZED BLOCKS. Annals of Eugenics.](https://doi.org/10.1111/j.1469-1809.1936.tb02134.x)
23. [F. YATES (1940). THE RECOVERY OF INTER‐BLOCK INFORMATION IN BALANCED INCOMPLETE BLOCK DESIGNS. Annals of Eugenics.](https://doi.org/10.1111/j.1469-1809.1940.tb02257.x)
24. [C. A. B. Smith, H. O. Hartley (1948). The Construction of Youden Squares. Journal of the Royal Statistical Society Series B (Statistical Methodology).](https://doi.org/10.1111/j.2517-6161.1948.tb00015.x)
25. [Chapter 4 Supplemental Text Material (Montgomery, Design and Analysis of Experiments)](https://stat.wvu.edu/~ghobbs/stat313/ch04.pdf)
26. [Experiment design notes (Federer, Cornell eCommons)](https://ecommons.cornell.edu/bitstreams/e2c16aa3-0a01-4371-a276-b880d3462d5f/download)
27. [J. A. John, E. R. Williams (1995). Row-column designs. .](https://doi.org/10.1007/978-1-4899-7220-0_5)
28. [Experimental Designs for Preclinical Neuroscience Experiments: Part 2, Blocking and Blocked Designs (eNeuro, 2026)](https://www.eneuro.org/content/13/2/ENEURO.0006-26.2026)
29. [Balancing Precision and Retention in Experimental Design (Political Analysis, Cambridge Core)](https://www.cambridge.org/core/journals/political-analysis/article/balancing-precision-and-retention-in-experimental-design/8CB343707B346A98CB8354ECFC03CB3C)
30. [Block What You Can, Except When You Shouldn't (Pashley, Miratrix et al., Journal of Educational and Behavioral Statistics)](https://journals.sagepub.com/doi/10.3102/10769986211027240)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/randomized-block-design

English original: https://www.edgepedia.org/randomized-block-design
