Blocking vs stratifying: experiments vs sampling
By Jude Wallis · Published
Blocking is an experiment technique: group similar units into blocks, then randomly assign treatments within each block. Stratifying is a sampling technique: split the population into similar strata, then take a random sample within each. Same grouping idea, opposite settings.
AP Statistics: Unit 1 (topics 1.11, 1.13). In the Fall 2026 AP Statistics course, stratified random sampling is topic 1.11 (random sampling) and blocking, including the randomized block and matched pairs designs, is topic 1.13 (experimental design), both in Unit 1. The exam expects you to identify the method from a description and tell an experiment technique from a sampling technique.
Blocking vs stratifying: the short answer
Both start the same way, by dividing units into groups that are internally similar, and that shared start is exactly why students confuse them. The difference is where each one lives and what happens after the split.
Blocking belongs to experiments. You form blocks of similar units, then randomly assign the treatments within each block, so every treatment appears in every block. Stratifying belongs to sampling. You form strata of similar individuals, then take a simple random sample within each stratum and combine them into one sample.
A one-line test settles most cases. If treatments are being handed out, you are blocking in an experiment; if respondents are being selected, you are stratifying in a sample. Assign versus select is the whole distinction.
What blocking is
Blocking is part of experimental design. A blocking variable is a source of extraneous variation in the response, such as age, soil type, or baseline severity. In a randomized block design, you first group the experimental units by similar values of that variable into blocks, so units within a block are alike with respect to it. Then, inside each block, you randomly assign the treatments so that every treatment occurs within every block.
The purpose is precision. Blocking separates the variation in the response caused by the blocking variable from the rest of the extraneous variation, which lets you compare treatments without that nuisance variable getting in the way. Within a block, the units start out similar, so a difference in their responses points more cleanly at the treatment.
A matched pairs design is the smallest case: a randomized block design with only two treatments. Units are matched into pairs, and within each pair the two treatments are randomly assigned, one to each member; alternatively a single unit receives both treatments with the order randomized. Blocking never removes the need for random assignment; it organizes the units first, then randomizes inside each group.
What stratifying is
Stratifying is part of sampling. A stratified random sample divides all individuals in the population into non-overlapping groups, called strata, based on one or more shared attributes, so each stratum is homogeneous. Within each stratum you take a simple random sample, then combine the selected individuals into one overall sample.
The purpose is representation and, often, a more precise estimate. Because every stratum is forced to appear, stratifying guarantees that each group shows up in the sample, and when the strata really are internally similar the estimate tends to vary less than a simple random sample of the same total size. No treatment is involved; you are only choosing who gets measured.
Stratifying sits alongside the other sampling methods, cluster and systematic, covered in simple random vs stratified sampling. The through-line is that stratifying decides which individuals enter an observational study or survey, never what is done to them.
The differences side by side
| Feature | Blocking | Stratifying |
|---|---|---|
| Setting | Experiment | Sample or survey |
| What you do to the group | Randomly assign treatments within it | Take a simple random sample within it |
| Groups are called | Blocks | Strata |
| Groups are built to be | Homogeneous on an extraneous variable | Homogeneous on a shared attribute |
| Purpose | More precise treatment comparisons | Guaranteed representation, less variable estimate |
| Kind of randomness | Random assignment | Random selection |
Read the setting row first. Everything else follows from whether you are running an experiment (blocking) or drawing a sample (stratifying).
When to use which
Block when you are running an experiment and you know an extraneous variable is likely to affect the response. Grouping units by that variable first, then randomizing treatments inside each block, keeps its influence from muddying the treatment comparison and gives you more precise results. Age in a drug trial or field position in an agriculture trial are natural blocking variables.
Stratify when you are drawing a sample and you want every subgroup represented, or you expect the subgroups to differ on what you are measuring. Splitting the population into strata and sampling within each guarantees coverage and can tighten the estimate. Income band in an opinion poll or grade level in a school survey are natural strata. The guiding slogan is block in experiments, stratify in samples: same tactic of grouping similar units, matched to the design you are actually running.
The classic mix-up and how to avoid it
The mix-up is using one word for the other, because both create homogeneous groups. The fix is to look at what happens after the grouping. If treatments are randomly assigned within the groups, the study is an experiment and the groups are blocks. If a random sample is drawn within the groups and nothing is done to anyone, the study is a sample and the groups are strata.
A second cue is the goal. Blocking aims to reduce extraneous variation so treatment effects stand out; stratifying aims to represent every subgroup and lower the variability of an estimate. Ask assign or select, and experiment or sample, and the right term follows every time. Both also differ from clustering, where you sample a few whole groups instead of sampling within every group, a contrast drawn out in simple random vs stratified sampling.
Blocking a drug trial, and how the same variable would be stratified
A trial tests three doses of a drug on 90 patients, and age is expected to affect the response. Design a randomized block design using three age blocks of equal size, and count how many patients receive each dose. Then say how age would be handled if this were a survey instead.
Form the blocks. Split the 90 patients into three age blocks of equal size: patients per block (say younger, middle, older).
Randomize within each block. Inside a block of 30, randomly assign the three doses so each dose goes to an equal share: patients per dose within that block.
Confirm every treatment appears in every block: each of the 3 blocks has patients, one group of 10 per dose, which uses all 30 in the block.
Total per dose across blocks: patients receive each dose, and patients in all, matching the trial size.
See why age no longer clouds the comparison. Because each dose is compared within age-similar blocks, differences in response are not driven by age; that is the precision blocking buys.
Contrast with a survey. If you were instead sampling patient opinions, you would stratify by age: take a simple random sample within each age stratum and combine them. You would select respondents, not assign doses, and nothing would be done to anyone.
In the randomized block design, each of the three age blocks holds 30 patients, randomly split into 10 per dose, so every dose is given to 30 patients in all and compared within age-similar blocks. In a survey the same age variable would instead define strata, and you would draw a random sample within each age group rather than assign any treatment.
Frequently asked questions
Is blocking the same as stratifying?
No. They share the idea of grouping similar units, but blocking is done in an experiment and is followed by randomly assigning treatments within each block, while stratifying is done in a sample and is followed by taking a random sample within each stratum. Assigning treatments versus selecting respondents is the difference.
Why do we block in an experiment?
Blocking separates the variation in the response caused by a known extraneous variable from the rest, so treatments can be compared without that variable getting in the way. Units within a block are similar, which makes the comparison of treatments across the block more precise.
Is a matched pairs design a kind of blocking?
Yes. A matched pairs design is a randomized block design with only two treatments. Units are matched into pairs on an extraneous variable, and within each pair the two treatments are randomly assigned, one to each member; alternatively a single unit receives both treatments with the order randomized.