On 9/7/07, Kit Baum <[email protected]> wrote:
> eststo clear
> foreach x of varlist $RHS {
> eststo: reg `x' $RHS, robust
> local xtitle "`xtitle `x'"
> }
> esttab using results.log, mtitles(`xtitle')
The default in esttab is to use the names of the dependent variables
in the table header so Kit's code could be simplified to:
eststo clear
foreach x of varlist $RHS {
eststo: reg `x' $RHS, robust
}
esttab using results.log
ben
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/