Announcement

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

  • Using Stata's outreg to put results from multiple univariate regressions with the same dependant variable on one graph

    I have two univariate regressions that I want to run on the same dependant variable. I then want to put all these results on one graph. My regressions would look something like the following:
    reg y x
    reg y z
    I tried using outreg's 'append', but it creates multiple columns for my dependant variable. What I want is to append rows for each independent variable x, z. How would I go about doing this?

  • #2
    outreg is community-contributed, as documented in


    Code:
    SJ-12-1 sg97_4  . . . . . . . .  A new system for formatting estimation tables
            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . J. L. Gallup
            (help outreg, outreg complete, outreg update,
            greek in word if installed)
            Q1/12   SJ 12(1):3--28
            creates tables from the results of Stata estimation commands
            and generates formatted Microsoft Word or LaTeX files
    
    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
    I can't advise on its use for graphical output, but combineplot from SSC together with aaplot from SSC may help.

    Here's a dopey example:

    .
    Code:
     sysuse auto, clear
    (1978 automobile data)
    
    . combineplot (price) (mpg weight trunk turn) : aaplot @y @x

    Comment


    • #3
      Thanks! I will look into that

      Comment

      Working...
      X