Lead and Lag Variables

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

renudr
Posts: 3
Joined: Wed Feb 27, 2013 12:57 am

Lead and Lag Variables

Postby renudr » Wed Sep 04, 2013 3:19 am

Hi, I am running a simple OLS regression and wanted to lag one of my independant variables so I typed this in:
LS LNAIRREALSA C LNSGIPSA LNAIRFUEL LNEUIPSA(-3) LNFFR(-1) DUMMY3

however, i kept getting a wrong signage until i changed it to lneuispa(3), and when I generated the lag and lead series separately, the lneuipsa(-3) was moved down 3 data points (1st three data points were "NA") and for the lneuispa(3) it was moved up three data points, which meant the last 3 had "NA" values. Isn't it suppposed to be the other way round? When I lag a series it is supposed to move up and when I lead a series it is supposed to move down? Pls help! thanks!

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Lead and Lag Variables

Postby EViews Glenn » Wed Sep 04, 2013 8:19 am

The behavior you see is correct. Lags give past values and leads give future values.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests