Tutorials › Introduction to Statistics › Randomized Block Designs

Observational Studies and Experiments · Tutorial 64 of 996

Randomized Block Designs

Learn when and how to block experimental units so treatment comparisons account for a known source of variation.

Beginner 10 min read

What You'll Learn

  • Define a randomized block design and distinguish blocks from treatments.
  • Choose a useful blocking variable measured before treatment assignment.
  • Allocate treatments randomly within every block.
  • Check whether the design allows fair comparisons of all treatments.
  • Explain how within-block comparisons account for differences between blocks.
  • Recognize when a blocking plan is unbalanced or poorly chosen.

Why Group Units Before Random Assignment?

Suppose an agricultural researcher wants to compare two fertilizers using seedlings. Seedlings that are already larger may grow more, regardless of which fertilizer they receive. If the researcher assigns all seedlings to treatments completely at random, the larger seedlings could, by chance, be unevenly distributed between the two groups. Random assignment protects the comparison from systematic selection, but it does not guarantee that every chance imbalance will be small.

A randomized block design addresses a known source of variation by first grouping experimental units that are similar in a relevant way, then randomly assigning treatments within each group. For the seedling study, initial size could define the groups. The researcher still uses random assignment, but comparisons can now be made among seedlings that began in similar size ranges.

Definition: A randomized block design is an experiment in which experimental units are first divided into groups called blocks, based on a characteristic expected to affect the response. Treatments are then randomly assigned to units within each block. Ideally, every treatment is represented in every block.

The block characteristic is not itself the treatment. It is a feature of the units, such as initial size, production shift, or baseline severity, that is known before treatment assignment and is expected to influence the outcome. A block should contain units similar to one another with respect to that characteristic. Random assignment within blocks determines which units receive which treatments.

Planning a Randomized Block Design

A useful design starts by stating the experimental question, naming the units that will receive treatments, and identifying the response to be measured. Then the researcher chooses a relevant blocking variable. That variable should be measured before treatments begin and should plausibly explain variation in the response. Blocking by an irrelevant characteristic adds complexity without addressing the source of variability that matters.

After forming the blocks, the researcher decides how many units in each block will receive each treatment. Random assignment must take place separately within each block. The assignment process might use a random-number generator or a lottery; the particular method matters less than using a genuine random mechanism and following it as planned.

1
Identify the units and treatments.
Specify what receives a treatment and list the treatment conditions to compare.
2
Choose a blocking variable.
Use a pre-treatment characteristic that is expected to affect the response and can be used to form groups of similar units.
3
Form the blocks.
Place each unit in the appropriate block using the planned categories or grouping rule.
4
Assign treatments randomly within blocks.
Use random assignment in each block, with the planned number of units receiving each treatment.
5
Measure the response consistently.
Apply the same measurement procedure across treatment groups and blocks.

A valid plan needs enough units in each block to assign the treatments being compared. If a block contains no units assigned to one of the treatments, it cannot contribute a within-block comparison for that treatment. The design also relies on units receiving their assigned treatments as planned and on the response being measured consistently. Random assignment supports a causal comparison of the treatments for the experimental units, while the blocking variable helps organize that comparison.

Worked Example: Blocking Seedlings by Initial Size

A researcher will compare Fertilizer A with Fertilizer B using 24 seedlings. Before treatment, seedlings are measured and sorted into four initial-size blocks of six seedlings each. The researcher wants equal numbers of seedlings to receive each fertilizer within every block.

Units and treatment allocation. The units are the 24 seedlings, and the treatments are Fertilizer A and Fertilizer B. Each block has 6 units and 2 treatments, so the number assigned to each treatment in each block is:

$$ \frac{6\ \text{seedlings}}{2\ \text{treatments}}=3\ \text{seedlings per treatment} $$

The researcher randomly selects 3 of the 6 seedlings in Block 1 for Fertilizer A; the other 3 receive Fertilizer B. The same random procedure is carried out separately in each of the other three blocks. This gives 12 seedlings per fertilizer overall because:

$$ 4\ \text{blocks}\times 3\ \text{seedlings per treatment per block} =12\ \text{seedlings per treatment}. $$

The crucial feature is that every fertilizer is represented among seedlings of each initial-size group. The researcher has not assigned one fertilizer to small seedlings and the other to large seedlings. That kind of assignment would make fertilizer and initial size difficult to separate.

What Blocking Accomplishes

Blocking makes the treatment comparison within groups of units that are similar on the chosen characteristic. If that characteristic strongly affects the response, comparisons within blocks can be less affected by variation between those groups. The design does not remove all variability: units in the same block can still differ, and other sources of response variation remain.

The basic logic can be shown with a simple model for two treatments. Suppose the response for unit \(i\) in block \(j\), receiving treatment \(t\), can be written as a common level, a block contribution, a treatment contribution, and random error:

$$ Y_{ijt}=\mu+\beta_j+\tau_t+\varepsilon_{ijt}. $$

Here, \(\mu\) is a common level, \(\beta_j\) is the contribution associated with block \(j\), \(\tau_t\) is the contribution associated with treatment \(t\), and \(\varepsilon_{ijt}\) is the remaining unit-level variation. To see the benefit, compare the average response under Treatment A with the average under Treatment B within the same block. If there are \(r\) units per treatment in that block, the difference is:

$$ \bar{Y}_{A,j}-\bar{Y}_{B,j} = (\mu+\beta_j+\tau_A+\bar{\varepsilon}_{A,j}) - (\mu+\beta_j+\tau_B+\bar{\varepsilon}_{B,j}) = \tau_A-\tau_B+\bar{\varepsilon}_{A,j}-\bar{\varepsilon}_{B,j}. $$

The block contribution \(\beta_j\) cancels because both treatments are compared within the same block. This cancellation is the central reason to block on a characteristic that creates differences between groups. The algebra assumes that the treatment contribution is the same across blocks, as in the model above. In real applications, treatment effects may differ by block; blocking is not a guarantee that every treatment effect is identical across all kinds of units.

If the remaining errors are independent, have mean zero, and have variance \(\sigma^2\), then the error in each treatment average for one block has variance \(\sigma^2/r\). The two treatment groups contain different units, so their errors are independent; consequently, the variance of the within-block difference is:

$$ \operatorname{Var}(\bar{\varepsilon}_{A,j}-\bar{\varepsilon}_{B,j}) = \frac{\sigma^2}{r}+\frac{\sigma^2}{r} = \frac{2\sigma^2}{r}. $$

This calculation is not a guarantee that a particular blocked experiment will be more precise. It shows why, under the stated model, a shared block contribution does not add variation to the within-block treatment contrast. Blocking is most useful when the chosen characteristic predicts response differences between blocks and units can still be randomly assigned to each treatment within them.

Worked Example: Blocking Components by Production Shift

A factory will compare three surface coatings on 36 components. Earlier process knowledge suggests that production shift affects the components’ surface quality. The factory plans to use shift as the blocking variable, with 12 components from each of three shifts. Within each shift, the three coatings will receive equal numbers of components.

Each block has 12 components and 3 treatments, so the planned allocation per coating in each shift is:

$$ \frac{12\ \text{components}}{3\ \text{coatings}} =4\ \text{components per coating per shift}. $$

Across all shifts, each coating receives:

$$ 3\ \text{shifts}\times 4\ \text{components per coating per shift} =12\ \text{components}. $$

Within each shift, the researcher randomly assigns 4 of its 12 components to each coating. For example, a random draw might assign components numbered 2, 5, 8, and 11 in Shift 1 to Coating A, with random assignment of the remaining components to Coatings B and C. The draw is repeated for the other shifts, rather than assigning treatments according to component number or time of arrival.

Because all three coatings appear in every shift, each coating can be compared with the others among components made under the same shift conditions. If one coating were used only on the morning shift and another only on the evening shift, an observed difference could reflect either coating or shift. The blocked assignment avoids that systematic overlap.

Interpreting Results Across Blocks

After the experiment, a treatment comparison should respect the design. One simple approach is to calculate a treatment difference within every block, then combine those differences using weights that reflect the intended comparison. If blocks have equal sizes and equal allocations, an unweighted average of block differences may be appropriate for an average across blocks. If block sizes or allocations differ, the weighting needs to be chosen deliberately; a simple average of block averages may not represent the intended average effect across all units.

For example, in a two-treatment study, let \(d_j\) be the mean response for Treatment A minus the mean response for Treatment B in block \(j\). With three equally sized blocks, an equally weighted summary is:

$$ \bar{d}=\frac{d_1+d_2+d_3}{3}. $$

Worked Example: Summarizing Equal-Sized Blocks

A hypothetical trial randomly assigns equal numbers of participants to a new program or a comparison program within each of three baseline-severity blocks. The response is the reduction in a symptom score, measured in points; a larger reduction is better. After the trial, the mean reductions are 4 points for the new program and 2 points for the comparison program in the low-severity block, 5 and 3 points in the medium-severity block, and 6 and 4 points in the high-severity block.

The within-block differences, defined as new program minus comparison program, are:

$$ d_{\text{low}}=4-2=2\ \text{points},\qquad d_{\text{medium}}=5-3=2\ \text{points},\qquad d_{\text{high}}=6-4=2\ \text{points}. $$

Since the three blocks are equally sized and have equal treatment allocation, the equally weighted average difference is:

$$ \bar{d}=\frac{2+2+2}{3}=2\ \text{points}. $$

In this hypothetical result, the new program’s mean symptom-score reduction is 2 points greater than the comparison program’s within each baseline-severity block, and the equally weighted average difference is also 2 points. Because treatment was randomly assigned within the blocks, this comparison can support a causal conclusion about the assigned programs for the experimental participants, subject to the conduct and measurement of the experiment. It does not, by itself, show that the same effect will occur in every population.

Choosing Blocks Carefully

A useful blocking variable has two features: it is available before treatment assignment, and it is expected to predict the response. The aim is to group similar units with respect to a known source of outcome variation, not to create as many groups as possible. Too many narrow blocks can leave too few units in each one to assign treatments reliably.

The design must also be practical. A blocking variable should be measured consistently, and the categories should be defined before outcomes are observed. If units cannot be assigned to all treatment conditions within a block, the researcher should reconsider the grouping plan or the available treatments. A well-designed block is not a substitute for random assignment: the units still need random treatment allocation within each block.

Blocking also differs from controlling a variable by giving a treatment to one group and withholding it from another. That would risk making treatment assignment depend systematically on the blocking characteristic. In a randomized block design, the characteristic organizes random assignment; it does not determine which treatment a unit receives.

Common Mistake

  • Wrong reasoning: “The smaller seedlings should get Fertilizer A and the larger seedlings should get Fertilizer B, because that balances the groups.” This is not random assignment within blocks. Treatment and initial size become linked, so an outcome difference may reflect either factor.
  • Correction: Form size blocks first, then use random assignment within each block so every fertilizer is represented among small and large seedlings. Blocking handles the known size differences while random assignment protects the treatment comparison.
Key takeaway: A randomized block design groups similar experimental units using a relevant pre-treatment characteristic, then randomly assigns treatments within each group. Its main advantage is that treatment comparisons can be made within blocks, accounting for a known source of variation without replacing random assignment.

Check Your Understanding

Use these questions to check whether you can plan and interpret a randomized block design.

  1. A study compares two training methods using 40 workers. Previous experience is expected to affect task performance. How could the researcher use experience to form blocks and assign treatments?
  2. A block contains 15 units and the experiment has three treatments. If allocation is equal, how many units in that block receive each treatment?
  3. Why should the treatments be represented within every block when the goal is to compare those treatments while accounting for block differences?
  4. What is wrong with assigning one coating to the morning shift and another coating to the evening shift when shift is expected to affect the response?
  5. In the simple additive model, why does the block contribution cancel when two treatment means are compared within the same block?