StatisticsSampling, Surveys, and Experiments6 of 6
Sampling, Surveys, and Experiments · 6
Scope of Inference
When a study finds a difference between two groups of people, we need to know who that result applies to and whether one thing actually caused the other.
1
Generalizing from a Sample
The scope of inference is how far we can stretch a study's conclusion: who it applies to, and whether we can claim cause and effect. Suppose we study 200 people, half drinking beet juice every morning and half drinking plain water, and find after a month that the beet juice group has lower average blood pressure. Our first question is whether we can generalize that result from those 200 people to a larger population.
Generalizing from a Sample
Whether we can generalize depends entirely on how those 200 people got into the sample:
sampling biasConvenience or Volunteers⟹Cannot generalizetends to match the populationRandom Sampling⟹Generalize tothe sampled population
Even with random sampling, our conclusion only reaches the exact group that had a chance to be picked. Taking a random sample from a list of registered voters in Ohio lets us generalize to registered voters in Ohio, not to unregistered adults in Ohio or to all Americans.
Convenience and volunteer samples skew the mix of people toward one type, while a random sample tends to match the exact population it came from.
A random sample comes close to the mix of age, diet, and fitness in the exact group it was picked from, and in no wider group.
2
Random Assignment and Confounding Variables
Knowing who our study applies to still doesn't tell us why the blood pressure dropped: whether the beet juice caused the drop or just showed up alongside other healthy habits. To test for cause and effect, we look at how the 200 people in our sample ended up in the beet juice or water groups.
Random Assignment and Confounding Variables
When people choose their own habits in an observational study, or when an experimenter assigns groups by arrival time (8:00 AM vs. 4:00 PM), outside habits like jogging, sleep schedules, and stress come along with the treatment:
Self-Selection or Arrival Time⟹outside traits make the groups unevenConfounding Variables⟹Association only
To test whether the beet juice itself caused the change, we assign each person to a group using random assignment, such as flipping a coin:
Sample (200 people)Random Assignment (coin flip)all confounding traits split roughly evenly on Day 1Beet Juice (100) vs. Water (100)
Sorting people by self-selection or arrival time packs one group with joggers, early risers, or stressed workers, while a coin flip splits every trait roughly evenly between the two groups.
Sorting people by choice or arrival time lumps similar traits into one group, while a coin flip splits every trait roughly evenly between both groups.
3
Statistical Significance and the Random Shuffle
Even when a coin flip assigns the groups, the two halves of 100 won't start out 100.00% identical. Just by chance, the random split can still put a few more joggers in one group and create a tiny gap between the group averages before anyone takes a sip. At the end of the experiment, we need to know whether the gap between the two groups came from the beet juice or just from a lucky coin flip.
Statistical Significance and the Random Shuffle
We check whether the final difference between the group averages is larger than the small gaps that the random shuffle creates on its own:
easily happens from the random shuffle120.0−119.5=0.5 points⟹Not statistically significant(cannot claim cause)
statistically significant (too big to be luck)120−108=12 points⟹Claim cause and effect
Claiming cause and effect requires both parts together:
Random Assignment+Statistically Significant Difference⟹Cause and Effect
Even if neither drink does anything, a random split of 200 people easily creates a 0.5-point gap just by chance, so only a gap too big for chance, like 12 points, lets us conclude the drink worked.
When neither drink has any effect, random coin-flip splits easily create small gaps like 0.5 points between the two groups, but almost never come anywhere near a 12-point gap.
4
The Two Steps Across Four Study Designs
Because "random sampling" and "random assignment" both start with the word random, it is easy to mix them up. To find the scope of inference for any study, we check the two steps separately along the study's timeline.
Random Sampling⟹Generalize (Who)PopulationStep 1: SamplingSampleStep 2: AssignmentRandom Assignment+ Statistically Significant⟹Claim Cause (Why)Group A vs. Group B
The Two Steps Across Four Study Designs
Text solution
Gym (protein powder and muscle mass)Because the 100 gym-goers were a convenience sample outside one gym and chose their own protein powder habits, neither step was random.
State residents (coffee and sleep)Randomly selecting 2,000 adults from a complete list of state residents lets us generalize to adults in that state, but because people chose their own coffee habits, even a statistically significant link cannot prove cause.
Step 1: Random sample (Yes)+Step 2: Observational (No)⟹Associationfor all adults in the state
College volunteers (memory supplement)Using 100 campus volunteers means we cannot generalize to the general public, but flipping a coin to split those 100 volunteers into two balanced groups of 50 (with a statistically significant difference) still lets us conclude that the supplement caused the higher scores for those volunteers.
Step 1: Volunteers (No)+Step 2: Coin flip,significant(Yes)⟹Cause and effect,for the volunteers
School district (tutoring vs. study hall)Randomly sampling 500 students from the district roster and flipping a coin to assign tutoring (with a statistically significant result) lets us both claim cause and generalize to all students on that roster.
Step 1: Districtrandom sample (Yes)+Step 2: Coin flip,significant(Yes)⟹Cause and effectfor all students in the district
5
The Statistical Significance Trap and Checklist
Even when a study uses both random sampling and random assignment, we still cannot claim cause if the final difference between the groups is small enough to happen just from the luck of the random split. Here is an experiment on 80 apple orchards in Washington state comparing a new organic fertilizer (420 bushels per acre) against a standard fertilizer (412 bushels per acre), where the 8-bushel difference is not statistically significant.
The Statistical Significance Trap and Checklist
Text solution
Check Step 1 (Sampling from Washington orchards)Picking 80 orchards by random sampling from all orchards in Washington state means any conclusion applies to all apple orchards in Washington.
Washington orchardsRandom Sampling80 orchards⟹Generalize toWashington apple orchards
Check Step 2 (Random assignment to fertilizers)Randomly assigning 40 orchards to the new fertilizer and 40 to the standard fertilizer balances confounding traits between the two groups.
80 orchardsRandom Assignment40 New Fertilizervs. 40 Standard Fertilizer
Check statistical significance of the 8-bushel gapBecause the 8-bushel difference is not statistically significant, a gap of that size could easily happen just from the random luck of which 40 orchards landed in which group, even if the new fertilizer does nothing special.
So despite having both random sampling and random assignment, the cooperative cannot conclude that the new organic fertilizer causes higher yields.
Key concepts
To find the scope of inference for any study, ask two separate questions along the timeline:
Step 1: Who does the conclusion apply to? (Sampling)
Look at how participants moved from the population into the sample. If they entered through random sampling, generalize only to the exact population sampled from (sampling from registered voters in Ohio or a school district roster generalizes only to that list, never to all Americans or all students nationwide). Do not generalize if Step 1 used a convenience sample (outside a gym) or volunteers (a campus flyer).
Step 2: Why did the difference happen? (Assignment and Significance)
Look at how the sample was split into treatment groups:
Random Assignment+Statistically SignificantDifference⟹Cause and Effect
When not to claim cause in an observational study: In the state coffee and sleep study, the link is statistically significant, but people chose their own coffee habits. Statistical significance without random assignment only gives an association.
When not to claim cause in an experiment: Assigning treatments at 8:00 AM vs. 4:00 PM is an experiment, but without random assignment, confounding variables still make the groups uneven. And even with random assignment (Washington orchards), if the gap (420−412=8 bushels/acre) is not statistically significant, it could just be the luck of the random split.
When volunteers still allow claiming cause: In the memory supplement study with 100 college volunteers, nonrandom Step 1 blocks generalizing to the public, but flipping a coin in Step 2 still balances the two groups of 50 volunteers against each other, and with a statistically significant difference we can claim cause for those volunteers.
6
Practice
1
A nutritionist stands outside a local health-food store, asks 150 shoppers leaving the store whether they drink green tea daily, and measures their resting heart rate. Shoppers who drink green tea daily have a noticeably lower average heart rate. What is the scope of inference for this study?
Check Step 1 and Step 2 separately: how were the 150 shoppers picked from the public, and who decided whether each shopper drank green tea?
Check Step 1 (Sampling)The nutritionist used a convenience sample outside one health-food store, which introduces sampling bias, so we cannot generalize beyond the 150 shoppers in this sample. (Watch out: a common slip is generalizing to "all health-food store shoppers," which fails because shoppers at other times or stores had no chance of being picked.)
Check Step 2 (Assignment)Shoppers chose their own green-tea habits in an observational study, leaving confounding variables (like exercise or overall diet), so we cannot claim cause and effect.
Step 1: Convenience (No)+Step 2: Observational (No)⟹Association only,for the 150 shoppersin the sample
The nutritionist can only claim an association between drinking green tea and a lower resting heart rate for the 150 shoppers in the sample.
2
A state Department of Education takes a random sample of 1,200 high school students from a complete list of high school students in the state. They ask each student whether they eat breakfast every day and record their GPA, finding a statistically significant link between eating breakfast and having a higher GPA. Can the department conclude that eating breakfast causes higher GPAs for high school students in the state? Explain why or why not, and identify one possible confounding variable.
Step 1 used a random sample from the state list, and the link is statistically significant. Now check who decided whether each student ate breakfast in Step 2.
Check Step 1 (Sampling)Because the 1,200 students were selected by random sampling from all high school students in the state, the conclusion can be generalized to all high school students in that state.
Check Step 2 (Assignment)Students chose for themselves whether to eat breakfast (no random assignment). (Watch out: do not let the phrase "statistically significant link" trick you into answering "Yes." In an observational study, statistical significance only means the association is real, not that one variable caused the other.)
Confounding variableA confounding variable such as getting more sleep or having a more structured home routine could lead students both to eat breakfast every day and to earn higher GPAs.
Step 1: State random sample (Yes)+Step 2: Self-selected (No)⟹No; association onlyfor high school studentsin the state
No; the department can generalize an association between eating breakfast and higher GPAs to all high school students in the state, but cannot conclude that eating breakfast causes higher GPAs.
3
A company wants to test whether standing desks reduce back pain. The researcher forces the 60 employees who work the morning shift to use standing desks for a month and forces the 60 employees who work the night shift to use standard sitting desks. At the end of the month, the morning-shift group reports significantly less back pain. The researcher says, "Because I stepped in and imposed the treatments myself, this is an experiment, so I can conclude that standing desks caused less back pain." Is the researcher right?
Assigning the desks makes the study an experiment, but look at how an employee ended up in the standing-desk group versus the sitting-desk group.
Experiment vs. Random AssignmentStepping in and requiring employees to use specific desks does make the study an experiment. (Watch out: the likeliest wrong answer is agreeing with the researcher because "experiments prove cause." Being an experiment is not enough if the groups weren't assigned at random.)
Check Step 2 (Assignment)Because treatments were assigned by work shift (morning vs. night) rather than by random assignment, confounding variables between morning-shift and night-shift workers, such as sleep schedules, age, or off-work habits, were never balanced between the two groups.
Assigned by shift (Not random)⟹Confounding variables remain⟹Cannot claim cause
No, the researcher is wrong; without random assignment to balance confounding variables between the two shifts, the researcher cannot claim cause and effect.
4
A medical researcher posts an online ad seeking volunteers with seasonal allergies. Two hundred people volunteer for the study. The researcher flips a coin for each volunteer to assign 100 to take a new allergy pill and 100 to take a sugar pill. After two weeks, the group taking the new pill has lower symptom scores, and the difference is statistically significant. A critic says, "Because you used volunteers instead of a random sample, the study is biased and cannot prove the pill caused the improvement." Evaluate the critic's claim.
Split the critic's statement into two parts: what does using volunteers do to Step 1 (generalizing), and what does flipping a coin do to Step 2 (claiming cause inside the sample)?
Check Step 1 (Volunteers)Because the 200 participants volunteered through an online ad rather than being picked by random sampling, the results cannot be generalized to all people with seasonal allergies. The critic is right that the sample is not representative of the general public.
Check Step 2 (Coin-flip assignment)Once those 200 volunteers entered the study, a coin flip randomly assigned 100 to the new pill and 100 to the sugar pill, splitting confounding variables evenly between the two groups, and the final difference was statistically significant. (Watch out: do not agree with the critic that volunteer bias ruins the whole study. Nonrandom sampling in Step 1 never breaks a valid random assignment in Step 2.)
Step 1: Volunteers (No)+Step 2: Coin flip, significant(Yes)⟹Cause and effectfor the 200 volunteers
The critic is right about not generalizing to the general public, but wrong about claiming cause: the researcher can conclude that the new pill caused the symptom improvement for the volunteers in the study (and roughly for people very similar to them).
5
A city transit authority takes a simple random sample of 400 commuters from its database of monthly bus-pass holders. Using a random number generator, they assign 200 of them to receive real-time text alerts about bus delays and 200 to use the standard printed schedule. After three months, the text-alert group reports higher satisfaction, and the difference is statistically significant. Which conclusion is justified: (A) Text alerts are associated with higher satisfaction, but we cannot claim cause; (B) Text alerts cause higher satisfaction for all commuters in the city; or (C) Text alerts cause higher satisfaction for monthly bus-pass holders in the city? Explain why.
Step 2 used a random number generator and produced a statistically significant difference. Use that to decide whether we can claim cause, then check the exact list sampled in Step 1 to choose between (B) and (C).
Check Step 2 (Assignment)Using a random number generator to assign the 400 commuters to groups, combined with a statistically significant difference, lets us conclude that the text alerts caused the higher satisfaction, which rules out (A).
Check Step 1 (Sampling)The simple random sample was drawn only from the database of monthly bus-pass holders. (Watch out: picking (B) is the classic trap. Drivers, cyclists, and cash bus riders are commuters in the city too, but they were not in the bus-pass database and had zero chance of being picked.)
(C) is justified: text alerts cause higher satisfaction for monthly bus-pass holders in the city.
6
A biologist takes a random sample of 100 pine trees from a national forest and randomly assigns 50 trees to receive a soil treatment and 50 to remain untreated. After one year, the treated trees grew an average of 14.3 inches and the untreated trees grew an average of 13.8 inches. A statistical test shows that this 0.5-inch difference is not statistically significant. What can the biologist conclude about the soil treatment, and what does "not statistically significant" mean here?
Both Step 1 and Step 2 were done at random, so check the second requirement for claiming cause: what does "not statistically significant" tell us about the 14.3−13.8=0.5-inch gap?
Check design vs. chanceThe study used both random sampling (from all pine trees in the national forest) and random assignment (50 treated and 50 untreated). (Watch out: do not conclude that the soil treatment caused faster growth just because you see both "random sample" and "randomly assigns" in the problem statement. You must check whether the final gap is too large to be random chance.)
Meaning of "not statistically significant"When 100 pine trees are randomly split into two groups of 50, a gap of
14.3−13.8=0.5 inches
between the two group averages could easily happen just from the random luck of which trees landed in which group, even if the soil treatment has no real effect at all.
The biologist cannot conclude that the soil treatment causes faster growth in the national forest's pine trees, because the 0.5-inch difference is small enough to happen by the random luck of the split alone.