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 asdoc as a prefix to sum.

Let us load the auto.dta set for practice and find summary stats of all numeric variables and send the output to MS Word with asdocx.

sysuse auto
asdocx sum

And voila, a beautiful table of the descriptive statistic is ready.

And for creating a table of correlations among all numerical variables, we shall just type asdocx cor.

asdocx cor, replace

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
asdocx cor, append