Hi Stata community,
I have an unbalanced panel data set for the years 1992-2018 across different years from various industries classified through 4-digit SIC codes. I tried running firm, year and industry fixed effects models separately using the -areg- commands, which gave me decent results. Now my supervisor wants me to run a fixed effect model with two key variables combined (year and industry), with clustered standard errors by firms. Could anyone give me an idea on what sort of codes would be appropriate?
I ran the following command for the single variable (firm, industry and year) fixed effect models individually:
xtset company_id fiscalyear
areg DV IV1 IV2 IV3, absorb (fiscalyear)
areg DV IV1 IV2 IV3, absorb (company_id)
areg DV IV1 IV2 IV3, absorb (sic)
Looking forward to your suggestions! Cheers!
Related Posts with Two variables combined fixed effect with clustered standard errors of another variable
How to find value for upper adjacent value in boxplot?I would like to know the value of the upper adjacent value in a boxplot I have, so that I can exclud…
Collapse using both string and alphanumericI am trying to collapse three (ultimately more) variables on zip codes, state names, and Congression…
How to calculate the monthly average from daily data?I have daily data from 03-01-1994 to 29-12-1995. The first column is date and the second column is m…
graph bar with several categorical variableshi stata users i would like to do this graph in stata; it's about different services and with a lik…
Help ppml Stata 15Hi, I am trying to run this command on Stata 15: ppml trade EXPORTER_TIME_FE* IMPORTER_TIME_FE* ln…
Subscribe to:
Post Comments (Atom)
0 Response to Two variables combined fixed effect with clustered standard errors of another variable
Post a Comment