Difference-in-differences (source code)

= Difference-in-differences
{wiki}

Difference-in-differences compares outcome changes across exposed and unexposed groups. Its standard identifying condition is that their untreated outcomes would have followed parallel trends.