Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: RE: nlsur time series varlist

From   Nick Cox <>
To   "''" <>
Subject   st: RE: nlsur time series varlist
Date   Wed, 9 Nov 2011 11:19:12 +0000

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. 


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}))) 


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:

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