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
Predicting factorscores after conducting a CFA based on summary statisticsI have a dataset consisting of 11 items of binary data (0/1) that will be the basis for my dependent…
How to calculate median of 5 year Age category of 15-49 year women sample in DHSDear Statalist May I request how to calculate for Median of 5 year age category of 15-49 year women…
Meta-Analyses-HeterogeneityHello, I ran a meta-analyses and I found a statistical significant heterogeneity on my data. After …
New version of vallabsave on SSCThanks as always to Kit Baum, a new version of the vallabsave package is now available for download …
replacing error charactersI would like to know how to make reference to this character which is displayed in the data editor a…
Subscribe to:
Post Comments (Atom)
0 Response to Two variables combined fixed effect with clustered standard errors of another variable
Post a Comment