Page 1 of 1

regression with variable lags

Posted: Thu Aug 18, 2011 11:17 am
by marcsean
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?

Re: regression with variable lags

Posted: Thu Aug 18, 2011 1:46 pm
by someone
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.