Bookmark and Share

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: RE: NL SUR


From   "A.Silva" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: RE: RE: NL SUR
Date   Mon, 22 Nov 2010 18:30:34 +0000

dear all, 
these are the RHS variables:

sum  lnp1 lnp2 lnp3 lnp4 lnp5 lnp6 lnx

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
        lnp1 |        93   -.3974473    .1203688  -.9104304  -.2100775
        lnp2 |        93   -.3160524     .102758  -.5360809   -.068644
        lnp3 |        93   -.1793618    .0454279  -.3376396  -.0609926
        lnp4 |        93   -.4030019    .0916056  -.6071106  -.1844178
        lnp5 |        93   -1.199704    .1836372  -2.006463  -.8009524
-------------+--------------------------------------------------------
        lnp6 |        93   -.0007988    .0010044  -.0041222   .0011004
         lnx |        93    8.817355     .047594   8.713573   8.930555
Thanks, 
A
________________________________________
From: [email protected] [[email protected]] On Behalf Of A.Silva [[email protected]]
Sent: 22 November 2010 16:37
To: [email protected]
Subject: st: RE: RE: NL SUR

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



© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index