Site icon Stata.Professor : Your Partner in Research

Reply To: Summary Statistics of selected variables using asdoc

You have to write the names of those variables. For example, in the following code, I am specifying three variables, ie. price, mpg, and rep78
*Load auto dataset for our example
sysuse auto, clear

*Report summary statistics for only three variables
asdoc sum price mpg rep78, replace
Exit mobile version