There seems to be no code representing the loop counter inside your
putative loop, and you don't seem to save estimation results, so I
can't see why you would be looping. Perhaps you should -set trace on-
so you can see where the error occurs, and let us know both that info,
and what you are looping over and why...
On 2/10/06, Pablo Mitnik <[email protected]> wrote:
> I am running a 100-rep loop with the following code inside:
> -------code begins----------------------------
> ml model lf model6p_lf (alpha:mob_rate=) (beta:) (theta1:) (theta2:)
> (theta3:) (theta4:), technique (nr bfgs dfp bhhh) constraints(1)
>
> ml check
>
> ml search alpha 0 1 beta 0 70 theta1 0 1 theta2 0 1 theta3 0 1 theta4
> 0 1, repeat(30)
>
> ml maximize, nolog
> ---------code ends--------------------------------
*
* 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/