A formal approach to variable selection in difference-in-differences
This paper proposes a formal, graph-based framework for selecting covariates to satisfy conditional parallel trends in difference-in-differences analysis, arguing that identification challenges often stem from a misalignment between the adjustment sets required for validity and those used by popular estimators rather than from the estimators themselves.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to figure out if a new, expensive vitamin actually helps people grow taller. You have two groups: one group takes the vitamin (the "treated"), and the other doesn't (the "control").
The classic way to test this is the Difference-in-Differences (DiD) method. It's like looking at a race. You check how tall everyone was at the start of the race (before the vitamin). Then, you check how tall they are at the finish line (after the vitamin). The logic is: If the non-vitamin group kept growing at the same speed they were going before, we can assume the vitamin group would have done the same if they hadn't taken the vitamin. The difference between what actually happened and what "would have happened" is the effect of the vitamin.
However, this only works if the two groups were running on the same track to begin with. If the vitamin group was already naturally taller or had better shoes, the race isn't fair. This is the "Parallel Trends" assumption.
This paper is like a rulebook for referees on how to make sure the race is actually fair. Here is the breakdown of their new rules, explained simply:
1. The "Kitchen Sink" Problem
In the past, researchers often just threw every single piece of data they had into the mix (height, weight, shoe size, favorite color) without thinking about why. They called this the "kitchen sink" approach.
- The Paper's Fix: You can't just throw everything in. You need a map (a "causal diagram") to see which variables actually matter. Some variables might look important but actually mess up the race.
2. The "Perfect Balance" Myth
The old way of thinking assumed that if you just looked at the groups as a whole, their growth trends would naturally balance out perfectly.
- The Paper's Fix: This is like hoping two different cars will drive at the exact same speed just because they are both cars. It's a very strong, unrealistic assumption. The paper shows that often, the groups aren't balanced unless you account for specific differences (like engine size or tire pressure).
- The Trap: Sometimes, if you do try to balance them by adding too many variables, you might accidentally break the perfect balance that was already there, making the result worse instead of better.
3. The "Boring" Variable
Usually, researchers ignore variables that don't change over time (like a person's gender or their birth city) because they think, "Well, that doesn't change, so it can't be the reason the vitamin worked."
- The Paper's Fix: Sometimes, these "boring" variables are actually the secret sauce! Even if a variable doesn't change, it might be the reason the two groups were different to begin with. Adjusting for it can save the study. It's like realizing that even though the cars didn't change their color, the color actually determined which track they were on.
4. The "After-the-Fact" Variable
Standard advice says: "Never look at data collected after the treatment starts." For example, don't look at how much the vitamin group ate after taking the vitamin, because maybe the vitamin made them hungry.
- The Paper's Fix: It depends on why the eating habits changed.
- If the vitamin made them hungry, don't count the eating (it's part of the effect).
- But if something else caused them to eat more (like a new restaurant opening nearby), you must count that, or you'll get the wrong answer.
- The Metaphor: It's like a detective. If a suspect's alibi changes because of the crime, you ignore it. But if the alibi changes because of a traffic jam (unrelated to the crime), you have to account for the traffic jam to solve the case.
5. The "Staggered" Start
Sometimes, different groups get the treatment at different times (like states rolling out a new law in 2020, 2021, and 2022).
- The Paper's Fix: The paper distinguishes between when the treatment starts and what the treatment is. If the treatment itself changes over time based on how things are going (dynamic), it creates a feedback loop that is hard to untangle. If the treatment is just a one-time thing that happens at different times for different people (static), it's much easier to handle.
6. The "Wrong Tool" vs. "Wrong Settings"
There has been a lot of arguing in the scientific community about which "calculator" (statistical estimator) is best for this job.
- The Paper's Big Discovery: It doesn't matter which calculator you use! The problem isn't the calculator; it's the settings you put into it.
- The Metaphor: Imagine you are baking a cake. You can use a fancy electric mixer or a simple wooden spoon. If you use the wrong ingredients (the wrong variables), the cake will taste bad no matter which tool you use.
- The Solution: The authors show you exactly how to set the "ingredients" (the adjustment set) for any calculator you want to use. If you feed the right variables into the machine, even the simplest machine will give you the right answer.
The Bottom Line
This paper tells researchers: Stop guessing which variables to use.
- Draw a map of cause-and-effect.
- Use that map to pick the exact right variables to balance your groups.
- Don't worry about picking the most complex statistical tool; just make sure you feed the right variables into whatever tool you have.
If you do this, you get a fair race and a true answer. If you don't, you might be measuring the wrong thing entirely.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.