Page 1 of 1
Nonlinear least squares specification for exp(c(1)*t)
Posted: Thu Jun 23, 2016 10:38 pm
by acemi
Hello I'm trying to specify my derived macroeconomic model which includes exponential function of time t :
logy=(1-exp(-beta*t))alfa(1-theta)logs + ... +error
data is for year end 1993 - 2009.
my question is how do I specify exp(-beta*t) part since I dont include a specific time series variable "t" ?
do I omit the t in the expression exp(-beta*t), I'm confused.
Best regards
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Fri Jun 24, 2016 12:31 am
by startz
Use @trend.
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Sun Jun 26, 2016 10:10 am
by acemi
Thank yo for reply, but from what I found in a brief search @trend is a linear trend operator. So where would I exactly include in my model I couldnt be sure exp(-beta*t) :
exp(-beta @trend) ?
Thank you in advance.
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Sun Jun 26, 2016 10:16 am
by startz
exp(-beta*@trend)
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Tue Jan 03, 2017 12:11 am
by acemi
Hello,
I specified an equation including exp(-beta @trend) where @trend denotes "t" as time in Eviews7.
My data set contains years as time (e.g 1991, 1992 ,etc to 2009) for panel data consisting of 12 countries.
My questions are,
1. does eviews insert 1991,1992, ... in place of "t" or does it insert 1,2,3 .. ?
2. For panel data does it reset the year value when it moves to a new country data (i.e. start from 1991 or 1 again) ? (or does it start from 1 to continue increasing t until it reaches end of whole data set. (i.e. t = 12 countries * 19 years = 228)
The reason I am asking is that, when I manually calculate exp(-beta @trend) expression in excel, the whole expression equals zero for t = 1991, 1992,..
but if I use t = 1,2, ... expression equals a positive value. I have to simulate previously so that I ensure there are no negative exp () values.
Thank you and regards,
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Tue Jan 03, 2017 7:38 am
by startz
Either look at the Help for @trend, or do show @trend
Re: Nonlinear least squares specification for exp(c(1)*t)
Posted: Tue Jan 03, 2017 10:27 pm
by acemi
Thank you show @trend answered my question