Thank you Scott,
that is actually is in the first part of the do file, that I omitted for space reasons. 
>>> [email protected] 10/14 4:48  >>>
----- Original Message -----
From: Diego Rei <[email protected]>
Date: Thursday, October 14, 2004 9:37 am
Subject: R�p. : st: RE: Non linear least squares program, Stata versions?
> Thank you Nick. I will just post the two programs.
<snip> 
> nl progt2 unr trrate tbenefit tempro tuden tcoord if tshock
<snip>
One thing that stands out is that your *if- qualifier does not specify how tshock should be evaluated.
Scott
*
*   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/
*
*   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/