Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Nonlinear Least Squares Problem


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Nonlinear Least Squares Problem
Date   Mon, 15 Sep 2003 10:26:12 +0100

Dale W. Larson
 
> I am a fairly new Stata user who is trying to do nonlinear 
> least squares.
> 
> I am using Version 7.
> 
> I successfully set up the problem by writing the nlfcn 
> program as a do-file.
> 
> When I try to run the regression, I get a message such as:
> 
>            . nl nonlinear averagem1  
> __000057 not found 
> could not restore sort order because variables were dropped 
> r(111);
> 
> I don't know what __000057 is.  It is not anything I have 
> deliberately created.
> 
> Each time I rerun the regression,  the thing "not found," 
> e.g., __000057 above,
> changes to a different number.
> 
> I have not "dropped" any variables from the data set.

You are seeing references to temporary variable names. 

The real problem is something wrong with your program 
or with your call to -nl-. I suspect we need to 
see your program code to say more. 

Nick 
n.j.cox@durham.ac.uk 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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