Experimental Design
The four parts of a well-designed experiment, control groups, placebos and blinding, why random assignment matters, and three designs: completely randomized, randomized block, and matched pairs. Plus what an experiment lets you conclude.
An experiment is built so that the only systematic difference between groups is the treatment. Comparison gives you something to measure against, random assignment makes the groups alike in everything else, replication lets chance differences even out, and direct control removes avoidable differences. When all of that is in place, a clear difference in the response can be blamed on the treatment.
1The four elements of a good experiment
A well-designed experiment includes:
| Element | What it means | Why it matters |
|---|---|---|
| Comparison | At least two treatment groups, one of which could be a control group | Without a comparison, there is no way to tell whether the treatment did anything |
| Random assignment | Chance decides which experimental unit gets which treatment | Makes the groups as similar as possible in everything except the treatment |
| Replication | More than one experimental unit gets each treatment | Lets chance differences between units even out |
| Direct control | Keeping other conditions that could affect the response the same for every unit | Removes avoidable sources of variation |
The nap experiment
Forty student volunteers are randomly assigned, 20 each, to take a 20-minute nap or read a book for 20 minutes in the same quiet room at 2 p.m. Then each takes the same computer reaction-time test. Identify comparison, random assignment, replication, and direct control.
- 1Comparison: two treatment groups, nap and reading. The reading group is the control group.
- 2Random assignment: chance decides which 20 students nap.
- 3Replication: 20 students receive each treatment, not just one.
- 4Direct control: same room, same time of day, same length of time, same reaction-time test for everyone.
Repeating a study is good science, but in an experiment replication means assigning each treatment to more than one experimental unit. One student who naps and one who reads cannot show anything, because the two students might just be different.
2Control groups, placebos, and blinding
A control group is a group of experimental units created for comparison. It might get no treatment, the usual treatment, or a placebo: an inactive treatment, like a sugar pill, that looks like the real one.
Placebos matter because people often respond to simply being treated. The placebo effect is the difference between the average response to a placebo and the average response to no treatment.
Blinding keeps people from knowing which treatment each subject receives. (People who take part in an experiment are called subjects, also called participants.)
- In a single-blind experiment, either the subjects do not know which treatment they get, or the researchers who interact with them do not know, but not both.
- In a double-blind experiment, neither the subjects nor the researchers who interact with them know which treatment each subject receives.
Single-blind and double-blind are also called single-masked and double-masked. Blinding the subjects keeps expectations from changing their response; blinding the researchers keeps expectations from changing how they treat subjects or record results.
Nap or reading
Can the nap experiment be double-blind? What blinding is possible?
- 1Students obviously know whether they napped, so the subjects cannot be blinded.
- 2The person who runs the reaction-time test can be kept from knowing which group each student was in.
- 3That makes the experiment single-blind: one side does not know the treatment.
A control group just has to be a fair comparison. When a treatment already exists, the control group often gets the current standard treatment, and in drug studies it usually gets a placebo. Giving the control group nothing at all can let the placebo effect masquerade as a treatment effect.
3Why random assignment works
An extraneous variable (an extraneous source of variation) is a variable known or believed to affect the response, but which is not the explanatory variable being studied. In the nap experiment, how well each student slept the night before is extraneous: it affects reaction time whether or not the student naps.
You cannot control everything. The purpose of random assignment is to make the treatment groups as similar as possible with respect to all the extraneous variables, measured or not. When random assignment works, each extraneous variable has roughly the same distribution in every group.
A confounding variable in an experiment is related to the explanatory variable in a way that makes it hard to tell which one is changing the response. If students chose for themselves whether to nap, the tired students might pick the nap, and tiredness would be mixed up with napping. Random assignment breaks that link, which is why a well-designed experiment reduces the chance of confounding.
Forty volunteers, two groups
Describe how to randomly assign the 40 volunteers so that exactly 20 nap and 20 read.
- 1Write each student’s name on an identical slip of paper, put the slips in a container, and mix well.
- 2Draw 20 slips without replacement. Those students take the nap.
- 3The remaining 20 students read.
- 4Another way: number the students 1 to 40 and use a random number generator to pick 20 different numbers for the nap group, skipping repeats.
Random selection decides who is in the study, and it lets you generalize to a population. Random assignment decides who gets which treatment, and it lets you conclude cause and effect. An experiment on volunteers has random assignment but no random selection.
4Three experimental designs
In a completely randomized design, treatments are assigned to the experimental units completely at random, as in Figure 1. The groups are often the same size, but they do not have to be.
Sometimes an extraneous variable is so strong that it would swamp the treatment effect. Then it can be used as a blocking variable. In a randomized block design, the units are first grouped by similar values of the blocking variable. These groups are blocks, and units within a block are alike with respect to that variable. Then treatments are randomly assigned within each block, so every treatment appears in every block.
The purpose of blocking is to separate the variation in the response caused by the blocking variable from the rest of the variation. Within a block, treatments can be compared without that variable getting in the way, which makes the comparison more precise.
Two typing apps
A school compares two typing apps on 60 student volunteers: 24 already type well and 36 are beginners. Why use a randomized block design with typing experience as the blocking variable, instead of a completely randomized design?
- 1Experience affects typing speed gains regardless of the app: beginners usually improve more, simply because they start lower.
- 2With complete randomization, one app could get more beginners by chance, which would make that app look better.
- 3Blocking puts experienced typists in one block and beginners in another, and randomly assigns the apps within each block.
- 4Comparing the apps within each block removes the variation caused by experience, so the comparison is more precise.
A matched pairs design is a randomized block design with only two treatments. Units are arranged in pairs matched on one or more extraneous variables, and within each pair one unit is randomly assigned each treatment. Or each unit gets both treatments, with the order randomly decided.
Two sunscreens
A company wants to compare two sunscreens, X and Y, on 30 volunteers. Describe a matched pairs design.
- 1Each volunteer serves as their own pair: they receive both sunscreens, one on each forearm.
- 2For each volunteer, flip a coin to decide which arm gets sunscreen X; the other arm gets Y.
- 3After the same time in the sun, measure the redness of each arm.
- 4Compare X and Y within each person, using the 30 differences in redness.
Forming blocks is only half the design. If the teacher then chooses which typists in a block use app A, the design is no longer randomized. Treatments must be randomly assigned within every block.
| Design | When it fits |
|---|---|
| Completely randomized | Units are fairly similar, or no single extraneous variable stands out |
| Randomized block | One known extraneous variable strongly affects the response, and units can be grouped by it |
| Matched pairs | Two treatments, and units can be paired closely, or each unit can receive both treatments |
5What an experiment lets you conclude
Random assignment of treatments allows a cause-and-effect conclusion about the explanatory and response variables, because it reduces the potential for confounding variables.
Who the conclusion applies to is a separate question. It is often unethical or impractical to randomly select people for an experiment, so most experiments use volunteers. Then the results apply to units similar to those in the study.
The nap experiment, again
The nap group’s mean reaction time was clearly faster. What conclusion is justified, and for whom?
- 1Treatments were randomly assigned, so the groups should be alike in other ways. That supports a cause-and-effect conclusion.
- 2The students were volunteers, not a random sample of all students, so the result applies to students like these volunteers.
“Because the treatments were randomly assigned, the faster reaction times can be attributed to the nap. Because the students were volunteers rather than a random sample, the conclusion applies only to students similar to these 40.”
6Quick reference
| Term | Meaning |
|---|---|
| Control group | A group created for comparison; may get no treatment, a standard treatment, or a placebo |
| Placebo effect | Average response to a placebo minus average response to no treatment |
| Single-blind / double-blind | One side / neither side (subjects and researchers who interact with them) knows the treatment |
| Extraneous variable | Affects the response but is not the explanatory variable being studied |
| Replication | More than one experimental unit per treatment |
| Direct control | Holding extraneous variables the same for all units |
| Block | A group of units alike on a blocking variable; treatments randomized within it |
| Matched pairs | Block design with two treatments and blocks of two (or one unit gets both, in random order) |