Page 1 of 1

%XX command

Posted: Mon Aug 18, 2014 8:18 pm
by v_vacanti
Hi all,

I am wondering what is computed with %XX after estimating a VAR. The manual says it should be(X'X)^-1, but I cannot replicated the output when doing my own calculations. I am thinking that perhaps I am filling the X matrix incorrectly. For example - If I have a VAR(2) with 4 variables how should the columns of X be filled?

Thanks in advance.

Re: %XX command

Posted: Mon Aug 18, 2014 9:40 pm
by TomDoan
With four variables, two lags and a CONSTANT, they would be in the order

x1{1},x1{2},x2{1},x2{2},x3{1},x3{2},x4{1},x4{2],1

Re: %XX command

Posted: Tue Aug 19, 2014 11:28 am
by v_vacanti
Perfect. Thanks so much!