Announcement

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

  • Outreg: title spanning over multiple columns

    Good afternoon,
    I am producing some table of estimates using outreg command (ssc). What I am trying to do is to number columns and add a title spanning over a certain number of them. I've read Gallup's article on Stata journal and he suggests to use the option multicol. But I am having some troubles.

    Here is my code
    Code:
    qui reg ln_TFP_LP exporter if year == 2008, robust
    outreg using table_exporter, se starlevels(10 5 1) ctitles("", "TFP",""\"" "(1)") nodisplay tex replace
    xi: qui reg ln_TFP_LP exporter i.country i.sector if year == 2008, robust
    outreg using table_exporter, se starlevels(10 5 1) ctitles(" ",""\"", "(2)") nodisplay tex merge
    xi: qui reg ln_TFP_LP exporter i.country i.sector L if year == 2008, robust
    outreg using table_exporter, se starlevels(10 5 1) ctitles(" ",""\"","(3)") multicol(1,2,3) tex merge
    And this is my output
    Click image for larger version

Name:	Cattura1.PNG
Views:	1
Size:	7.3 KB
ID:	1382623


    How can I have TFP spanning over the three numerated coulmns?

    Thanks

  • #2
    You should look at outreg2. It allows titles. Alternatively, you can easily set up whatever table you want in a text editor, and then cut and paste fhe results from file outreg2 creates.

    Comment

    Working...
    X