Dear statalist members:
I'm trying to include a constant in a nonlinear function. I used the
substitutable expression with Model 2 option -hasconstant- which
needs a parameter. I generated a constant variable (column of ones,
called constante) but I get an error r(498) "constante not found
among parameters".
-nl (iitt = 1/(1+exp(-1*{xb: constante lavrgdp ldpcgdp ltc
lroyalsale latarif lagi lavgest ldcap}))), nolog
hasconstant(constante)-
constante not found among parameters
check hasconstant() option or try using nl without it
r(498);
Maritza,