I am estimating a panel data fixed effects model (both year and industry). I am aware I can either run -reg or -xtreg for this regression.
Code:
reg board sales i.year i.industry, robust
Code:
xtset year xtset industry xtreg board sales, fe vce(robust)
In addition to that, when would I be right to leave to constant out. That is, run:
Code:
reg board sales i.industry i.year, noconstant robust
Thanks in advance.
0 Response to Estimating FE model with -reg or -xtreg
Post a Comment