Regarding graphing Accumulated IRF'S
Posted: Fri Oct 09, 2015 5:17 pm
Hi Tom,
I have a question.
So, I am using the long run monetary neutrality assumption as in BQ. I use the following code:
estimate
compute bqfactor=%bqfactor(%sigma,%varlagsums)
compute implabel = || "Real GDP","Interest Rate","Real Money","Nominal Money" ||
impulses(model=bqvar,result=impulses,factor=bqfactor,steps=ksteps)
@varirf(model=bqvar,footer="Responses to Cholesky factor shocks", steps=ksteps,varlabels=implabel, accum=||1, 2, 3, 4||)
Now the irf's I get here for real variables do not converge to zero in the long run, but if I dont accumulate them, then even though they are very fluctuating but they converge to zero in the long run. Alternatively I have also done this:
impulse(model=bqvar,result=irfs,factor=bqfactor, steps=ksteps)
dec rect[ser] accumimp(%nvar,%nvar)
do i=1,%nvar
do j=1,%nvar
accumulate irfs(i,j) 1 ksteps accumimp(i,j)
end do i
end do j
How do I draw the IRF's after accumulating them in this way? I want to see if now my real variables converge to zero in the long run or not.
Thank you so much
I have a question.
So, I am using the long run monetary neutrality assumption as in BQ. I use the following code:
estimate
compute bqfactor=%bqfactor(%sigma,%varlagsums)
compute implabel = || "Real GDP","Interest Rate","Real Money","Nominal Money" ||
impulses(model=bqvar,result=impulses,factor=bqfactor,steps=ksteps)
@varirf(model=bqvar,footer="Responses to Cholesky factor shocks", steps=ksteps,varlabels=implabel, accum=||1, 2, 3, 4||)
Now the irf's I get here for real variables do not converge to zero in the long run, but if I dont accumulate them, then even though they are very fluctuating but they converge to zero in the long run. Alternatively I have also done this:
impulse(model=bqvar,result=irfs,factor=bqfactor, steps=ksteps)
dec rect[ser] accumimp(%nvar,%nvar)
do i=1,%nvar
do j=1,%nvar
accumulate irfs(i,j) 1 ksteps accumimp(i,j)
end do i
end do j
How do I draw the IRF's after accumulating them in this way? I want to see if now my real variables converge to zero in the long run or not.
Thank you so much