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?
country-fixed effects, country-specific time trends and time-fixed effects in a panel VARDear all, greetings, I am facing a similar problem with a panel VAR model. I want to add country-fix…
using quaids command for two demand equations?Hi stata users, Quite some time ago I've modelled a two-good demand system (water expenditure // eve…
Bootstrapping with 2 samplesHi there, I'm not an expert STATA user, so I hope to get some help in this forum. Here is my set up…
Overlaid area plot for assets and debtHi all, I want to create an overlaid area plot, with different types of assets (and debts) as yvars…
Help with merging variablesHi, i have 3 variables concerning migrationsbackground: born in country (yes or no), mother born in …
Subscribe to:
Post Comments (Atom)
0 Response to Firm and year fixed effects with two way clustering- Is this command correct?
Post a Comment