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
Complicated coarsed exact matchingHi STATLIST, I am stocked into a matching problem. In particular, I would like to use coarsened exa…
k-mean clustering using existing similarity matrixI have a dataset of workers, and I want to divide them into clusters based on some observables, one …
Potential Stata (MLwiN/Estout) bug - Output of Odds Ratios' Significance Levels Hi all, I think I may have inadvertently stumbled upon a bug after using the runmlwin command for …
What is the correct way to use double-clustering in reghdfe?Hi all, I have a panel data set and I believe that correlations appear in two dimensions with both …
Mauchly's test of sphericity commandI am trying to test the assumption of sphericity for the purpose of running a repeated measures ANOV…
Subscribe to:
Post Comments (Atom)
0 Response to Two variables combined fixed effect with clustered standard errors of another variable
Post a Comment