regression with variable lags

For questions regarding programming in the EViews programming language.

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

marcsean
Posts: 14
Joined: Fri Jun 17, 2011 11:16 pm

regression with variable lags

Postby marcsean » Thu Aug 18, 2011 11:17 am

Hi,

I want to regress a variable on its lags. However, I want to choose the lags according to an criterion, so it should be variable until the criterion is not satisfied.

How does this work?

someone
Posts: 2
Joined: Thu Aug 18, 2011 1:28 pm

Re: regression with variable lags

Postby someone » Thu Aug 18, 2011 1:46 pm

I suggest to run all possible specifications (all possible combinations of AR & MA terms, say, with max. AR order 15 and max. MA order 5). Store the criterion that you like in a matrix and then use a max operator.

Regards
Daniel M.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests