identification command when correlation coef. is estimated
Posted: Mon Nov 11, 2013 10:21 pm
I am estimating a model where innovations of shocks are correlated, and the correlation coefficient is one of the parameters estimated. When I run the identification command dynare crashes, with error message
Error using .*
Matrix dimensions must agree.
Error in identification_analysis (line 224)
deltaM = deltaM.*abs(params');
As far as I can see, this is because correlation coefficient is not included when matrix JJ is constructed by function getJJ on line 82 of identification_analysis.m, and thus deltaM has 1 row less than params.
I know that I can introduce correlated innovations using eps1=e1+phi*e3 and eps2=e2+phi*e3 and the identification command works fine then, but in this case it reports the measure of identification for phi and not directly for the correlation coefficient. So I was wondering if there is a way how to run identification with eps1, eps2 directly without introducing e1, e2, e3, phi.
Thanks!
Error using .*
Matrix dimensions must agree.
Error in identification_analysis (line 224)
deltaM = deltaM.*abs(params');
As far as I can see, this is because correlation coefficient is not included when matrix JJ is constructed by function getJJ on line 82 of identification_analysis.m, and thus deltaM has 1 row less than params.
I know that I can introduce correlated innovations using eps1=e1+phi*e3 and eps2=e2+phi*e3 and the identification command works fine then, but in this case it reports the measure of identification for phi and not directly for the correlation coefficient. So I was wondering if there is a way how to run identification with eps1, eps2 directly without introducing e1, e2, e3, phi.
Thanks!