Concepedia

Publication | Closed Access

BACONDECOMP: Stata module to perform a Bacon decomposition of difference-in-differences estimation

63

Citations

0

References

2019

Year

Abstract

bacondecomp shows a Bacon decomposition of difference-in-differences estimation with variation in treatment timing. The two-way fixed effects DD model is a weighted average of all possible two-group/two period DD estimators. The command generates a scatterplot of 2x2 difference-in-difference estimates and their associated weights. The data must be xtset and the variable list must include an outcome as the first item, and a treatment that can only turn from zero to one during the time period examined as its second item.