I have two variables RGDP and WAGES
I'm supposed to generate two new series D_RGDP and D_WAGES using eviews D functions:
D(X) = X-X(-1)
D(X) = X(t)-X(t-1)
t and t-1 are subscripts
what would be the commands to do this?
I get syntax error/(-1) not good when i try genr series d_rgdp = grgdp-grgdp(-1) for the first one
and I'm not sure at all how to generate the second one with my variables
Eviews D functions
Moderators: EViews Gareth, EViews Moderator
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Eviews D functions
Eoghan wrote:I have two variables RGDP and WAGES
I'm supposed to generate two new series D_RGDP and D_WAGES using eviews D functions:
D(X) = X-X(-1)
D(X) = X(t)-X(t-1)
t and t-1 are subscripts
what would be the commands to do this?
I get syntax error/(-1) not good when i try genr series d_rgdp = grgdp-grgdp(-1) for the first one
and I'm not sure at all how to generate the second one with my variables
any of
Code: Select all
genr d_rgdp = grgdp-grgdp(-1)
series d_rgdp = grgdp-grgdp(-1)
series d_rgdp = d(grgdp)
Just don't say both genr and series.
Re: Eviews D functions
thanks, how would I then do the one with the D(X)=Xt-Xt-1 for wages
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Eviews D functions
Eoghan wrote:thanks, how would I then do the one with the D(X)=Xt-Xt-1 for wages
Code: Select all
series d_wages = d(wages)
Re: Eviews D functions
I thought they were two different commands?
or are they the same then?
D(X)=X-X(-1) verse D(X)=Xt-Xt-1
or are they the same then?
D(X)=X-X(-1) verse D(X)=Xt-Xt-1
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Eviews D functions
In EViews a number in parentheses gives a lag. You don't explicitly put in the t.
Re: Eviews D functions
ah ok, thank you!
Do you know how I would run 10 forecasts using 200 observations each
this is to help calculate MAPE and RMSE
Do you know how I would run 10 forecasts using 200 observations each
this is to help calculate MAPE and RMSE
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Eviews D functions
That sort of thing depends on exactly what you're trying to do. You might want to read some of the online tutorials or EViews Illustrated to get a head start on how to use EViews tools.
Who is online
Users browsing this forum: No registered users and 18 guests