Skip to main content

Weights to address non-parallel trends in panel difference-in-differences models

Gabriel M. Ahlfeldt


Causal inference using the difference-in-differences (DD) method relies on the untestable assumption of parallel counterfactual trends across units that are assigned to different treatments. To facilitate the application of the method in settings where the parallel trends assumption is seemingly violated, I suggest weighting observations such that the conditional correlations between treatments and pre-treatment outcome trends are minimized, that is, weighted trends are parallel. I evaluate the performance of a weighted parallel trends (WPT) DD estimator in a Monte Carlo study and provide an application to a case study context in which a benchmark estimate exists. The WPT DD approach can be applied in settings with multiple continuous treatment variables as well as to estimating time-varying treatment effects.


1 June 2018


CESifo Economic Studies 64(2) , pp.216-240, 2018


DOI: 10.1093/cesifo/ify013

This Journal article is published under the centre's Urban programme.