Define lead/lag via @month or @quarter

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

mamo
Posts: 205
Joined: Wed Nov 07, 2012 9:11 am

Define lead/lag via @month or @quarter

Postby mamo » Tue Nov 04, 2014 10:16 am

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

EViews Chris
EViews Developer
Posts: 161
Joined: Wed Sep 17, 2008 10:39 am

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

Postby EViews Chris » Tue Nov 04, 2014 12:34 pm

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.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest