A difference-in-differences estimate of a treatment’s effect compares the change in an outcome for treated units between before and after with the change for untreated (control) units over the same dates: . It removes what changed for everyone, under the assumption that treated and control outcomes would have moved in parallel without the treatment; in a regression it is the coefficient on the interaction of the treated and after indicators.
mx_ticks.did_panel.