Statalist


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

Re: st: RE: Return r(111) this time


From   Eva Poen <[email protected]>
To   [email protected]
Subject   Re: st: RE: Return r(111) this time
Date   Sun, 15 Mar 2009 18:16:29 +0000

Nick spotted two important points which I overlooked:

> scalar `aqq'=at'[1,5]

should be

scalar `aqq'=`at'[1,5]

Also, the if condition has to be added at the end of the program:

replace `lnc' = .... `if'
replace `sl'  = .... `if'
replace `sk'  = .... `if'
replace `sm' = .... `if'

where ... stands for the very long expressions in Jingjing's code.

Concerning -trace- and -nlsur-: From my (quick) experiments it
appeared that -trace- will only show details of the program if it is
invoked directly (i.e. without -nlsur-). In order to to that, one has
to be careful to use copies of the dependent variables, since the
program will change those variables if running successfully.

Eva



2009/3/15 Nick Cox <[email protected]>:
> scalar `aqq'=at'[1,5]
>
> is another typo. I didn't try finding any others.
>
> Do please find out about -set trace-, today!
>
> P.S. A bug here is that your program allows -if- but ignores it.
>
> Nick
> [email protected]
>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index