BVAR IRFs
Posted: Sat Jan 08, 2011 12:00 pm
Hello Esther,
Best wishes for the new year! And thanks again for this excellent add-in.
In an earlier post, I asked you how the IRFs were calculated, because I found a discrepancy between that IRFs calculated using the add-in with a flat-flat prior and those from a standard VAR, despite coefficients being the same (as they should be).
In the bvar.prg file, you have put "matrix {%shock} = @cholesky({%A0})" and "call impulse({%responses}, {%Bv}, {%shock}, {%IRFPers}, !m, {%p})", so we should get the same results, if I understand the code. However, it seems that this is still not the case.
I attach two example files, one (BVAR08) being the results from the latest version of the add-in, and the other (BVAR08a) from the standard VAR, which show the persisting differences. You will see that although the responses of a variable to itself are identical, there are differences in the responses of variables to others.
Perhaps I have misunderstood how the calculations are performed, or is something strange going on here?
Best regards
Donihue
Best wishes for the new year! And thanks again for this excellent add-in.
In an earlier post, I asked you how the IRFs were calculated, because I found a discrepancy between that IRFs calculated using the add-in with a flat-flat prior and those from a standard VAR, despite coefficients being the same (as they should be).
In the bvar.prg file, you have put "matrix {%shock} = @cholesky({%A0})" and "call impulse({%responses}, {%Bv}, {%shock}, {%IRFPers}, !m, {%p})", so we should get the same results, if I understand the code. However, it seems that this is still not the case.
I attach two example files, one (BVAR08) being the results from the latest version of the add-in, and the other (BVAR08a) from the standard VAR, which show the persisting differences. You will see that although the responses of a variable to itself are identical, there are differences in the responses of variables to others.
Perhaps I have misunderstood how the calculations are performed, or is something strange going on here?
Best regards
Donihue