AP Statistics · Collecting data
Experimental design
1Observational studies vs. experiments
- An observational study observes individuals and measures variables without influencing them. It can show association but not causation, because of confounding variables.
- An experiment deliberately imposes treatments on individuals to see their effect on a response. A well-designed experiment can show cause and effect.
A confounding variable is related to the explanatory variable and also affects the response, so its effect cannot be separated from the treatment's.
people who drink coffee may have more heart problems, but coffee drinkers also smoke more often. Smoking is confounded with coffee.
Check yourself
Why can't an observational study prove causation?
Show the answer
Confounding variables may explain the association
No control over other factors.
2Vocabulary of experiments
- Experimental units: the individuals receiving treatments (called subjects if people).
- Factor: an explanatory variable manipulated by the experimenter; its values are levels.
- Treatment: a specific condition applied (a combination of factor levels).
- Control group: receives no treatment, a placebo, or the standard treatment, giving a baseline for comparison.
- Placebo: a fake treatment; the placebo effect is a response to receiving any treatment.
- Blinding: subjects (single-blind) or both subjects and evaluators (double-blind) do not know which treatment is given.
testing 2 fertilisers at 3 water levels gives $2 \times 3 = 6$ treatments.
Check yourself
An experiment with factor A at 3 levels and factor B at 2 levels has how many treatments?
Show the answer
6
3 × 2.
3Principles of experimental design
- Comparison: use at least two treatment groups (one may be a control).
- Random assignment: assign treatments to units at random, so that the groups are roughly equivalent and confounding variables are balanced.
- Replication: use enough units in each group so that differences due to chance can be distinguished from treatment effects.
- Control: keep other variables constant for all groups.
Completely randomised design: all units are randomly assigned to treatments.
40 volunteers test a new sleep aid.
- Number them 1–40; use a random number generator to choose 20 for the sleep aid; the other 20 get a placebo.
- Double-blind: neither subjects nor the researchers measuring sleep know who got which.
- Compare average hours of sleep after two weeks.
Comparison, random assignment, replication and control in one design
Check yourself
The purpose of random assignment is to:
Show the answer
Create roughly equivalent groups so differences can be attributed to the treatment
Balances confounders.
4Blocking and matched pairs
- Randomised block design: group units into blocks of similar units (e.g. by sex, field, age), then randomly assign treatments within each block. Blocking reduces variability from the blocking variable, making treatment effects easier to detect.
- Matched pairs: a special block design with pairs of similar units (or each unit receives both treatments in random order). Compare differences within pairs.
testing two sunscreens, each person gets sunscreen A on one arm and B on the other, with the arm chosen randomly.
Scope of inference: random assignment → cause-and-effect conclusions; random selection → generalise to the population. Both are needed to generalise a causal conclusion.
Check yourself
Randomly assigning treatments to volunteers allows conclusions about:
Show the answer
Cause and effect for subjects like these volunteers
No random selection, but random assignment.
5Going deeper: describing a design in full, and what conclusions it allows
Observational study against experiment
- An observational study records what happens without interfering. It can show association, not cause.
- An experiment deliberately imposes treatments on individuals to observe their responses. A well-designed experiment can show causation.
Vocabulary
- Experimental units: the individuals to which treatments are applied (called subjects when human).
- Factor: an explanatory variable. Levels: its values. Treatment: a specific combination of levels.
- Response variable: what is measured.
- Confounding: two variables are confounded when their effects on the response cannot be separated.
Four principles of good design
- Comparison: use two or more treatments (often including a control group).
- Random assignment: use chance to decide which units get which treatment. This creates groups that are roughly equivalent before treatment, balancing the effects of other variables, known and unknown.
- Control: keep other variables the same for all groups.
- Replication: use enough units in each group that real differences can be told from chance variation.
Describing random assignment (be specific; "randomly assign" alone is not enough)
60 volunteers are to be assigned to a new drug or a placebo.
- Number the volunteers 1 to 60.
- Use a random number generator to select 30 different integers from 1 to 60.
- Those 30 volunteers receive the new drug; the other 30 receive the placebo.
- After eight weeks, compare the mean reduction in blood pressure for the two groups.
(Or: write each name on an identical slip, mix in a hat, draw 30.)
Placebo and blinding
- Placebo: a treatment with no active ingredient. The placebo effect is a response to the mere belief of being treated; a placebo group lets it be separated from the drug's real effect.
- Single-blind: the subjects or those measuring the response do not know who got which treatment.
- Double-blind: neither the subjects nor those who interact with them and measure the response know. This prevents expectations from influencing results.
Three designs
Completely randomized design: all units are assigned to treatments entirely at random.
Randomized block design: units are first sorted into blocks of similar units (similar in a way expected to affect the response); random assignment is then carried out separately within each block.
- Blocking accounts for the variation due to the blocking variable, so the treatment effect is easier to see.
- "Block what you can; randomize what you cannot."
Matched pairs design: a block design with blocks of size two.
- Either two similar units are paired and one is randomly assigned to each treatment,
- or each unit receives both treatments in a random order.
Worked example (blocking): a test of two fertilizers on 40 tomato plants, 20 of an early variety and 20 of a late variety. Variety is likely to affect yield.
- Form two blocks: early and late.
- Within each block, randomly assign 10 plants to fertilizer A and 10 to fertilizer B.
- Compare yields for A and B within each block, then combine.
- Benefit: differences in yield due to variety are not mixed up with differences due to fertilizer.
Scope of inference: what can be concluded depends on how randomness was used.
- Random selection of individuals from a population allows results to be generalized to that population.
- Random assignment of treatments allows conclusions about cause and effect.
- Both: cause and effect for the population. Neither: only a description of the individuals studied.
Most experiments use volunteers: cause and effect can be claimed, but only for people like those in the study.
Statistical significance: an observed difference is statistically significant if it is too large to be plausibly explained by the chance variation in random assignment alone.
Worked example (simulation logic): in an experiment the treatment group's mean exceeded the control group's by 4.2 units. The results were re-randomized 1000 times assuming no treatment effect; a difference of 4.2 or more occurred in 12 of them.
- Estimated probability of such a difference by chance: 12 ÷ 1000 = 0.012.
- This is small (below 0.05), so the difference is statistically significant.
- There is convincing evidence that the treatment caused the improvement, for units like these.
Common mistakes
- Confusing random assignment (experiments; allows causal claims) with random sampling (surveys; allows generalizing).
- Confusing blocking (experiments) with stratifying (sampling).
- Saying blocking or random assignment "eliminates" other variables; it balances them.
- Forgetting to say what is measured and compared at the end.
- Describing a control group as "getting nothing" when a placebo is needed.
- Using "confounding" loosely; name the variable and explain how it is tied to both the treatment and the response.
Check yourself
What is the main purpose of random assignment in an experiment?
Show the answer
To create treatment groups that are roughly equivalent before the treatments are applied
Chance balances the effects of other variables across the groups, so differences can be attributed to the treatment.
6For top marks
- Describe random assignment completely: label, random generator, how many per group, what each group receives.
- Explain why blocking helps: it accounts for variability due to the blocking variable.
- Identify confounding variables and explain the link to both explanatory and response variables.
- State the scope of inference correctly using random selection and random assignment.
"Because subjects were volunteers randomly assigned to treatments, we can conclude the drug caused lower blood pressure among subjects like these, but not generalise to all adults."
Check yourself
Blocking by gender is useful when:
Show the answer
Gender is expected to affect the response
Reduces variability.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera