Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Formatting regression table output

From   "Narahari H.S." <>
To   statalist <>
Subject   st: Formatting regression table output
Date   Mon, 28 May 2012 19:33:49 +0800 (SGT)

Hello all,

A simplified version of my code is below

foreach v in var1 var2 var3 var4 {
reg depvar `v' indepvar1 indepvar2 indepvar3 indepvar4
est store Model`v'
estout Model* using Table.tex, style(tex) order(var1 var2 var3 var4)

var1 to var4 are different ways of measuring the same thing. In the regression output, each of the 4 vars occupy different rows. (Hence my output table has 8 rows)

I can reduce the number of rows if I can make all the 4 vars appear in a single row (so that the table will have only 5 rows) and if I can label the columns as var1 var2 var3 var4. Please suggest a way to achieve these 2.

Thanks in advance

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index