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: RE: NL SUR
From 
 
"A.Silva" <[email protected]> 
To 
 
"[email protected]" <[email protected]> 
Subject 
 
st: RE: RE: NL SUR 
Date 
 
Mon, 22 Nov 2010 16:37:51 +0000 
Hi Xia,
Thanks for your answer, I does not work either. In my impression, I should have the six price index there (following the nlsur code page 1254)
Andres
________________________________________
From: [email protected] [[email protected]] On Behalf Of Xia Shang [[email protected]]
Sent: 22 November 2010 16:28
To: [email protected]
Subject: st: RE: NL SUR
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