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
Nonlinear least squares specification for exp(c(1)*t)
Moderators: EViews Gareth, EViews Moderator
Re: Nonlinear least squares specification for exp(c(1)*t)
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.
exp(-beta @trend) ?
Thank you in advance.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Nonlinear least squares specification for exp(c(1)*t)
exp(-beta*@trend)
Re: Nonlinear least squares specification for exp(c(1)*t)
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,
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,
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Nonlinear least squares specification for exp(c(1)*t)
Either look at the Help for @trend, or do show @trend
Re: Nonlinear least squares specification for exp(c(1)*t)
Thank you show @trend answered my question
Who is online
Users browsing this forum: No registered users and 2 guests
