How to access numbers for bootstrap-based confidence bands after VAR, IRF
Posted: Fri Jul 02, 2021 8:12 am
After estimating a VAR and using a certain Cholesky ordering assumption, I’d like to access the numbers for Kilian’s unbiased bootstrap-based standard errors for the IRFs for different cilevels.
To do so, I first estimate a VAR and name it myvar. Then I run, for example:
myvar.impulse(30, m, se=boot, bs=ku, fdb, rep=999, smat=my1, cilevels=0.95) [and click through the Cholesky options]
This produces two matrices, my1 and my1_se.
The matrix my1 contains the expected numbers for the IRF point estimates.
But the matrix my1_se contains zeros only.
This must be a bug...
(If I instead run, for example, myvar.impulse(30, m, se=a, smat=my2, cilevels=0.95), my2_se contains the expected entries, not zeros.)
Given that the above procedure fails, is there currently any other way to access what should have been in my1_se?
Peter
To do so, I first estimate a VAR and name it myvar. Then I run, for example:
myvar.impulse(30, m, se=boot, bs=ku, fdb, rep=999, smat=my1, cilevels=0.95) [and click through the Cholesky options]
This produces two matrices, my1 and my1_se.
The matrix my1 contains the expected numbers for the IRF point estimates.
But the matrix my1_se contains zeros only.
This must be a bug...
(If I instead run, for example, myvar.impulse(30, m, se=a, smat=my2, cilevels=0.95), my2_se contains the expected entries, not zeros.)
Given that the above procedure fails, is there currently any other way to access what should have been in my1_se?
Peter