I have two periods, one pre-intervention and one post-intervention. I want to keep the coefficient of the interaction id#post.
Suppose I use:
Code:
reg y id post id#post, cluster(id)
If I try to use the reghdfe command, for some reason the default is omitting post==1. What bothers me is that even if I try:
Code:
reghdfe y id#io0.post, cluster(id) absorb(post id)
One option is to multiply the whole vector by -1 and be done with it, but I wonder why it isn't omitting post==0? This continues to be the case even if I try something like io0.id#io0.post, it omits post==0 for the first ID, and then for the others, it omits post==1.
0 Response to Setting omitted variable in interaction with reghdfe
Post a Comment