Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: NL SUR
From
"Xia Shang" <[email protected]>
To
<[email protected]>
Subject
st: RE: NL SUR
Date
Mon, 22 Nov 2010 10:28:44 -0600
Hello, Andres
Drop Lnp6 in your Nlsur, and try again
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of A.Silva
Sent: Monday, November 22, 2010 9:33 AM
To: [email protected]
Subject: st: NL SUR
Dear all,
I am trying to estimate a NL SUR (AIDS). I have 6 expenditure groups (so, I
use 5 equations).
However, I get the following error:
nlsur aids @ w1 w2 w3 w4 w5 lnp1 lnp2 lnp3 lnp4 lnp5 lnp6 lnpx, parameters
(a1 a2 a3
> a4 a5 b1 b2 b3 b4 b5 g11 g12 g13 g14 g15 g22 g23 g24 g25 g33 g34 g35 g44
g45 g55) neq
> (5) ifgnls
(obs = 93)
Calculating NLS estimates...
could not evaluate equation 1
starting values invalid or some RHS variables have missing values
r(480);
end of do-file
r(480);
. sum w1 w2 w3 w4 w5
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
w1 | 93 .1100006 .009555 .0885841 .1273791
w2 | 93 .0358503 .0024138 .0261827 .0412181
w3 | 93 .3097675 .0091194 .2870499 .3364181
w4 | 93 .1936698 .0147691 .1689364 .2275145
w5 | 93 .085791 .0040142 .0737699 .0976536