Announcement

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

  • How can I put multiple regression results into one table?

    Suppose I have ran
    reg x y
    reg x z
    Now I'd like to put these results in one single table.
    I've tried the outreg command but it is not working in my stata14.
    Thank you in advance!

  • #2
    The table I am looking for is something like this
    Click image for larger version

Name:	WechatIMG1316.jpeg
Views:	1
Size:	105.9 KB
ID:	1518735

    Comment


    • #3
      Perhaps this is a model of what you want.
      Code:
      sysuse auto, clear
      
      regress price mpg
      estimates store reg1
      
      regress price mpg weight
      estimates store reg2
      
      regress price mpg weight foreign
      estimates store reg3
      
      estimates table reg1 reg2 reg3
      Red Owl
      Stata version 16.0 (Windows 10, 64-bit)

      Comment


      • #4
        By "outreg command is not working" it is hard to tell what happened. That said, you may also take a look at the user-written - outreg2 - program.
        Best regards,

        Marcos

        Comment


        • #5
          Much thanks to Red Owl and Marcos! I figured it out. And for future reference, the reason I couldnt use outreg may be that I have STATA14. I tried outreg2 and it works ok

          Comment


          • #6
            You can also try asdoc with option nest. More on it in this Youtube video

            Code:
            ssc install asdoc
            help asdoc
            Regards
            --------------------------------------------------
            Attaullah Shah, PhD.
            Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
            FinTechProfessor.com
            https://asdocx.com
            Check out my asdoc program, which sends outputs to MS Word.
            For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

            Comment

            Working...
            X