I have an unbalanced data of 3000 firms over 30 years. I am trying to run a regression with firm and year fixed effects and two way clustering across firms and years. I am trying the following commands. Is this the correct way to estimate?
1) xi: xtivreg2 Y x1 x2 x3, fe cluster( firmID Year)
or
2) xi: xtivreg2 Y x1 x2 x3 i.year, fe cluster( firmID Year)
Also, it gives me centered and uncentered R2. Which one of them is equivalent to the adjusted-R2?
Finally, there is NO constant in the output. Why is that?
Related Posts with Firm and year fixed effects with two way clustering- Is this command correct?
Bootstrapping or robust standard errors?Hi, I am new to stata and self-thought, so please have overlook if I have missunderstood anything. I…
Computing predictive margins (mimrgns) for gsem with random effectsDear Statalisters, I would much appreciate your help with the following problem: I am not able to …
Multiple Imputation on Panel Data - Error regarding variance-covariance matrix (EM did not converge)Dear All, I am tackling my thesis and i have panel data on around 150 companies between the years 2…
Heckman MLE and convergence issueHello Everyone, I am currently trying to estimate a gravity model for migrations and face a problem…
code for testing of multiple unknown structural breaksI´m using stata 16 with windows 10 OS. I want to identify multiple structural break of unknown date…
Subscribe to:
Post Comments (Atom)
0 Response to Firm and year fixed effects with two way clustering- Is this command correct?
Post a Comment