Dear Community,
I want to hide fixed effects generated by i. in the results table
I built 3 models:
model 1:
model 2:
model 3:
I want to have table with results that doesn't show particular years and companies. I just want to have the information whether I applied fixed effects or not.
I tried the code:
However I got an error message : coeffcient company not found
If I ommit the code indicate I got the table with results but I see the listed years and companies and it is not what I wanted.
I want to hide fixed effects generated by i. in the results table
I built 3 models:
model 1:
Code:
xtreg y1 x1 eststo m1 estadd local fixed "no", replace estadd local company "no", replace estadd local year "no", replace
Code:
xtreg y1 x1 i.year i.company eststo m2 estadd local fixed "no", replace estadd local company "yes", replace estadd local year "yes", replace
Code:
xtreg y1 x1,fe eststo m3 estadd local fixed "yes", replace estadd local company "no", replace estadd local year "no", replace
I tried the code:
Code:
esttab m1 m2 m3 using results.rtf, /// cells(b(star fmt(%9.3f)) se(par)) /// indicate (company year) /// stats(r2_a N fixed company year, fmt(%9.3f %9.0fc) labels("R-squared" "Observations" "fixed effects" "company fixed effects" "year fixed effects")) /// legend label collabels(none) varlabels(_cons Constant) /// note(Standard errors are in parentheses. ) /// title({\b Table 1.} {\regresssion results}) replace
However I got an error message : coeffcient company not found
If I ommit the code indicate I got the table with results but I see the listed years and companies and it is not what I wanted.
Comment