Dear Statlisters
I had a question in regards to paneldata. I have a dataset that contains information of different companies in different years. The paneldata is unbalanced. My question now is if it is possible to use the industry code and the year as fixed effects in my panel data regression. We split up the companies into different industries by using their SIC codes.Right now I used the code
xtset fyear
xtreg ratio_innovation_high_w openn_ceo_w,fe
OR
xtset industrysic
xtreg ratio_innovation_high_w openn_ceo_w, fe
Is there a way I can combine both of those into one analysis?
Moreover, is it useful for me to eventually use company as fixed effects instead of industries?
Thanks in advance!
Sophie
I had a question in regards to paneldata. I have a dataset that contains information of different companies in different years. The paneldata is unbalanced. My question now is if it is possible to use the industry code and the year as fixed effects in my panel data regression. We split up the companies into different industries by using their SIC codes.Right now I used the code
xtset fyear
xtreg ratio_innovation_high_w openn_ceo_w,fe
OR
xtset industrysic
xtreg ratio_innovation_high_w openn_ceo_w, fe
Is there a way I can combine both of those into one analysis?
Moreover, is it useful for me to eventually use company as fixed effects instead of industries?
Thanks in advance!
Sophie
Comment