Page 1 of 1

Linear Detrend

Posted: Wed Oct 21, 2015 7:07 am
by Amaziah
I am have some questions about how to detrend a series with a deterministic trend and how to apply it in Eviews. Can someone check if my process is correct?

Let's say I want to regress a variable Yt on a variable Xt, but Xt exhibits a deterministic trend.

To detrend Xt, I run a regression on a time index variable, TIME. Would my Eviews command would be: ls x TIME

I then obtain the estimated residuals from the above regression, ut. Now do I use this new series, ut as my regressor for my original equation? So I would then estimate the following: ls y c u

Re: Linear Detrend

Posted: Wed Oct 21, 2015 8:04 am
by startz
I am have some questions about how to detrend a series with a deterministic trend and how to apply it in Eviews. Can someone check if my process is correct?

Let's say I want to regress a variable Yt on a variable Xt, but Xt exhibits a deterministic trend.

To detrend Xt, I run a regression on a time index variable, TIME. Would my Eviews command would be: ls x TIME

I then obtain the estimated residuals from the above regression, ut. Now do I use this new series, ut as my regressor for my original equation? So I would then estimate the following: ls y c u
Almost, the first step needs a constant

Code: Select all

ls x c TIME

Re: Linear Detrend

Posted: Wed Oct 21, 2015 11:40 am
by Amaziah
Okay. Now the residuals that are obtained are considered the detrended series?

Re: Linear Detrend

Posted: Wed Oct 21, 2015 3:55 pm
by startz
Yep.