Announcement

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

  • groups command, export/copy table to excel

    the groups function is a very useful command, however the output seems to be not very transferable - is there a way to export the results to excel? Copy Table does not work for -groups- ouput
    Either with the same function as "copy Table" for other output, or putexcel?
    Thanks

  • #2
    The groups command (not function) is downloadable from the Stata Journal.

    Code:
    search st0496
    finds clickable links.

    Code:
    SJ-18-1 st0496_1 . . . . . . . . . . . . . . . . . Software update for groups
    (help groups if installed) . . . . . . . . . . . . . . . . N. J. Cox
    Q1/18 SJ 18(1):291
    groups exited with an error message if weights were specified;
    this has been corrected
    
    
    SJ-17-3 st0496 . . . . . Speaking Stata: Tables as lists: The groups command
    (help groups if installed) . . . . . . . . . . . . . . . . N. J. Cox
    Q3/17 SJ 17(3):760--773
    presents command for listing group frequencies and percents and
    cumulations thereof; for various subsetting and ordering by
    frequencies, percents, and so on; for reordering of columns;
    and for saving tabulated data to new datasets
    What you see documented is what there is. You can use the saving() option to save the table as a new dataset and then export excel. Otherwise I haven't been tempted to provide any such functionality. It's not something I ever do.
    Last edited by Nick Cox; 29 Oct 2019, 12:15.

    Comment

    Working...
    X