univariate regression

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

Afsaneh
Posts: 11
Joined: Sun Jun 22, 2014 6:59 am

univariate regression

Postby Afsaneh » Wed Sep 23, 2015 7:19 pm

Hi there,

I regress the dependent variable (Y) on a lagged of independent variable (x) in Eviews 9 by applying the command(Y c x(-1)). I surprise, because if I lagged X manually in an Excel file and then applying that in regression(Y c x),I get a different result from the previous estimation. Also, if this time I lagged independant variable manually forwrd (not backward like my previous regressions, by inserting a cell at the beginning of period and shift the independent variable down), I get the similar result as I apply backward lag function on independant variable in Eviews (Y c x(-1)).

I confused, as I belive I should get simillar results if I either apply lag function on independant variable in Eviews (Y c x(-1)) or lagged independant variable manually in Excel before I apply it in the regression command in Eviews (Y c x). Then, why I get different results?

Also, how it is possible to get the same results of estimation by applying a manually lag forward of independant variable and a lag backward (by Eviews) of independant variable ? Aren't these regressions theoretically and mathematically different?
Thanks

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

Re: univariate regression

Postby EViews Gareth » Wed Sep 23, 2015 7:31 pm

Perhaps you could provide the files you're using, with full steps of what you're done. Otherwise it is all a little imaginary.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: univariate regression

Postby startz » Wed Sep 23, 2015 8:08 pm

I suspect you are doing the lags backwards in Excel. Open your Excel spreadsheet. Then in EViews

Code: Select all

show y x x(-1)
See how things line up.


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests