Hello, I just posted this issue in another threat but decided it would be easier to use a new topic.
I am using a difference in difference framework to investigate the effect of an event on a set of firms.
My regressions are of the following type:
where treatment and postevent are two dummy variables and the if- statement varies in different specifications of the regression.
I want to use a fixed effects model. The cross-sectional identifier is "FirmID" and the time variable is "quarter".
Would the following code be correct?
If i run this regression, Stata excludes 1treatment*1postevent because of collinearity. Does this mean I cannot use a fe model within a DiD analysis?
Lastly, I have the following questions:
Does the fe model now control for differences in the cross sectional identifier AND the time variable or only one of them?
Does the inclusion of fe make the use of firm- specific control variables redundant?
Help is much appreciated! Thank you in advance!
Best,
Chris
I am using a difference in difference framework to investigate the effect of an event on a set of firms.
My regressions are of the following type:
Code:
reg Y Treatment#Postevent ControlVariable1 ControlVariable2 ControlVariable3 if...
I want to use a fixed effects model. The cross-sectional identifier is "FirmID" and the time variable is "quarter".
Would the following code be correct?
Code:
xtset FirmID quarter xtreg Y Treatment#Postevent ControlVariable1 ControlVariable2 ControlVariable3 if..., fe
Lastly, I have the following questions:
Does the fe model now control for differences in the cross sectional identifier AND the time variable or only one of them?
Does the inclusion of fe make the use of firm- specific control variables redundant?
Help is much appreciated! Thank you in advance!
Best,
Chris
Comment