Home Forums ASDOC : Easy Publication Quality Tables in Stata Summary Statistics of selected variables using asdoc

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Muvanhu
    Post count: 118

    Hello, how do I create a table of summary statistics using asdoc of selected variables, for example my data has 12 variables but I just want the statistics of 6 variables only. Thank you for your help

    Attaullah Shah
    Post count: 69

    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
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.