Psi*e = Fu
Code: Select all
_y.append(svar) @VEC(F) = NA, NA, NA, 0, NA, NA, 0, 0, NAWhen trying to recover the orthonormal structural shocks u I ran into trouble and have the following issues.
(1) the residuals S^(-1) e, which should give us the structural shocks, are far from orthonormal. In particular, they are highly cross-correlated.
(2) Psi S != F, although identity is clearly implied (I calculated Psi = (I_3- A1-A2)^(-1) )
(3) Although the general approach with restrictions on F should not allow to get estimates for A or B, both are in fact available when calling
Code: Select all
matrix bmat = _y.@svarbmat
matrix amat = _y.@svaramatCode: Select all
_y.append(svar) @VEC(F) = NA, NA, NA, 0, NA, NA, 0, 0, NA
_y.append(svar) @VEC(A) =NA, NA, NA, NA, NA, NA, NA, NA, NAWhat am I missing here?
Any help would be much appreciated!
