sergiocorreia / reghdfe

Linear, IV and GMM Regressions With Any Number of Fixed Effects
http://scorreia.com/software/reghdfe/
MIT License
219 stars 57 forks source link

How to romove the "_cons" fixed effect in "estfe"[BUG] #270

Open ZorkJ opened 1 year ago

ZorkJ commented 1 year ago

Hi, when I use noabsorb option in reghdfe, it will generate 0._cons fixed effect variables automatically. After I use estfe to prepare estimates for -esttab-, it will always generate _cons=0._cons in r(indicate_fe). Then in esttab results, there will always show a line which lables _cons with Yes/No value. I am wondering how to suspress such _cons line in esttab output?

Thanks in advance!

sergiocorreia commented 1 year ago

Given that you use noabsorb, then what if you tryi not using estfe at all?

ZorkJ commented 1 year ago

I see your point. I can solve this problem by just not include my noabsorb model in estfe command. Thanks!