i have the impression that you are mixing -nl-code for different
versions here. you announce "version 8.1", but then later refer to
options only available in stata 9: "variables(.) parameters(.)
nparameters(.)".
also, i have never seen a construct like
"by [variable]: replace `1'= [expression] if [variable]==1"
in an nl-program before...
my (non-experienced programmer's) advice: try to write an nl-program
which is as similar as possible to the examples in the manual!
hope this helps
jonathan
Terra wrote:
------------------------
Date: Fri, 5 Aug 2005 16:37:21 -0400
From: "Terra Curtis" <[email protected]>
Subject: st: -nl- error message
I am running a nonlinear regression and have written the program which
specifies the equation:
Any ideas as to how this error might be occuring? It seems the syntax of the
program and nl command is correct, since Stata "knows" to start the
iteration process. I just have no idea where a syntax error could be if it's
not actually in my program or nl command line.