Statalist


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

st: r(198) error


From   "Nirina F" <fstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: r(198) error
Date   Tue, 14 Aug 2007 15:28:41 +0300

Hi everyone,

Could anyone let me know what is wrong with the following do. file to
give me an invalid 'and' r(198).


/*foreach x of varlist $LHS {;
local xtitle "`x' OLS"   ;
  local outfile_reg "$dataloc/Results/reg_`x'"  ;
 regress  `x' $RHS, robust;
    outreg using "`outfile_reg'", ctitle("`xtitle'") append;
};
*/;

invalid 'and'
r(198);
Thank you,

Nirina
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index