Sub topic 16
Sampling and External Validity
This chapter assumes you know what independent and dependent variables are, how random assignment works, and what internal validity means. It builds on those ideas to ask a different question. Once a study shows an effect among its participants, do the findings apply to anyone else?
Population, sample, and generalizability
A population is the whole group a researcher wants to draw conclusions about, such as all adults in a country or all children with a particular diagnosis. A sample is the subset of that population who actually take part. External validity is the degree to which a study's findings hold for people, settings, times, and measures beyond those in the study. The related term generalizability usually refers to the people part of that question.
Internal validity and external validity are separate. A tightly controlled experiment can show that a manipulation caused a change, and still tell you little about whether the same change occurs in other groups or in daily life.
Sampling methods
How participants are chosen determines how far the results can be trusted to represent the population.
| Method | How it works | Main strength | Main weakness |
|---|---|---|---|
| Simple random sampling | Every population member has an equal chance of selection | Sample tends to mirror the population | Needs a complete list of the population |
| Stratified sampling | Divide the population into subgroups (strata), then sample randomly within each | Guarantees small groups are represented | Needs known subgroup information |
| Convenience sampling | Use whoever is easy to reach, such as students in a course | Cheap and fast | High risk of bias |
| Volunteer (self-selected) sampling | People choose to respond to an ad or survey | Easy recruitment | Volunteers often differ from non-volunteers |
Most psychology studies use convenience samples. Random sampling of a whole population is expensive and often impossible, so the field relies heavily on university students and online panels.
Random sampling versus random assignment
These two terms are easy to confuse, and they protect against different problems.
- Random sampling is about how people get into the study. It supports external validity.
- Random assignment is about how people in the study are placed into conditions. It supports internal validity.
A study can have either one without the other. A survey firm might draw a random sample of voters but not assign them to anything. A lab might randomly assign 40 students to two conditions, but those students were never a random sample of humanity.
Sources of bias
A biased sample systematically differs from the population in ways related to the outcome. Common causes include:
- Sampling bias. Some members of the population are more likely to be included than others. An online survey excludes people without internet access.
- Self-selection bias. People who volunteer may be more motivated, more interested in the topic, or more agreeable than those who do not.
- Nonresponse bias. Many people invited to take part decline. If those who decline differ from those who respond, the results shift. A high response rate lowers this risk but does not remove it.
- Attrition. Participants drop out of longitudinal studies. If dropouts differ from completers, the remaining sample no longer represents the starting one.
Sample size does not fix bias. A million responses from a self-selected online poll can be less accurate than 1,000 responses from a well-drawn random sample. A larger sample reduces random error, but a systematic flaw simply gets measured more precisely.
The WEIRD problem
Researchers have pointed out that much of psychology rests on participants from WEIRD societies: Western, Educated, Industrialized, Rich, and Democratic. These populations are a small slice of humanity. Studies of perception, fairness, and moral reasoning have found notable differences between WEIRD and non-WEIRD groups. Some findings once treated as universal turned out to vary across cultures.
This does not mean every result from WEIRD samples is wrong. It means a claim about "people" needs evidence from varied groups, or it should be worded as a claim about the group actually studied.
Other dimensions of external validity
People are only one dimension. Ask four questions about any study.
- Population validity. Do the results apply to other kinds of people?
- Ecological validity. Do the results apply to real-life settings, or only to the lab? A memory task with word lists may not predict remembering names at a party.
- Temporal validity. Do the results hold across time periods?
- Measurement validity across contexts. Do the operational definitions mean the same thing in other settings and groups?
There is a trade-off. Lab control raises internal validity by removing noise, but artificial conditions can lower ecological validity. Field studies reverse the balance. Neither is simply better, and the right choice depends on the question.
Seeing sampling error in code
Even an unbiased random sample will differ somewhat from the population by chance. This is sampling error. The code below builds a population with a known mean and shows how sample means vary, and how a biased sampling rule shifts the estimate.
import random
from statistics import mean
random.seed(1)
# Population of 10,000 people with a made-up "anxiety score"
population = [random.gauss(50, 10) for _ in range(10_000)]
print(f"Population mean: {mean(population):.2f}")
# Unbiased: simple random samples of 30
for i in range(3):
sample = random.sample(population, 30)
print(f"Random sample {i + 1} mean: {mean(sample):.2f}")
# Biased: only people scoring below 55 "volunteer"
volunteers = [x for x in population if x < 55]
biased_sample = random.sample(volunteers, 30)
print(f"Biased sample mean: {mean(biased_sample):.2f}")The three random samples land near the population mean but not exactly on it. The biased sample sits consistently lower, and drawing more people with the same rule would not correct that.
Reporting and reading generalizability claims
Good papers describe their sample in detail: age, gender, country, education, how people were recruited, and who dropped out. Many journals also ask for a "constraints on generality" statement, where authors say which groups they expect the findings to apply to. When reading a study, compare the population the authors name in their conclusions with the sample they actually used. A mismatch between the two is a common weakness.
Researchers can improve generalizability by recruiting from several sites and countries, by replicating in new samples, and by using stratified sampling when subgroup differences matter. Replication is covered in a later chapter.
Exercise
A researcher posts a survey link on social media asking about stress and sleep. 5,000 people respond, and the results show a strong relationship. She concludes that "adults in general" show this pattern. Name two sampling problems with that conclusion and one change that would help.
Show answer
The sample is self-selected (volunteers who saw the post and chose to answer), and it is restricted to social media users, who are not representative of all adults. Nonresponse bias is also likely, because people with stress or sleep concerns may be more inclined to respond. The large sample size does not fix these problems. A better approach is to draw a random sample from a list of the target population, such as through a stratified sampling frame by age and region, and to report the response rate. Alternatively, she could narrow her conclusion to social media users who volunteered.
Exercise
A lab randomly assigns 60 volunteer undergraduates to either a mindfulness training or a waitlist group. Which type of validity does the random assignment protect, and which is still limited?
Show answer
Random assignment protects internal validity, because it makes the groups comparable and supports a causal conclusion within the study. External validity is still limited, because the participants were volunteer undergraduates rather than a random sample of the wider population.