Eva
2009/3/16 <[email protected]>:
> Is there any way to make stata keep going?
>
> I have to press "more" or "go" so many times.
>
> Jingjing
>
>
> Quoting Eva Poen <[email protected]>:
>
>> I have no idea, really. -set trace on- before the call to -nlsur-, and
>> see what you can learn from the output roundabout where the error
>> occurs. It is strange that it happens after 34 successful iterations.
>>
>> However, by having run
>>
>>> . nlsurwellbehav lnc sl sk sm lnpl lnpk lnpm lnpe lnq t d1 d2 d3 d4
>>> d5
>>> d6, at (a)
>>
>> you probably have now overwritten your original left hand side
>> variables. Don't do this. If you call -nlsurwellbehav- directly, you
>> _must_ use copies of your left hand side variables.
>>
>> Therefore, restore your data to their original state, -set trace on-,
>> call -nlsur wellbehav @ lnc sl sk sm ... - and see where the error
>> occurs.
>>
>> Oh, and one more thing: in your parameters() option, a0 should come
>> last, not first, as it is the last parameter (at position 62) in your
>> program.
>>
>> Eva
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/