On Sat, Mar 22, 2008 at 3:51 PM, Anjali Gupta <[email protected]> wrote:
> Hello,
>
> Thank you for the reply - however that didn't fix it.
>
> The code works fine if I take `covagrl' out of the forvalues loop.
>
> Anjali
Another problem is that in the local macro `covagrl' you already have an <if
exp>, so you cannot have two of them (<if zboy == 0> and <if _mult_
== `j'>) for one command. That may be why when you remove `covagrl' the
program works fine. The problem is certainly not with the forvalues loop.
--
P. Wilner Jeanty, Post-doctoral researcher
Dept. of Agricultural, Environmental, and Development Economics
The Ohio State University
2120 Fyffe Road
Columbus, Ohio 43210
(614) 292-6382 (Office)
*
* 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/