Hi everyone,

I have a panel dataset for multiple firms throughout 8 years and I'm trying to use a pooled OLS with industry specific effects with the reghdfe command to control for a categorical variable (NAICS Industry Code). I installed the command and typed: reghdfe DV IV control variables i.year, absorb(NAICS Industry Code). I'm not used working with Stata and therefore I'm not completely sure if this is the correct way to use the command. Is is correct to use i.year within the variables or should I add it to the absorbed variables?

In addition I'm using a Fixed Effect Panel Regression and control for clustered standard errors. Do I have to control for clustered standard errors in the reghdfe as well or is it sufficient to just do it within the fixed effect panel regression?

Thanks a lot for your help!