Hi,
I have a simple dynare program to calculate the impulse response of an AR1 system:
Three commands, "shock", "estimation" and "stoch_simul" are applied in order. Does the "stoch_simul" calculate the impulse response produced by "estimation" rather than "shock"? Is the "shock" block redundant in this case?
If we consider a bigger macro-money model, is it the case that we can compute only the reponse of endogenous variables to "one-standard-deviation shock" to the policy rate equation rather than to "one-percent-point rate cut"? Is there an easy way to calculate the IRF to "one-percent-point rate cut"?
Thanks,
Miao
var r;
varexo a ;
parameters phi0 phi1;
phi0=1;
phi1=0.8;
model;
r = phi0 + phi1*(r(-1))+a;
end;
shocks;
// This line seems to be quite unrelated to the results?
var a; stderr 0.1;
end;
varobs r;
estimated_params;
phi0, 1, 0.01,10;
phi1, 0.8, 0.01,1;
stderr a, 1, 0.01,10;
end;
steady;
check;
options_.kalman_algo = 5;
estimation(datafile=datatest100_100414_std1, nobs=100, mode_compute=4, mode_check, mh_replic=0);
stoch_simul(linear,irf=10);