Esttab Summary Statistics. The macro can take on any name. Use columnsvariables and columnsstatistics to determine whether to display variables or statistics in the columns.
Oct 16 2020 I also want to export summary statistics to wordexcel and I manage to get the following steps to work. 41 rows Sep 03 2019 esttab summary statistics table with sample sizes for by subgroups 03 Sep 2019 1715. Esttab is a wrapper for estout and the help for the latter documents that it will take results from emyel which you have from estpost summarize detail.
Suppose you have Statas dataset autodta and want to build a table in latex containing the descriptive statistics for the cars by origin that is foreign or national as indicated by the dummy foreign.
Fsum _all statn mean sd uselabel. You can install it by typing this in Stata. Tabstat _all statisticscount mean sd columnsstatistics Yet another one only that it allows variable labels to be displayed. Lets call it summstats.
