Dear statalist,
I want to run a regression with firm and year fixed effects, with firm-clustered standard errors, and without the constant term, I believe -reghdfe- can be combined with -nocons-, but why when I run the code below, stata says "invalid options: nocons"?
Thanks a lot for any suggestion!
I want to run a regression with firm and year fixed effects, with firm-clustered standard errors, and without the constant term, I believe -reghdfe- can be combined with -nocons-, but why when I run the code below, stata says "invalid options: nocons"?
Code:
reghdfe y x1 x2 x3 x4 x5 x6, absorb(firm year) nocons vce(cluster firm)
Comment