In an experiment the researcher imposes a treatment on the subjects; in an observational study the researcher only records what already happens. Only an experiment with random assignment supports a cause-and-effect conclusion, because random assignment balances confounding variables. Only random sampling lets you generalize the results to a larger population.
Quick check
A study selects 200 adults at random from a city's voter list. What does selecting them at random protect against?Show answerHide answer
Bias in who is chosen. Every group of 200 voters had the same chance of being the sample, so it tends to represent the whole list.
Students who eat breakfast tend to get higher grades. Does breakfast raise grades?Show answerHide answer
No. Students who eat breakfast may differ in other ways, such as sleep or family routines, that also affect grades.
Know these already? Jump to the practice questions
What you'll be able to do
- Distinguish an observational study from an experiment.
- Explain how a confounding variable can create or hide an association.
- Explain what random assignment and random sampling each allow you to conclude.
- State the scope of inference for a given study, in context.
Key terms
Observational study
A study that measures variables of interest without trying to influence the responses.
- In plain English
- The researcher watches and records; the subjects choose their own "treatment".
- Don't write
- "it is an experiment because data were collected".
Experiment
A study in which the researcher deliberately imposes treatments on the experimental units and measures their responses.
- In plain English
- The researcher decides who gets what.
- Don't write
- "experiment" for any study with two groups; the researcher must assign the groups.
Confounding variable
A variable that is associated with the explanatory variable and also affects the response, so their effects on the response cannot be separated.
- In plain English
- A hidden difference between the groups that could explain the result instead.
- Don't write
- A variable that affects the response but is not linked to the explanatory variable.
Scope of inference
What a study's design allows you to conclude: whether results generalize to a population, and whether cause and effect is justified.
- In plain English
- Who the results apply to, and whether you can say "causes".
- Don't write
- "the results prove the treatment works for everyone".
How do you tell an observational study from an experiment?
Ask one question: did the researcher decide which treatment each individual received?
- If yes, it is an experiment. The explanatory variable is the treatment imposed, and the response variable is the outcome measured.
- If no, it is an observational study, even if it compares groups and even if the sample was random.
Asking people how much they exercise and how well they sleep is observational. Assigning volunteers to a walking plan or their usual routine, then measuring sleep, is an experiment. The note on Designing Experiments covers how to build a good one.
Check yourself
Show answerHide answer
Observational study. The students chose their own course; the researchers did not assign it.
What is a confounding variable?
In an observational study the groups can differ in many such ways, so you cannot tell whether the explanatory variable or the confounder caused a difference in the response.
Name a confounder with both links. In a hypothetical study of coffee and heart disease, coffee drinkers may smoke more often (link to the explanatory variable), and smoking raises heart disease risk (link to the response). Worked example 1 puts numbers on this.
Examiner's eye
Marks are lost for naming a confounder without both links. Say how it is associated with the explanatory variable and how it affects the response, in context.
Check yourself
Show answerHide answer
Hot weather. Hot days increase ice cream sales and also send more people swimming, which raises drownings.
What do random assignment and random sampling each allow?
- Random assignment of units to treatments spreads confounding variables, known and unknown, roughly evenly across the groups. So if the groups differ in the response by more than chance would explain, the treatment caused the difference.
- Random sampling from a population makes the sample represent that population, so results generalize to it, and only to it.
Key idea
Random assignment supports cause and effect; random sampling supports generalizing to the population.
Check yourself
Show answerHide answer
No. You can generalize the association only to adults in that state, and you still cannot say dog ownership causes more walking.
Which method decides the scope of inference?
| Random assignment | No random assignment | |
|---|---|---|
| Random sampling | Cause and effect, and generalize to the population | Association only, but generalize to the population |
| No random sampling | Cause and effect for subjects like these only | Association in the sample only |
Worked example 1: Spotting a confounder
Question: A hypothetical observational study followed 200 coffee drinkers and 200 non-drinkers. Of the coffee drinkers, 150 smoked; 30 of these smokers and 2 of the 50 non-smokers developed heart disease. Of the non-drinkers, 50 smoked; 10 of these smokers and 6 of the 150 non-smokers developed heart disease. (a) Find the proportion of each group that developed heart disease. (b) Compare the rates within smokers and within non-smokers. (c) Explain why smoking is a confounding variable.
What tells you the method
An overall comparison plus a split by a third variable means check whether the third variable explains the difference.
Step 1: Overall rates.
Coffee drinkers: . Non-drinkers: .
WhyEach rate uses everyone in the group.
Step 2: Rates within each smoking group.
Smokers: and . Non-smokers: and .
WhyComparing like with like removes smoking's effect.
Step 3: Explain the confounding.
Coffee drinkers are more likely to smoke ( against ), and smokers have a higher heart disease rate. Within each smoking group the rates are equal.
WhyA confounder is linked to the explanatory variable and affects the response.
Check it
, the coffee drinkers' overall rate.
Answer
(a) for coffee drinkers and for non-drinkers. (b) Within each smoking group the rates match: for smokers and for non-smokers. (c) Smoking is linked to coffee drinking and raises heart disease risk, so it, not coffee, explains the difference.
Worked example 2: Stating the scope of inference
Question: A researcher randomly selects 400 students from a large university and randomly assigns half to a daily meditation app and half to an app with no meditation content. After 8 weeks, the hypothetical mean stress scores are 31.2 and 35.8 (lower is better), a difference larger than chance would explain. (a) Is this an experiment or an observational study? (b) What is the difference in mean stress scores? (c) State the scope of inference.
What tells you the method
Look for random sampling and random assignment, then use the scope-of-inference table.
Step 1: Classify.
It is an experiment, because the researcher assigned the apps.
WhyThe treatment was imposed, not chosen.
Step 2: Compare.
points lower stress with meditation.
WhyLower scores mean less stress.
Step 3: Scope.
Random assignment supports cause and effect; random sampling supports generalizing to all the university's students.
WhyThe study used both kinds of randomness.
Check it
The population is this university's students, so the conclusion does not extend to students elsewhere.
Answer
(a) An experiment. (b) Mean stress was points lower with meditation. (c) The meditation app caused lower stress, for all students at this university.
Your turn
Question: A random sample of 1,000 adults in a state is surveyed. Of the 620 who eat breakfast daily, 434 report high energy; of the 380 who do not, 209 report high energy. Find each proportion and state the scope of inference.
Step 1:
Breakfast eaters: .
Step 2: Your go: find the non-eaters' proportion, then state the scope of inference.
Show the full solutionHide the solution
Non-eaters: . The random sample lets you generalize this association to adults in the state. The study is observational, so you cannot conclude that breakfast causes high energy; adults with healthier routines may both eat breakfast and sleep more.
Answer: for breakfast eaters and for non-eaters; the association generalizes to adults in the state, but there is no cause-and-effect conclusion.
Traps
Trap
Thinking a random sample allows a cause-and-effect conclusion.
It seems right because randomness sounds like it removes every problem. But random sampling only makes the sample represent the population. Without random assignment, confounding variables can still explain the difference.
Check yourself
Show answerHide answer
Not shown. It is an observational study; healthier people may be more likely to choose biking.
Trap
Thinking an experiment's result applies to everyone.
It seems right because experiments can show cause and effect. But if the subjects were volunteers, the conclusion applies only to subjects like them.
Check yourself
Show answerHide answer
No. Random assignment supports cause and effect, but only for adults like these volunteers.
What's examined
Observational studies, experiments and scope of inference are tested on the AP® Statistics exam (Collecting data: Collecting Data), in both the multiple-choice and free-response sections. Expect Identify, Explain and Justify, always in the context of the study.
Practice questions
- Recall Which study is an experiment?
- A) Researchers compare the grades of students who do and do not play a sport.
- B) A survey asks a random sample of adults how many hours they sleep.
- C) Researchers record the diets of patients who chose to join a nutrition program.
- D) Researchers randomly assign plants to two fertilizers and measure their growth.
Show answer
Answer: D) Researchers randomly assign plants to two fertilizers and measure their growth.
Marking points:
- Only in D does the researcher impose the treatment.
- A and C compare groups that chose for themselves. B only records answers.
- Apply A hypothetical study finds that children with larger shoe sizes score higher on a reading test. Which variable is most likely confounding?
- A) Age
- B) Shoe brand
- C) The color of the test paper
- D) The day of the week of the test
Show answer
Answer: A) Age
Marking points:
- Older children have larger feet and also read better, so age is linked to both variables.
- B, C and D are not plausibly linked to both shoe size and reading score.
- Apply Sixty volunteers are randomly assigned to drink either a new sports drink or water, and the sports-drink group runs significantly farther. Which conclusion is justified?
- A) The drink causes longer runs for all adults.
- B) Association only; cause and effect cannot be concluded.
- C) The drink causes longer runs for people like these volunteers.
- D) No conclusion, because there was no random sample.
Show answer
Answer: C) The drink causes longer runs for people like these volunteers.
Marking points:
- Random assignment supports cause and effect; the volunteers were not a random sample, so the result does not extend to all adults.
- A overgeneralizes. B ignores random assignment. D ignores that random assignment still supports a causal conclusion for the subjects.
- Apply In a hypothetical survey, 36 of 120 teens who play video games more than 2 hours a day report poor sleep, compared with 18 of 90 teens who play less. Find the difference between the two proportions (more-gaming minus less-gaming).
Show answer
Answer: The difference is .
Marking points:
- and , so the difference is .
- The study is observational, so this does not show that gaming causes poor sleep.
- Recall What does selecting individuals at random from a population allow you to do?
- A) Conclude that the explanatory variable causes changes in the response.
- B) Generalize the results to the population the sample came from.
- C) Remove all confounding variables.
- D) Generalize the results to every population.
Show answer
Answer: B) Generalize the results to the population the sample came from.
Marking points:
- Random sampling makes the sample represent its population.
- A and C need random assignment. D overreaches beyond the sampled population.
- Exam-style A hypothetical gardener randomly assigns 160 tomato seedlings from one greenhouse to a new soil mix or the usual mix, 80 each. Of the new-mix seedlings, 48 survive a cold night, compared with 30 of the usual-mix seedlings. (a) Find the difference in survival proportions (new minus usual). (b) If the difference is larger than chance would explain, can the gardener conclude the new mix causes better survival?
Show answer
Answer: (a) The difference is . (b) Yes, for seedlings like these, because the seedlings were randomly assigned to the mixes.
Marking points:
- and , so the difference is .
- Random assignment supports cause and effect.
- The seedlings were not a random sample from a wider population, so the result applies only to seedlings like these.
- Exam-style A random sample of 800 residents of a county finds that those who live near a park report better mood than those who do not. Which statement gives the correct scope of inference?
- A) A nearby park causes better mood for county residents.
- B) A nearby park causes better mood for everyone.
- C) Nothing can be concluded about county residents.
- D) The association holds for county residents, but not cause and effect.
Show answer
Answer: D) The association holds for county residents, but not cause and effect.
Marking points:
- The random sample allows generalizing to the county's residents.
- No treatment was imposed, so a confounder such as income could explain the difference.
- A and B claim causation without random assignment; B also overgeneralizes. C ignores the random sample.
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- In an experiment the researcher imposes treatments; in an observational study the researcher only records.
- A confounder is linked to the explanatory variable and affects the response; name both links.
- Random assignment is what allows "causes"; random sampling is what allows "applies to the population".
- Without either, a study shows an association in its own sample only.