Statalist The Stata Listserver


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

Re: st: r(2000) sometimes, but the data are always the same


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: r(2000) sometimes, but the data are always the same
Date   Fri, 10 Feb 2006 05:42:39 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index