Ever wanted to create high-quality summary statistics with one click in Stata. asdoc creates excellent tables of summary statistics such as mean, standard deviation, minimum, maximum, etc. asdoc offers four different methods of creating tables of summary statistics. These are discussed below with examples and relevant options. To know about installation of the program and other feature, you can visit this blog post.
Simple tables of summary statistics:
To create a simple table of summary statistics, we normally type summarize or sum command in Stata. To send output from sum command to a Word document, we shall type the following. A picture of the output file is also shown below.
sysuse auto asdoc sum
Summary / descriptive statistics for selected variables
asdoc sum price mpg rep78 headroom trunk
Summary / descriptive statistics with [if] [in] conditions
asdoc sum price mpg rep78 headroom trunk if price>4000
Reporting customized decimal points
asdoc sum, dec(2)