Page 1 of 1

Define lead/lag via @month or @quarter

Posted: Tue Nov 04, 2014 10:16 am
by mamo
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

Re: Define lead/lag via @month or @quarter

Posted: Tue Nov 04, 2014 12:34 pm
by EViews Chris
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.