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
calculate the number of sharemy data looks like this and I want to calculate how many times did each bank lead in the year for e…
Applying HCUP software on NIS data through STATAHello everyone, I'm using NIS data for research, which is a dataset that uses ICD-10 codes to genera…
Proportion test for multiple groupsHi, I want to compare how does use of drug "A" differs across age categories. Total drug A users w…
dynamic probit fixed effects model using "probitfe" r(3900)Hi all, I am working with large dynamic binary panel data with i=53856 and t=11 (total obs. 592416)…
Which test to use in Stata? Relationship Wage Gender EducationHello, a very naive and at the same time simple question: For a project in statistics where we wan…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data with only Year Fixed Effects
Post a Comment