IRFs to 1 unit shock
Posted: Fri Nov 27, 2009 5:28 pm
Is it possible to get dynare to compute IRFs to 1 unit shock? I could find options only for 1sd and relative IRFs based on 1sd shock.
Thank you,
MArtin
Thank you,
MArtin
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/
SS(M_.exo_names_orig_ord,M_.exo_names_orig_ord) = M_.Sigma_e+1e-14*eye(M_.exo_nbr);
SS = transpose(chol(SS));
for i = 1:M_.exo_nbr
if SS(i,i) > 1e-13
y=irf(dr,SS(M_.exo_names_orig_ord,i), options_.irf, options_.drop,options_.replic,options_.order);
if options_.relative_irf
y = 100*y/cs(i,i);
end
for j = 1:nvar
if max(y(IndxVariables(j),:)) - min(y(IndxVariables(j),:)) > 1e-12
stock_irf_dsge(:,j,i,irun) = transpose(y(IndxVariables(j),:));
end
end
end