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/