Dear Eviews team,
Eviews version: Eviews 8, 64 bit
OS: Windows 7
Issue:
Be x a monthly series.
The following command does not work as expected
series z=x(-@month)
Basically, what it does is
series z=x(-1)
This ppleis correspondly for quarterly series: z=x(-@quarter)
Possible workaround:
frml month=@month
series z=x(-month)
However, this workaround gives an error message when applied as an equation within a model
Suggestion:
make z=x(-@month), z=x(-@quarter) work as expected, or
allow for ewquation like z=x(-month) within models
Best, mamo
Define lead/lag via @month or @quarter
Moderators: EViews Gareth, EViews Moderator
-
EViews Chris
- EViews Developer
- Posts: 161
- Joined: Wed Sep 17, 2008 10:39 am
Re: Define lead/lag via @month or @quarter
Good news and bad news on this one...
I've fixed the evaluation of x(-@month) in a standard series evaluation so that it should work correctly. Should be fixed in the next patch we release.
The bad news is that you're still not going to be able to use this expression in models. We don't allow variable length lags in models because it is very important to us when we are solving a model to be able to tell whether a variable affects another variable contemporaneously or only with a lag and using variable length lags make it difficult for us to tell since the lag can change from period to period.
I've fixed the evaluation of x(-@month) in a standard series evaluation so that it should work correctly. Should be fixed in the next patch we release.
The bad news is that you're still not going to be able to use this expression in models. We don't allow variable length lags in models because it is very important to us when we are solving a model to be able to tell whether a variable affects another variable contemporaneously or only with a lag and using variable length lags make it difficult for us to tell since the lag can change from period to period.
Who is online
Users browsing this forum: No registered users and 1 guest
