Anatomy of an Experiment
See how manipulation, control groups and random assignment let experiments rule out confounds, and why that gives them strong internal validity.
Welcome back!
Step 1 of 11Learn
Do violent games make kids aggressive?
Imagine you notice that children who play many violent video games are more aggressive at school. As you learned in the last module, this correlation could mean games increase aggression, aggressive kids prefer violent games, or something else, such as less supervision at home, drives both.
An experiment cuts through this tangle. Instead of measuring who already plays what, the researcher decides who plays what. Picture this study: 80 children come to a lab. Half play a violent game for 20 minutes; half play a nonviolent game matched for excitement and difficulty. Afterward, each child plays a competitive task in which they can blast an opponent with an unpleasant noise, and the researchers record the chosen loudness.
Three features make this an experiment:
- Manipulation: the researcher changes the independent variable (game type).
- Measurement: the dependent variable (noise loudness) is recorded the same way for everyone.
- Control: everything else is held as constant as possible, and random assignment determines which child gets which game.
If the violent-game group chooses louder noise on average, and the groups were equivalent at the start, the game is the most plausible cause. That ability to support a causal claim is called internal validity, and it is the experiment's defining strength.
Step 2 of 11Practice · Choose one
What is the single feature that most clearly separates an experiment from a correlational study?
Step 3 of 11Diagram
Anatomy of an experiment on violent games
Tap a shape with to see more.
- Recruit participants
- Randomly assign
A coin flip, not the child, decides the group.
- Manipulate the IV
One group plays a violent game, the other a nonviolent game for the same time.
- Measure the DV
For example, aggressive behavior in a standardized task afterward.
- Compare groups
A difference can now be attributed to the game.
Step 4 of 11Learn
Random assignment: the great equalizer
Random assignment means each participant has an equal chance of ending up in each condition, decided by something like a coin flip or a random number generator, not by the participant or the researcher.
Why is this so powerful? People differ in countless ways: personality, mood, sleep, prior experience, intelligence. You could never measure and balance all of them. But if assignment is random, these differences are spread across groups by chance, so on average the groups are equivalent on everything, including variables nobody thought of. Any difference that appears after the manipulation is then most likely due to the manipulation.
Random assignment works better with larger groups. With 6 people per group, chance can easily put the three most anxious people in one condition. With 60 per group, such imbalances become small.
Two common mistakes:
- Letting people choose their condition. Volunteers who pick the meditation group may already be calmer or more motivated. Self-selection reintroduces the very confounds random assignment removes.
- Assigning by a pattern that seems neutral. Putting the first 30 arrivals in one group and the last 30 in another sounds harmless, but early arrivers may be more conscientious.
Remember the distinction from the sampling lesson: random sampling affects whom you can generalize to (external validity). Random assignment affects whether you can conclude cause and effect (internal validity). A study can have one without the other.
Step 5 of 11Practice · Chart
Baseline aggression before the study starts
Tap the group that would make violent games look harmful even if the games did nothing.
Tap the bar that answers the question, then press Check.
Step 6 of 11Practice · Sort into groups
Does each scenario describe random sampling or random assignment?
Tap an item, then tap its group (or drag it there).
Step 7 of 11Compare
Random sampling vs random assignment
| Aspect | Random sampling | Random assignment |
|---|---|---|
| Question it answers | Who gets into the study? | Which condition does each person get? |
| Protects | External validity: generalizing to the population | Internal validity: cause and effect |
| Used in | Surveys and experiments | Experiments only |
| Without it | Results may not describe the population | Groups may differ before the IV acts |
Step 8 of 11Learn
Control groups and confounds
To know whether a treatment did anything, you need a comparison. The experimental group receives the treatment; the control group receives no treatment, a standard treatment or a neutral version. The DV is compared between them.
A well-designed control condition matches the experimental condition in every way except the ingredient being tested. If you test whether a mindfulness app reduces stress, a control group that does nothing differs in many ways: no screen time, no daily routine, no expectation of feeling better. A better control might use a similar app with relaxing nature videos, so that only the mindfulness content differs.
A confound (confounding variable) is any variable that differs systematically between conditions along with the IV, offering an alternative explanation. Classic sources of confounds:
- Conditions run at different times of day, in different rooms or by different experimenters.
- Different instructions or amounts of attention given to each group.
- Participants dropping out more from one condition than another (differential attrition).
When a confound exists, the results are ambiguous: you cannot tell whether the IV or the confound caused the difference. Researchers protect internal validity by standardizing procedures (identical scripts, rooms and timing), randomizing, and designing control conditions that are equivalent except for the IV.
Step 9 of 11Practice · Spot the mistake
A researcher tests whether a vocabulary app improves test scores. Find the two confounds in the procedure.
Step 10 of 11Note
Step 11 of 11Practice · What would you do?
What would you do?
A school wants to know whether a new reading program works. The principal suggests: "Let's give it to the classes whose teachers volunteer, and compare their spring scores to the other classes." What is the most important improvement?
Lesson complete!