Choosing a Design: Cross-Sectional to Quasi-Experimental
Match designs to questions, learn the three conditions for a causal claim, and see how quasi-experiments and difference-in-differences work in real settings.
Welcome back!
Step 1 of 11Learn
The ice cream and drowning problem
In many coastal towns, months with high ice cream sales are also months with more drownings. Nobody believes ice cream causes drowning. Hot weather drives both. This old classroom example contains the central challenge of quantitative research design: telling an association from a cause.
To claim that X causes Y, three conditions must hold:
- Covariation. X and Y are related: when one changes, the other tends to change.
- Temporal precedence. X comes before Y. If depression scores are measured at the same moment as social media use, you cannot tell which came first.
- No plausible alternative explanation. No third factor (a confounder, like hot weather) produces both.
Different designs satisfy these conditions to different degrees. A one-time survey can show covariation but struggles with the other two. A study that follows people over time adds temporal order. A randomized experiment, by assigning X by chance, makes confounders equal across groups on average and is the strongest design for causal claims.
The design you pick should match the claim you want to make. If you only need a description ("how many residents support the new park?"), a well-sampled survey is perfect, and an experiment would be pointless.
Step 2 of 11Practice · Diagram
One hidden cause, two effects
Ice cream and drownings rise together because something drives both.
Which node is the confounding variable?
Tap the shape that answers the question, then press Check.
- Hot weather
The confounder: it causes both outcomes.
- More ice cream sold
- More people swimming
- More drownings
Step 3 of 11Compare
Four quantitative designs
| Aspect | Cross-sectional | Longitudinal | Experimental (RCT) | Quasi-experimental |
|---|---|---|---|---|
| What it does | Measures variables once, at one point in time | Measures the same variables repeatedly over time | Randomly assigns units to conditions, then compares outcomes | Compares groups that were not randomly assigned, such as two schools |
| Example | National survey of household internet access in 2026 | Following 5,000 children from birth to age 18 | Randomly giving half of 400 farms a new irrigation schedule | Comparing a town that adopted a sugar tax with a similar town that did not |
| Causal strength | Weak | Moderate: shows order of events | Strong | Moderate, depends on how comparable the groups are |
| Main cost or limit | Cannot show what came first | Expensive, slow, participants drop out (attrition) | Often impossible or unethical for big social questions | Groups may differ in ways you did not measure |
Step 4 of 11Practice · Match the pairs
Match each study to its design.
Tap an answer, then tap the place where it belongs (or drag it there).
- A survey asks 2,000 adults once about exercise and mood
- The same 800 workers are surveyed every year for ten years
- A coin flip decides which of 60 classrooms get a new science kit
- Crime rates are compared in districts with and without new street lighting chosen by the city
Step 5 of 11Learn
Longitudinal designs: three flavors
"Longitudinal" covers several designs that track change over time:
- Panel study: the same individuals are measured repeatedly. This reveals individual change: who moved out of poverty and who fell into it. Its weakness is attrition: people move, lose interest or die, and those who leave often differ from those who stay.
- Cohort study: follows a group that shares a starting experience, such as everyone born in a given week, or all workers hired in one year. Large birth cohort studies in several countries have followed thousands of people for decades.
- Trend study (repeated cross-sections): new samples from the same population at different times, such as an annual poll of 1,000 different adults each year. It shows how the population changes, but not how individuals change.
A common mistake is to read trend data as individual change. If support for a policy stays at 50% for five years, that might mean nobody changed their mind, or that millions switched in both directions. Only a panel can tell the difference.
Longitudinal designs strengthen temporal precedence but do not by themselves rule out confounders. A child who reads more at age 8 and earns more at 30 may come from a family with more resources, which drives both.
Step 6 of 11Practice · True or false
An annual poll that interviews a fresh random sample of 1,000 adults each year can show how many individuals changed their opinion between years.
Step 7 of 11Learn
Quasi-experiments and difference-in-differences
Many important questions cannot be randomized. You cannot assign cities to raise their minimum wage. Researchers then use quasi-experimental designs that approximate an experiment.
One of the most widely used is difference-in-differences (DiD). Suppose City A introduces a free bus pass for students in September, and City B, which is similar, does not. Average weekly bus trips per student:
| Before | After | |
|---|---|---|
| City A (pass) | 4.0 | 7.5 |
| City B (no pass) | 3.8 | 4.6 |
A naive comparison says trips in A rose by 3.5. But trips in B also rose by 0.8 (perhaps fuel prices went up). DiD subtracts that background change:
DiD = (7.5 − 4.0) − (4.6 − 3.8) = 3.5 − 0.8 = 2.7 extra trips per week attributed to the pass.
The key assumption is parallel trends: without the pass, City A would have changed by the same amount as City B. Researchers check this by looking at several years before the policy. If the two cities were already diverging, the estimate is unreliable.
Other quasi-experimental tools include natural experiments (chance events such as lotteries or sudden policy changes) and regression discontinuity (comparing people just above and just below a cutoff, like a scholarship awarded at a test score of 80).
Step 8 of 11Try the calculator
Difference-in-differences calculator
Enter the before and after averages for the group that received the change and the comparison group.
- Change in treated group
- 3.5
- Change in comparison group
- 0.8
- Difference-in-differences estimate
- 2.7
Step 9 of 11Practice · Work it out
A region introduces a recycling bonus. Recycling rates go from 30% to 42% in the region and from 31% to 35% in a similar region without the bonus. What is the difference-in-differences estimate, in percentage points?
Step 10 of 11Note
Step 11 of 11Practice · What would you do?
What would you do?
A city wants to know whether its new after-school program reduces juvenile arrests. Enrollment is voluntary. A consultant compares arrest rates of enrolled and non-enrolled teens in the same year and finds enrolled teens are arrested 40% less often. What is the biggest weakness?
Lesson complete!