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?
Forest plots - how do I move the null reference line in meta forest?Hi, I am trying to make a Forest plot of odds ratios. The studies cannot be combined, I'm only tryi…
multiple criteria across several variablesHi there Sorry if this is really basic, but I want to flag every observation where both values 3 an…
Calculating sample size with more parametersHello, I am trying to calculate sample size with the parameters below. I used the code below to cal…
Resetting IndexHello, I have a panel dataset containing three vars: nation, year, and a variable called 'event' wh…
2SLS on Panel DataHi guys! I'm using 2SLS on Panel Data, however when I calculate 2SLS manually, I mean, by doing: F…
Subscribe to:
Post Comments (Atom)
0 Response to Firm and year fixed effects with two way clustering- Is this command correct?
Post a Comment