I'm trying to create a regression table with labeled columns ("Title A" and "Title B") as well as something that says "Dependent Variable" on the left hand side of the table. However, I can only get one of these to work at a time, and I'm not sure what I'm doing wrong.
If I include `mlabels`, then I only see the "Dependent Variable" heading, and neither of the column titles:
sysuse auto, clear
capt which estout
if _rc ssc inst estout
eststo: quietly reg mpg price i.foreign
eststo: quietly reg trunk price i.foreign
esttab, label mtitles("Title A" "Title B") mlabels(, lhs("Dependent Variable"))
est clear
eststo clear
But obviously if I take out `mlabels`, I get the column titles but not the "Dependent Variable" header. What am I doing wrong?
If I include `mlabels`, then I only see the "Dependent Variable" heading, and neither of the column titles:
sysuse auto, clear
capt which estout
if _rc ssc inst estout
eststo: quietly reg mpg price i.foreign
eststo: quietly reg trunk price i.foreign
esttab, label mtitles("Title A" "Title B") mlabels(, lhs("Dependent Variable"))
est clear
eststo clear
But obviously if I take out `mlabels`, I get the column titles but not the "Dependent Variable" header. What am I doing wrong?
Comment