Announcement

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

  • Export ttest and ANOVA Results to Excel

    I need help coding export of ttest and ANOVA results to Excel. For correlation, I ran the following:

    putexcel set "file.xlsx", sheet(RQ1.2, replace) modify
    pwcorr v1 v2, sig star(.05)
    putexcel A1 = matrix(r(C)), names

    How do I use the putexcel command for ttest and ANOVA results? Thanks!

  • #2
    See https://www.stata.com/manuals/tablesexample4.pdf and https://www.stata.com/manuals/rtableregression.pdf on using collect to retrieve the results, then export as an Excel file using collect export.

    Code:
    help collect export

    Comment

    Working...
    X