IRF of a nonstationary system

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

IRF of a nonstationary system

Postby wanghao19820707 » Mon Feb 25, 2013 7:04 am

Dear all:
In my model investment ,output is growing with technology ,and technology follows:log(A(t))=log(A(t-1))+mu_a+e_a(t) ,and another shock e_q in log(q(t))=q(t)=(1-rho_q)*log(mu_q)+rho_q*log(q(t-1))+e_q(t)
the system is writen in difference form with dy=da*y/y(-1) and di=da*i/i(-1)

now I have two questions:
1.if I simulate the model and want to get the irf of Y(t)=A(t)*y(t) ,I(t)=A(t)*i(t) do I only need to acumulated sum up the irf of di_e_a di_e_q dy_e_a dy_e_q in workspace(a series of number) ?

2.If I estimate the model and want to get posterior irf of Y(t)=A(t)*y(t) ,I(t)=A(t)*i(t) what should I do ?

I find baysian irf of variable in oo_.PosteriorIRF.dsge. but I don't know how to read it.can anyone give me some hint ?what is response number and what is confidence interval number?

what is meaning block val(:,:,1,1),I have 10 endo vars and there is 10 column in each bolck

thank you all
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: IRF of a nonstationary system

Postby jpfeifer » Sun Mar 10, 2013 10:29 am

1. Yes, you just have to accumulate them
2. This is tricky and I don't know if this can be done easily. As IRFs are nonlinear functions of the parameters, the mean of the nonstationary IRFs is not equal to the sum of the mean IRFs for the stationary IFS plus the accumulated trend. Thus, you would have to hack Dynare to store the accumulated IRF for each parameter combination and compute the mean/median and the HPDIs yourself.

oo_.PosteriorIRF.dsge stores what the field-names say, namely the mean and median IRFs as well as the lower and upper bounds of the HPDI ("Bayesian confidence intervals"). What do you mean with
block val(:,:,1,1)
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests