Hello Statalisters,
I used the pasted code to create Table 1 in LaTex, but I would like it to look like Table 2.

Any suggestions on how to (1) put the titles above the column numbers and (2) add a column title for the independent variables ([COEFTITLE]) would be very much appreciated! Thanks!
I used the pasted code to create Table 1 in LaTex, but I would like it to look like Table 2.
Code:
sysuse auto, clear
local outcomes headroom trunk
local j=1
foreach outcome in `outcomes'{
reg `outcome' mpg weight
eststo mod`j'
local j=`j'+1
}
esttab mod1 mod2 using "~/Desktop/filename.tex", replace title("Title")
Any suggestions on how to (1) put the titles above the column numbers and (2) add a column title for the independent variables ([COEFTITLE]) would be very much appreciated! Thanks!

Comment