Sub topic 7
Confounds and Internal Validity
This chapter assumes you know what independent and dependent variables are, how an experiment manipulates one variable and measures another, and why random assignment matters. You should also be comfortable reading a simple table of group means.
What a confound is
A confounding variable is a factor that changes along with the independent variable and also affects the dependent variable. When a confound is present, you cannot tell whether a difference in outcomes came from your manipulation or from the confound.
Internal validity is the degree to which a study supports the conclusion that the independent variable caused the change in the dependent variable. A study with many uncontrolled confounds has low internal validity. A study that rules them out has high internal validity.
Suppose a teacher tests a new study method. Class A uses it and Class B does not. Class A meets at 9 a.m. and Class B meets at 3 p.m. Class A scores higher. Time of day, method, and possibly the teacher's energy all differ between the groups. The result cannot be assigned to any one of them.
A confound is not just any extra variable
Some extra variables are harmless. A confound must meet two conditions:
- It varies systematically with the independent variable (it differs between groups).
- It influences the dependent variable.
Random noise, such as a participant's mood on a given day, affects scores but does not differ systematically between groups. It adds variability and makes effects harder to detect. It does not bias the comparison in one direction.
| Type of extra variable | Differs systematically between groups? | Effect on the study |
|---|---|---|
| Confound | Yes | Biases the comparison and threatens internal validity |
| Random noise | No | Adds variability and reduces statistical power |
| Irrelevant variable | Either | No effect on the outcome |
How confounds arise
Common sources include the following.
- Selection. Groups differed before the study began. If volunteers choose the treatment, motivated people end up in it.
- History. An outside event occurs during the study and affects one group more than another, such as a campus-wide stress event during a mood study.
- Maturation. Participants change over time on their own. Children's reading improves with age regardless of your program.
- Testing. Taking a pretest changes performance on the posttest through practice.
- Instrumentation. The measure changes, for example when raters drift in how strictly they score.
- Attrition. Participants drop out unevenly. If the least motivated people leave the treatment group, the remaining group looks better.
- Regression to the mean. People selected for extreme scores tend to score closer to average when measured again, even with no intervention.
- Experimenter and participant expectations. Researchers who know the hypothesis may treat groups differently, and participants may act the way they think is expected.
Regression to the mean deserves attention because it looks like a treatment effect. If you enroll the 20 lowest scorers on an anxiety scale into a workshop, their average will probably improve at retest even if the workshop does nothing. Part of their low score was chance, and chance does not repeat.
Ways to control confounds
Different confounds call for different tools. The aim is to make the groups equivalent on everything except the independent variable.
- Random assignment spreads known and unknown participant characteristics across groups by chance. It is the only method that handles confounds you have not thought of, though with small samples chance can still produce unequal groups.
- Holding constant fixes a variable for everyone, such as testing all participants at 10 a.m. This removes the confound but narrows what you can generalize to.
- Matching pairs participants on a known variable (for example, age) and splits each pair across groups.
- Counterbalancing varies the order of conditions in a within-subjects design so that practice or fatigue does not line up with one condition.
- Standardizing procedures means using written scripts, the same equipment, and the same instructions.
- Blinding and control groups handle expectation effects and are covered in the next chapter.
The sketch below checks whether random assignment balanced a measured characteristic. It simulates participant ages, assigns groups, and compares group means.
import random
from statistics import mean
random.seed(7)
ages = [random.randint(18, 40) for _ in range(40)]
participants = list(enumerate(ages))
random.shuffle(participants)
treatment = [age for _, age in participants[:20]]
control = [age for _, age in participants[20:]]
print(f"Treatment mean age: {mean(treatment):.1f}")
print(f"Control mean age: {mean(control):.1f}")
print(f"Difference: {mean(treatment) - mean(control):.1f}")Run it with several seeds. The difference is rarely zero, but it is usually small. With larger samples it shrinks further. This is a "balance check," and researchers often report one in a table of baseline characteristics.
Threats that randomization does not fix
Random assignment protects against pre-existing differences between groups. It does not prevent problems that occur after assignment.
- Differential attrition can undo the equivalence that randomization created.
- Contamination happens when control participants learn about the treatment from treated participants.
- Demand characteristics are cues that tell participants what the study expects.
- Unequal treatment occurs when staff give one group more attention than the other.
A study can have random assignment and still have poor internal validity.
Internal versus external validity
Controlling confounds often makes the setting more artificial. A tightly controlled laboratory task has high internal validity but may say little about behavior in daily life. External validity, covered in the sampling chapter, concerns how far results generalize. The two often pull against each other, and researchers choose a balance based on the question.
Spotting confounds in a described study
Use this routine on any study description.
- Identify the independent and dependent variables.
- Ask how participants ended up in each condition. Random assignment or self-selection?
- List what else differed between conditions besides the manipulation.
- For each difference, ask whether it plausibly affects the outcome.
- Check for post-assignment problems such as dropout and expectation effects.
Exercise
A school offers a voluntary after-school tutoring program. At year's end, tutored students have higher math grades than non-tutored students. A principal concludes the tutoring raised grades. Name one confound and explain why it threatens internal validity. Then describe a design change that would reduce the threat.
Show answer
Selection is a likely confound. Students who volunteer for tutoring may be more motivated or have more supportive families, and those traits also raise grades. The groups differed before tutoring began, so the grade difference cannot be assigned to the program. To reduce the threat, randomly assign students from the pool of volunteers to receive tutoring now or after a waiting period. Compare the two groups' grades. Because chance decides who is tutored, motivation and family support should be spread similarly across groups.
Exercise
Twenty people with the highest scores on a loneliness scale join a social skills program. At retest their average loneliness score drops. Why can this result not show the program worked?
Show answer
Regression to the mean. People chosen for extreme scores partly had unusually high scores due to chance. At retest, their scores tend to move toward the average without any intervention. Without a randomly assigned comparison group selected the same way, the drop cannot be separated from this statistical effect.