tabstat2excel is a new user written command that was submitted to SSC
It exports a tabstat table directly to Excel (using var labels instead of var names). Standard output includes the number of observations, mean, median, min and max.
Sample output
I hope that people find it useful!
It exports a tabstat table directly to Excel (using var labels instead of var names). Standard output includes the number of observations, mean, median, min and max.
Code:
ssc install tabstat2excel
Code:
sysuse auto tabstat2excel price weight, filename(summary) tabstat2excel price weight if foreign == 0, filename(summary)