Hi Statalist,
I have a situation where I am looking at firm revenues. I want to include county*week fixed effects in the model, so this fixed effect alone amounts to 3000 counties * 21 weeks = 63000 dummies, which exceeds Stata limit even for Stata MP. So I am thinking to use areg, however, I read from the help manual, it seems like areg requires the number of levels for the absorbed variable being less than the cluster number of group (in my case, I want to cluster on state). Does it mean areg is not a feasible command for this case? if areg is not ok, do you have any suggestions about how I could get around with so many fixed effects? thank you.
And a side question I have is: I want to include the interaction between my Diff-in-Diff indicator and a continuous variable about county fixed characteristics. Since I want to omit one period as the base period, I have to include the main effect of the continuous variable as well (in the case of putting county fixed effect dummies in the model, it will drop the main effect of the continuous variable, so including it is just for syntax matters). However, if I can use areg to absorb the county*week fixed effect, since county fixed effect has already being counted in the absorb, will including the main effect of the continuous variable affect the estimation results? Thank you. I asked a question before here, it may help understand the nuanced situation here. https://www.statalist.org/forums/for...n-a-regression
I have a situation where I am looking at firm revenues. I want to include county*week fixed effects in the model, so this fixed effect alone amounts to 3000 counties * 21 weeks = 63000 dummies, which exceeds Stata limit even for Stata MP. So I am thinking to use areg, however, I read from the help manual, it seems like areg requires the number of levels for the absorbed variable being less than the cluster number of group (in my case, I want to cluster on state). Does it mean areg is not a feasible command for this case? if areg is not ok, do you have any suggestions about how I could get around with so many fixed effects? thank you.
And a side question I have is: I want to include the interaction between my Diff-in-Diff indicator and a continuous variable about county fixed characteristics. Since I want to omit one period as the base period, I have to include the main effect of the continuous variable as well (in the case of putting county fixed effect dummies in the model, it will drop the main effect of the continuous variable, so including it is just for syntax matters). However, if I can use areg to absorb the county*week fixed effect, since county fixed effect has already being counted in the absorb, will including the main effect of the continuous variable affect the estimation results? Thank you. I asked a question before here, it may help understand the nuanced situation here. https://www.statalist.org/forums/for...n-a-regression
Comment