Announcement

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

  • how to fit a table with 10 columns and export that to word

    Hello again,

    I'm using esttab (from ssc) to fit 10 regression models in one table and export the table to word. Because there are too many columns here, they couldn't fit in the page and the columns overlap one with another. Is there any other way to get a neater table (using esttab or something else)? Thanks a lot for any suggestions!

    Code:
    logout, save(abcd) word replace fix(5): ///
    esttab model_1 model_2 model_3 model_4 model_5 model_6 model_7 model_8 model_9 model_10, ///
    b(%6.3f) z(%6.3f) ///
    star(* 0.1 ** 0.05 *** 0.01) ///
    scalar(N r2_p) compress nogap

  • #2
    Perhaps the easiest approach is to divide your single wide table into two parts, one with model_1 through model_5 and the other with model_6 through model_10.

    Comment


    • #3
      Some other ideas come to mind, but would requre manipulation in Word. You could make the font slightly smaller or else make the page orientation wide.

      Comment


      • #4
        Hi William and Leonardo,

        Thanks a lot for your suggestions! The question is a bit dumb lol, I thought there might be other ways to achieve this using some user-written commands or sth else, of course manually formatting the table could make it fit the page

        Comment


        • #5
          You may be under orders here, e.g. that teachers, supervisors, advisors, whoever require that you do this. But if not, who is going to read such a table that has to be squeezed so hard? I would prefer to see a graphical summary, or a slimmer table, possibly transposed.

          (I know, it's too easy and possibly not helpful to suggest a quite different approach.)

          Comment

          Working...
          X