I'm using the Two-Way Mundlak Regression where the margins command is used for calculating ATTs for specific periods:
Does anyone know how can I use margins for calculating the ATT of all groups and cohorts together (similar to the ATT of Callaway & Sant'Anna)? Thanks.
Code:
margins, dydx(w) at(d4 = 1 d5 = 0 d6 = 0 f2014 = 1 f2015 = 0 f2016 = 0) /// subpop(if d4 == 1) vce(uncond)
Comment