Announcement

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

  • Display p values with significance stars for several oneway ANOVAs & Kruskal Wallis tests in table

    I would like to display the test statistics or p values including significance stars of several oneway ANOVA and Kruskal Wallis test in a table and export this table to Excel (.csv format).
    Does anyone have experience with this?
    Thanks!

  • #2
    kwallis saves results in r() macros and anova saves results in e() macros so you may need a slightly different approach for each. There are lots of table-making utilities written by Stata users and available on SSC or Stata Journal (including e.g. estout/esttab, outreg, tabout) that can export to spreadsheet, MS Word/rtf, and TeX formats: use search to find the flavour that best suits you. It's a bit more complicated than outputting standard regression results, but do-able.

    By the way, (a) welcome to Statalist.. (b) "Caro Med" is a strange username to my eyes (especially given the double quotation marks). Forum etiquette strongly supports use of realnames (firstname lastname): see the Forum FAQ. Is your name "Caro Med"? If not, you can re-register by hitting Contact Us at bottom RHS of screen and making the request. Also, (c), telling us what research you've done on your problem before posting is likely to generate more useful responses (see the Forum FAQ on this).

    Comment

    Working...
    X