dlog with lags

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

basil
Posts: 37
Joined: Thu Apr 28, 2011 11:48 am

dlog with lags

Postby basil » Wed Aug 10, 2011 1:33 pm

how do I run an OLS with lagged logs? While i can do the following: "x c x(-1 to 05)" i was not able to do "x c dlog(x(-1 to 05))"

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13586
Joined: Tue Sep 16, 2008 5:38 pm

Re: dlog with lags

Postby EViews Gareth » Wed Aug 10, 2011 1:36 pm

Code: Select all

ls x c dlog(x(-1)) dlog(x(-2)) dlog(x(-3)) dlog(x(-4)) dlog(x(-5))
or

Code: Select all

series dlogx = dlog(x) ls x c dlogx(-1 to -5)

basil
Posts: 37
Joined: Thu Apr 28, 2011 11:48 am

Re: dlog with lags

Postby basil » Wed Aug 10, 2011 1:39 pm

thanks. So it looks like there is no similar shortcut as in "x(-1 to -5)". Ok


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests