Dear Statalist followers,
I am exploring the table command introduced in Stata 17. The command looks quite versatile, I was hoping for a practical example of how to output a nicely formatted descriptive statistics table with min, mean, max, SD and correlations (with statistical significance). Essentially, I want to do the same as with the user-written asdoc command below, but using the new table command:
I would appreciate the example to better understand the syntax of the command.
Thanks,
Marvin
I am exploring the table command introduced in Stata 17. The command looks quite versatile, I was hoping for a practical example of how to output a nicely formatted descriptive statistics table with min, mean, max, SD and correlations (with statistical significance). Essentially, I want to do the same as with the user-written asdoc command below, but using the new table command:
Code:
ssc install asdoc sysuse auto, clear asdoc sum price mpg weight length /// , label dec(2) title(Means, Standard Deviations, Minimums, Maximums) stat(mean sd min max) save(descriptive_statistics.doc) replace asdoc pwcorr price mpg weight length /// , star(.05) label dec(2) save(descriptive_statistics.doc) append
Thanks,
Marvin
Comment