Statalist


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

st: re: problem using predictnl after obtaining non-linear estimates


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: problem using predictnl after obtaining non-linear estimates
Date   Sun, 26 Oct 2008 10:23:29 -0400

<>
Lopa said

Upon inserting the @ symbol it gives me a error message:

nl wqfinalnoseasonfinal3 @ downstreamwaterqualityfoia04, nparameters(90)
@ invalid name
r(198);

Is it because I work with Stata 8.2 version?


From -help whatsnew8to9-:

10. Existing command nl has a new syntax that makes estimating nonlinear least-squares regressions easier. For most models, estimation is now as easy as typing the nonlinear expression. Full programmability has been retained for
         complex models, and the old syntax continues to work.

nl also now supports robust (Huber/white/sandwich) and cluster-robust SE and VCE estimates, including two popular adjustments that can dramatically improve the
         small-sample performance of robust SE and VCE estimates.

A number of new reporting and estimation options have also been added. See [R]
         nl.

You may be right that the syntax of -nl- is different now. However you will have to find someone who has Stata 8.2 handy to assist with your program. I have Stata 9 on one machine, but have long since removed Stata 8.2. I have no idea how the old syntax of a function evaluator program differs (although I think it is the same in versions 9 and 10).

Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.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/



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