I am attempting to automate the creation of a summary statistics table to report the standard deviation for a set of variables. Please take the following rudimentary "skeleton" table as an example of what I am trying to create.
SD | SD Net Panel FE | SD Net Panel and Time FE | |
Variable A |
Now, please consider the Stata example dataset "xtline1.dta" as an example of the panel data that I am working with.
Code:
sysuse xtline1, clear xtset person day quietly regress calories di e(rmse) quietly xtreg calories, fe i(person) di e(rmse) quietly xtreg calories i.day, fe i(person) di e(rmse)
Using this example, how would one automate the creation of the included skeleton table? I have tried using Ben Jann's wonderful estout package, but the "estadd, ysumm" command doesn't seem to accommodate calculating the summary statistics for the y-variable across multiple model specifications.
Any help would be greatly appreciated. Thank you for your time.
0 Response to Automating the Creation of a Table to Report Summary Statistics Net Panel and Time Fixed Effects
Post a Comment