Dear STATA community,
I am new to this forum and I hope you can help me with my problem.
i am investigating expenditures of municipalities in a german state between 2009 and 2020 (N = 400, T = 11 years) by using a fixed effect panel data regression. One central point of interest is the investigation of a policy measure that took place in 2015 and lasted until 2020. I am planning on modeling this measure with a explanatory dummy variable which turns to 1 in 2015. This is the reason why I am using a fixed effects model as I am intrested in intra-municipal changes over time especially due to this external shock (hausmann test recommended it as well).
So far, I've been using the xtreg, fe command with cluster robust standard errors (vce(cluster id)).
After the regression the testparm i.year command is telling me that there are time fixed effects which need to be included in the model. Furthermore, the Pesaran test (xtcsd, pesaran abs) identifies cross level dependency which - as I have read - is quite ususal when working with administrative observation units.
I was thinking about using Driscoll and Kraay (1998) robust standard errors (xtscc) in orer to controll for cross level dependency, but according to the literature these only apply for cases with large T and small N.
Both the cross dependence issue and the problem with time fixed effects might be solved by including year dummies, but ,first, I don't know how to interpret the dummies (or whether they are interpretable at all) and, second, I think there will be problems interpreting the policy dummy as the effect might be (partially) absorbed by the year dummy.
My questions in particular:
Best regards
Niko
I am new to this forum and I hope you can help me with my problem.
i am investigating expenditures of municipalities in a german state between 2009 and 2020 (N = 400, T = 11 years) by using a fixed effect panel data regression. One central point of interest is the investigation of a policy measure that took place in 2015 and lasted until 2020. I am planning on modeling this measure with a explanatory dummy variable which turns to 1 in 2015. This is the reason why I am using a fixed effects model as I am intrested in intra-municipal changes over time especially due to this external shock (hausmann test recommended it as well).
So far, I've been using the xtreg, fe command with cluster robust standard errors (vce(cluster id)).
After the regression the testparm i.year command is telling me that there are time fixed effects which need to be included in the model. Furthermore, the Pesaran test (xtcsd, pesaran abs) identifies cross level dependency which - as I have read - is quite ususal when working with administrative observation units.
I was thinking about using Driscoll and Kraay (1998) robust standard errors (xtscc) in orer to controll for cross level dependency, but according to the literature these only apply for cases with large T and small N.
Both the cross dependence issue and the problem with time fixed effects might be solved by including year dummies, but ,first, I don't know how to interpret the dummies (or whether they are interpretable at all) and, second, I think there will be problems interpreting the policy dummy as the effect might be (partially) absorbed by the year dummy.
My questions in particular:
- Are there standard errors which controll for cross level dependencies in cases with large N and small T?
- Do you know other ways of controlling for time fixed effects when using a fixed effects model?
Best regards
Niko
Comment