Hi,
I am new to Stata and have a question about how to construct a panel data regression when I only want to eliminate the time fixed effects.
I have a dataset of 10 industries over 17 years (so I have a problem of small N compared to T). I want to understand the impact of an industry on the dependent variable, and I only want to understand the effect of one industry compared to the average of all others. Can I use -xtset year- to correct for year fixed effects (not including a panel) and then a dummy for the "industry 1" to interpret. Then I will run the -xtreg, fe-. Alternatively, is it better to use LSDV with a dummy for all years + one for the sector in question? I get the same coefficient for industry 1 using both methods, but some minor variation in SE and P values. I also want to use robust standard errors.
I hope you can help me for how to only correct for time fixed effect!
Thank you!
Related Posts with Panel data with only Year Fixed Effects
Correlation of one variable across countries in Panel DataHi all, I am working with a Panel-Data set that includes a number of variables (e.g. Credit, GDP) a…
SIC codes matchingHi, I want to match the SIC codes of the target and acquirer using SDC data (SIC codes). I already d…
Exponent operator doesn't work with generateCan anyone explain this problem I'm having in Stata 15. I just want to generate a variable which is…
Creating a Panal Data Sheet in excel for STATAGood day, I am working on my thesis, and I have separate variables from OECD on excel sheets. Indiv…
variable Omitted due to collinearityHi, I am facing the similar problem of collinearity among independent variables but my model contain…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data with only Year Fixed Effects
Post a Comment