Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: r(198) again


From   Eva Poen <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: r(198) again
Date   Mon, 16 Mar 2009 16:58:03 +0000

Eva

2009/3/16  <jjc.li@utoronto.ca>:
> Is there any way to make stata keep going?
>
> I have to press "more" or "go" so many times.
>
> Jingjing
>
>
> Quoting Eva Poen <eva.poen@gmail.com>:
>
>> 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/



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