Papers › Difference-in-Differences Estimators for Treatments Continuously Distributed at Every Period
Difference-in-Differences Estimators for Treatments Continuously Distributed at Every Period
Clément de Chaisemartin, Xavier D'Haultfœuille, Félix Pasquier, Doulo Sow, Gonzalo Vazquez-Bare
We propose difference-in-differences (DID) estimators in designs where the treatment is continuously distributed in every period, as is often the case when one studies the effects of taxes, tariffs, or prices. We assume that between consecutive periods, the treatment of some units, the switchers, changes, while the treatment of other units, the stayers, remains constant. We show that under a parallel-trends assumption, weighted averages of the slopes of switchers' potential outcomes are nonparametrically identified by difference-in-differences estimands comparing the outcome evolutions of switchers and stayers with the same baseline treatment. Controlling for the baseline treatment ensures that our estimands remain valid if the treatment's effect changes over time. We highlight two possible ways of weighting switcher's slopes, and discuss their respective advantages. For each weighted average of slopes, we propose a doubly-robust, nonparametric, √(n)-consistent, and asymptotically normal estimator. We generalize our results to the instrumental-variable case. Finally, we apply our method to estimate the price-elasticity of gasoline consumption.
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Results from the paper archive 2025-07-28
No leaderboard rows for this paper in the archive.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections