Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to save stata summarise results to word or excel

    Hi I used the following code to get descriptive statistics for my panel data:

    sort year
    by year: summarize cash

    By doing so I managed to know the descriptive statistics for variable cash for each year, ie mean, max, minimum etc.
    Can anyone please tell me how to save this series of results to word document in a table format? Thank you so much!

  • #2
    Code:
    sysuse auto.dta,clear
    global v price mpg rep78 headroom trunk weight length
    logout, save(your storage path\table) word replace: ///
    tabstat $v , s(mean p50 sd min max N) format(%6.3f) c(s)
    for your reference
    2B or not 2B, that's a question!

    Comment

    Working...
    X