Dear Statalisters,
I have a FE estimation with clustered standard errors, - of a type xtreg y x if ...., cluster(panelid) fe, - and I need to test whether the fixed effects are jointly significant.
As I have clustered standard errors, Stata does not provide me with the F-statistic directly. My understanding for why is that the respective statistics is no longer F-distributed, as (and I am quoting STATA FAQs) "When you have clustering, the observations are no longer independent; thus the joint distribution function for the sample is no longer the product of the distribution functions for each observation."
I have found an earlier suggestion from the Stata list on how one can do this by Kit Baum (see here http://www.stata.com/statalist/archi.../msg00544.html and here http://www.stata.com/statalist/archi.../msg00373.html ), but then also a discussion on why one should not apply this procedure (http://www.stata.com/statalist/archi.../msg01127.html) which is in line with the quote above and which made me concerned.
So, in short, is there any way for me to actually do the testing?
In particular, would using a Wald test adjusted for heteroscedasticity (through adjusting the variance-covariance matrix), and Chi2 with respective degrees of freedom as a (limiting) distribution make any sense? (in my understanding the suggested procedure above is a version of such a test, but I am not fully sure of the exact connection). Or am I saying complete nonsense here?
Some information about my data, just in case: I have different samples for different regressions, they are all unbalanced panels, ranging from, say, 60 to 140 panelids (countries) over 120 time periods (quarters), and an average number of observations for each panel id also varies btw 50 and 105 time periods p/panelid. Clustering is at panelid level. Variables are already in first diff.
Finally, I realize that you may be puzzled by why would I need this procedure at all (as opposed to, say, testing between FE and RE), but this is a request from a referee so my freedom of choice here is rather limited
Thank you in advance,
Regards,
Elena
I have a FE estimation with clustered standard errors, - of a type xtreg y x if ...., cluster(panelid) fe, - and I need to test whether the fixed effects are jointly significant.
As I have clustered standard errors, Stata does not provide me with the F-statistic directly. My understanding for why is that the respective statistics is no longer F-distributed, as (and I am quoting STATA FAQs) "When you have clustering, the observations are no longer independent; thus the joint distribution function for the sample is no longer the product of the distribution functions for each observation."
I have found an earlier suggestion from the Stata list on how one can do this by Kit Baum (see here http://www.stata.com/statalist/archi.../msg00544.html and here http://www.stata.com/statalist/archi.../msg00373.html ), but then also a discussion on why one should not apply this procedure (http://www.stata.com/statalist/archi.../msg01127.html) which is in line with the quote above and which made me concerned.
So, in short, is there any way for me to actually do the testing?
In particular, would using a Wald test adjusted for heteroscedasticity (through adjusting the variance-covariance matrix), and Chi2 with respective degrees of freedom as a (limiting) distribution make any sense? (in my understanding the suggested procedure above is a version of such a test, but I am not fully sure of the exact connection). Or am I saying complete nonsense here?
Some information about my data, just in case: I have different samples for different regressions, they are all unbalanced panels, ranging from, say, 60 to 140 panelids (countries) over 120 time periods (quarters), and an average number of observations for each panel id also varies btw 50 and 105 time periods p/panelid. Clustering is at panelid level. Variables are already in first diff.
Finally, I realize that you may be puzzled by why would I need this procedure at all (as opposed to, say, testing between FE and RE), but this is a request from a referee so my freedom of choice here is rather limited

Thank you in advance,
Regards,
Elena
Comment