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 <[email protected]>
To   [email protected]
Subject   st: re: problem using predictnl after obtaining non-linear estimates
Date   Sat, 25 Oct 2008 20:09:10 -0400

< >
The help for -nl- function evaluator programs states that

* For function evaluator program version, you must specify parameters(namelist) or nparameters(#), or both.

You have not done that. I am surprised that Stata does not generate a syntax error.

Furthermore the invocation of -nl- should be

nl wqfinalnoseasonfinal2 @ downstreamwaterqualityfoia04  etc.

The at sign (@) is not optional.

If you specify parameters() or nparameters() properly, then -nl- (like any estimation command) should return e(b) and e(V), which are needed by -predictnl-.

See what happens when you follow the syntax specified in -help nl-.


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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index