%XX command
-
v_vacanti
- Posts: 2
- Joined: Mon Aug 18, 2014 6:23 pm
%XX command
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.
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.
-
TomDoan
- Posts: 7825
- Joined: Wed Nov 01, 2006 4:36 pm
Re: %XX command
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
x1{1},x1{2},x2{1},x2{2},x3{1},x3{2},x4{1},x4{2],1