Announcement

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

  • outreg2 after tab1

    Using the below code, I generate several one-way frequency tables. I would like to send all the tables to excel/word using a single outreg2 command. Also, I was wondering if I can have all of the tables in a single table together.

    by NH_RCF, sort : tab1 BQ4 BQ5 agecat_ agecat Race BQ6 BQ8 BQ7 BQ10 size_cat Ownership urban, m

  • #2
    Cross-posted at https://stackoverflow.com/questions/...eg2-after-tab1

    Please note our policy on cross-posting, explained in the FAQ Advice, which is that you are asked to tell us about it,

    Comment


    • #3
      I deleted the post in the stack overflow. Thanks.

      Comment


      • #4
        I think this is what I was looking for:
        sort NH_RCF
        tabout BQ4 BQ5 agecat_ agecat Race BQ6 BQ8 BQ7 BQ10 size_cat Ownership urban NH_RCF ///
        using "/Users/nadermehri/Desktop/Family Sat 08012019/descriptive.csv", ptotal(single) replace c(freq col) f(0c 2p) style(csv) ///
        layout(No. % No. % No. %)

        Comment

        Working...
        X