I have a difference-in-differences model for outcome "y" after multiple groups undergo a treatment. I want to drop the main interaction term (treat*post) in the following model, so that I can keep all group dummy interactions:
xtset id year
xtreg log_y i.treat##i.post##i.group_dummy i.year, fe
Otherwise, in the above specification, STATA uses one of my groups as the baseline to measure the treat*group_dummy interaction, but I would like to have coefficients for the treatment effect for all of the treat*post*group_dummy interactions (without falling into the dummy variable trap).
Thanks--in advance--for your advice!
xtset id year
xtreg log_y i.treat##i.post##i.group_dummy i.year, fe
Otherwise, in the above specification, STATA uses one of my groups as the baseline to measure the treat*group_dummy interaction, but I would like to have coefficients for the treatment effect for all of the treat*post*group_dummy interactions (without falling into the dummy variable trap).
Thanks--in advance--for your advice!
Comment