Dear Stata listers,
in my fixed effects model linear Regression I want to provide r2 within values in the Output table.
I´m using the esttab command which currently Looks like this:
xtreg $ylist $xlist i.Year, fe vce(robust)
eststo: quietly xtreg $ylist $xlist i.Year fe vce(robust)
estadd local fixed "yes", replace
xtreg $ylist $xlist age*tenure i.Year, fe vce(robust)
eststo: quietly xtreg $ylist $xlist age*tenure i.Year, fe vce(robust)
estadd local fixed "yes", replace
esttab se(2) b(2) star(* .01 ** .005 *** .01) s(fixed N, Label("Year fixed effects")) drop (*Year)
The Output provides the Models in one table and Displays everything I wanted correctly: two Point decimals for coefficients and Standard Errors, significance Levels as indicated by stars at the coefficients and a bottom line stating "fixed effects" yes for every model.
Now, I´d like to add some Information about r2. Most preferably I want to disclose r2 withing because that is the r2 being of interest for the fixed effects model.
However, I can not figure out a way how to do that. At most I manage to get Overall r2.
Is it not possible at all to Display the values for r2 within in Connection with the esttab command? If that is the case, could anyone please provide some help?
Thank you very much,
Sophie
in my fixed effects model linear Regression I want to provide r2 within values in the Output table.
I´m using the esttab command which currently Looks like this:
xtreg $ylist $xlist i.Year, fe vce(robust)
eststo: quietly xtreg $ylist $xlist i.Year fe vce(robust)
estadd local fixed "yes", replace
xtreg $ylist $xlist age*tenure i.Year, fe vce(robust)
eststo: quietly xtreg $ylist $xlist age*tenure i.Year, fe vce(robust)
estadd local fixed "yes", replace
esttab se(2) b(2) star(* .01 ** .005 *** .01) s(fixed N, Label("Year fixed effects")) drop (*Year)
The Output provides the Models in one table and Displays everything I wanted correctly: two Point decimals for coefficients and Standard Errors, significance Levels as indicated by stars at the coefficients and a bottom line stating "fixed effects" yes for every model.
Now, I´d like to add some Information about r2. Most preferably I want to disclose r2 withing because that is the r2 being of interest for the fixed effects model.
However, I can not figure out a way how to do that. At most I manage to get Overall r2.
Is it not possible at all to Display the values for r2 within in Connection with the esttab command? If that is the case, could anyone please provide some help?
Thank you very much,
Sophie
Comment