Announcement

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

  • Outreg2 titles and panels

    Dear Stata wizards,

    I am replicating stata results from a paper and I am unsure how to add "sub columns" or panels to an outreg table output as highlighted in the table below that I want to replicate:

    Click image for larger version

Name:	Target.PNG
Views:	1
Size:	45.2 KB
ID:	1489997


    Currently I am only able to achieve the following: (and have to have different panels as different tables):

    Thank you in Advance,
    Have a great day,
    John


    Click image for larger version

Name:	now.PNG
Views:	1
Size:	18.4 KB
ID:	1489998

  • #2
    Hi John,

    Not sure how outreg2 implements multi-column titles support, but in good old outreg you could do it quite easily. See pp. 18 of this outreg manual here.

    Comment


    • #3
      By the way, the link for outreg from entering findit outreg times out with an error. Oddly, it also appears to be the link for outreg2:

      outreg from http://fmwww.bc.edu/RePEc/bocode/o
      'OUTREG': module to write estimation tables to a Word or TeX file / outreg
      arranges the results of Stata estimation commands in / tables as they are
      typically presented in journal articles, / rather than as they are
      presented in the Stata Results window. By / default, t statistics appear

      However,
      net sj 12-1 sg97_4

      seems to work

      Comment


      • #4
        I don't know about "old" there in #2 unless it is a term of veneration or refers to age since birth rather than up-to-dateness.

        The history is tangled leaving a great deal of scope for readers to become confused.

        outreg (John Gallup) was first and published first in the Stata Technical Bulletin in 1998, revised there and then radically rewritten in 2012 in the Stata Journal. As I write the latest version is that from SSC bearing a 2015 date. https://www.statalist.org/forums/for...0-outreg-error flags revisions in 2015.

        In contrast outreg2 (Roy Wada) was first published via SSC and was a development of outreg as explained on Statalist in 2005: see https://www.stata.com/statalist/arch.../msg00832.html

        As I write, the last revision of outreg2 on SSC was on 2014. It has never been published elsewhere. Roy has not been a member of Statalist for some years and so fairly frequent advice here is to contact him directly if queries are not resolved directly.

        So, despite a common origin and very similar names, these are now quite separate commands maintained separately by two different people.


        Last edited by Nick Cox; 27 Mar 2019, 03:43.

        Comment

        Working...
        X