Announcement

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

  • Outreg2 append rows

    Hi, I am trying to create a table that summarises a long list of coefficients, one below the other (instead of by columns, as usually done)

    My code is as follows:

    Code:
    local variables var1 var2 var3 etc. [there are over 100]
    
    foreach var of local variables{    
            reghdfe `var' xvar, vce(cluster i.country) a(i.country)
            outreg2 using tableA, append tex keep(treat) nocons
            
    }
    However, the append command adds each new coefficient in a new column. How can I add them in a new row instead? Probably outreg2 is not the best command to do it but I have not found any alternative so far.

    Thank you very much,

    Joan
Working...
X