Hi all,
I have this panel dataset that spans over the period 2007-2013 with 1580 unique US firms that all fit to a particular industry (based on standard industrial classification (siccode)).
The panel data is set at xtset gvkey fyear (firms and fiscal year).
Now my question is how to include industry fixed effects rather than firm fixed effects in my model? I cannot set the panel data like xset siccode fyear (industries and fiscal years) because there are repeated time values within the panel since all firms are unique but the siccodes/industry classifications are obviously not unique since different firms can belong to the same industry over time (industries are like a group).
I would like to include these effects since CEO compensation or the use of compensation consultants may be industry specific and vary across industries.
My question is how to code this properly in stata with xtreg or areg commands.
Thanks in advance.
Best,
Roy
I have this panel dataset that spans over the period 2007-2013 with 1580 unique US firms that all fit to a particular industry (based on standard industrial classification (siccode)).
The panel data is set at xtset gvkey fyear (firms and fiscal year).
Now my question is how to include industry fixed effects rather than firm fixed effects in my model? I cannot set the panel data like xset siccode fyear (industries and fiscal years) because there are repeated time values within the panel since all firms are unique but the siccodes/industry classifications are obviously not unique since different firms can belong to the same industry over time (industries are like a group).
I would like to include these effects since CEO compensation or the use of compensation consultants may be industry specific and vary across industries.
My question is how to code this properly in stata with xtreg or areg commands.
Thanks in advance.
Best,
Roy
Comment