asdocx : Basic use
Using asdocx is pretty easy. You need to add just asdocx as a prefix to Stata commands. For example, we use the sum
command to find summary statistics of all numeric variables in the dataset. We shall add just asdocx as a prefix to sum
.
Let us load the auto.dta
set for practice and find summary statistics of all numeric variables and send the output to MS Word.
sysuse auto asdocx sum
And voila, a beautiful table of the descriptive statistic is ready [click here to see it].
And for creating a table of correlations among all numerical variables, we shall type asdocx cor
.
If we were to append the results to the same file, we shall add append
after the comma or leave it (append
is the default, we can use replace
to replace the existing file)
asdocx cor * OR asdocx cor, append