Statalist


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

Re: st: re: retruned r(198) in nlsur


From   [email protected]
To   [email protected]
Subject   Re: st: re: retruned r(198) in nlsur
Date   Sat, 14 Mar 2009 00:37:22 -0400

Hi Kit,

Thanks! I just corrected all the left ticks. However, it returned r(111) this time.

r(111) consist of several kinds of error. I have no idea which one is in my case.

Jingjing



Quoting Kit Baum <[email protected]>:

<>
JJC said

         scalar 'al'='at'[1,1]
         scalar 'ak'='at'[1,2]
         scalar 'am'='at'[1,3]
         scalar 'ae'= 1-'al'-'ak'-'am'

and wonders what might be wrong. These references (and all throughout
the program) must dereference macros with the left tick (accent grave)
on the left, e.g.

         scalar `al' = `at'[1,1]
         scalar `ak' = `at'[1,2]
         scalar `am' = `at'[1,3]
         scalar `ae' = 1-`al'-`ak'-`am'

Unless the left ticks have been changed to apostrophes (') by the email
program, they are invalid syntax.

Kit Baum   |   Boston College Economics and DIW Berlin   |
http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming   |
http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata   |
http://www.stata-press.com/books/imeus.html



*
*   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/




*
*   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