Announcement

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

  • Stacking multiple equations in one column to push to LATEX

    Hi guys,

    I'm trying create a single regression table that reports results for all observations and then a subset of observations. I can't seem to find a way to do this with esttab or outreg2 and I'm unfamiliar with other ways to produce LATEX files from stata. The desired output looks something like this:
    Click image for larger version

Name:	example.png
Views:	1
Size:	19.9 KB
ID:	1343317


    Any ideas?

    Thanks!Best,
    Cecil

  • #2
    Hi Cecil,

    I can think of two ways of doing this without LaTeX: you can either specify the append option with esttab (see here, under "Output"), or if you're using Stata 14, you can use putexcel and specify the cell you'd like each table to start in.

    Best
    Lucia

    Comment


    • #3
      I haven't used -putexcel- but you can adapt the code here http://www.jwe.cc/2012/03/stata-latex-tables-estout/ to your case. The key idea, in the author's words, "I use estout to export the pure table content only using the “fragment” option and then include the table using my custom “estwide” or “estauto” commands. That solution allows for more flexibility, because you can add labels, post-/pre-text, notes etc. in LaTeX (where they belong) rather than changing the code in your do-file."

      Comment

      Working...
      X