Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: nlsur time series varlist


From   <Ignazio.MONGELLI@ec.europa.eu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: nlsur time series varlist
Date   Thu, 10 Nov 2011 08:41:13 +0100

Ok thanks!
Ignazio 

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Wednesday, November 09, 2011 12:19 PM
To: 'statalist@hsphsun2.harvard.edu'
Subject: st: RE: nlsur time series varlist

You just have to create the variables yourself beforehand. Whether -nlsur- fits what you want to do otherwise is for others to comment on. Presumably this will bite with l. as well as d. 

Nick 
n.j.cox@durham.ac.uk 

Ignazio.MONGELLI@ec.europa.eu

I want to use 'nlsur' to estimate a system of equation of this type:

(d.var1= {a0} + {b1}*d.var2+{b2}*(d.log(var3+{a1}*(var4)^{a2})) + {ecm}*(l.var5-{a3}+{a4}*log(l.var6+{a1}*(var7)^{a2}))) 

(d.var8= {a0} + {b1}*d.var2+{b2}*(d.log(var3+{a1}*(var4)^{a2})) + {ecm}*(l.var5-{a3}+{a4}*log(l.var6+{a1}*(var7)^{a2}))) 

etc.

However, stata does not accept the operator 'd.' used in the expression d.log(var3+{a1}*(var4)^{a2}).

Is there any way to circumvent this problem?


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index