optimal Lags in ARLI Model

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

CDN123
Posts: 4
Joined: Tue Apr 12, 2016 6:07 am

optimal Lags in ARLI Model

Postby CDN123 » Tue Apr 12, 2016 6:25 am

Hi
I am a new eviews user and still becoming familiar with the program.

I would like create an autoregressive leading indicator model, which contains lagged terms of the dependent variable (the variable being forecasted) and lagged terms of the leading indicator.

Is there a program that can be used to quickly determine the optimal number of lags for both the dependent variable and the leading indicator using the Akaike information criteria.

Thanks

Mike

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: optimal Lags in ARLI Model

Postby trubador » Tue Apr 12, 2016 6:28 am


CDN123
Posts: 4
Joined: Tue Apr 12, 2016 6:07 am

Re: optimal Lags in ARLI Model

Postby CDN123 » Tue Apr 12, 2016 7:08 am

Thanks. I found the option for the ARDL model. I would only like to include lagged values of the indicator and it seems to want to include a t=0 term as well.

Also, is it possible to estimate this model with all the variables in first differences and then forecast in levels. My data is not stationary.

Thanks

Mike

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: optimal Lags in ARLI Model

Postby trubador » Tue Apr 12, 2016 11:30 am

Thanks. I found the option for the ARDL model. I would only like to include lagged values of the indicator and it seems to want to include a t=0 term as well.
From the practical point of view, you should also test the contemporaneous relationship to see if the regressor is a true leading indicator. Still, if you do not want to include lag zero, just use the first lag of your regressor as the explanatory variable (e.g. y c x(-1)) and then set the Max lags option for automatic selection with AIC.
Also, is it possible to estimate this model with all the variables in first differences and then forecast in levels. My data is not stationary.
Yes, it is possible. However, ARDL model does not require stationarity. You can use Bounds test to decide between I(0) and I(1) and see if any long-run relationships are present.

CDN123
Posts: 4
Joined: Tue Apr 12, 2016 6:07 am

Re: optimal Lags in ARLI Model

Postby CDN123 » Tue Apr 12, 2016 11:43 am

Thanks this is great. I understand now.

One last thing. I want to have my data in first differences for the forecast. Can I enter my dependent and independent variables in first differences into the automatic ARDL option and determine the max number of lags and then use the forecast button to see the forecast in levels.

How would I do this?

Sorry I am new to the program.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: optimal Lags in ARLI Model

Postby trubador » Tue Apr 12, 2016 1:48 pm

You can use the difference operator in the equation window (e.g. d(y), d(x(-1))). You should at least have a look at Help->PDF Docs->EViews Illustrated before going any further.

CDN123
Posts: 4
Joined: Tue Apr 12, 2016 6:07 am

Re: optimal Lags in ARLI Model

Postby CDN123 » Tue Apr 12, 2016 2:39 pm

Great. Thank you very much for all your help.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests