Different lag lengths in a VAR model
Posted: Fri Dec 07, 2012 12:40 pm
Hi!
Im doing a VAR(9) model and I was wondering if it is possible to have different lag length on each variable. And if so, how do I create my VAR-model with different lag.
Example: I have x1, x2, x3, x4, x5, x6, x7, x8, x9.
And I want a VAR model with:
x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x2= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x3= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x4= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
and so on.
In practice this is not impossible to do, but I don’t understand how I can do it in eviews.
Thanks for the help!
Im doing a VAR(9) model and I was wondering if it is possible to have different lag length on each variable. And if so, how do I create my VAR-model with different lag.
Example: I have x1, x2, x3, x4, x5, x6, x7, x8, x9.
And I want a VAR model with:
x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x2= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x3= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
x4= x1=x1t-1+ x2t-1+ x3t-1+ x4t-1+ x5t-1+ x6t-1+ x7t-1+ x8t-1+ x9t-1+ x1t-2+ x2t-2+ x3t-2+ x4t-2 + x1t-3+ x2t-3+ x3t-3+ x4t-3+ x5t-3+ x6t-3+ x1t-4+ x2t-4+ x3t-4+ x4t-4+ x5t-4+ x6t-4+c
and so on.
In practice this is not impossible to do, but I don’t understand how I can do it in eviews.
Thanks for the help!