Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: re: r(198) error


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: re: r(198) error
Date   Fri, 7 Sep 2007 23:15:10 +0200

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index