Bugfix in PosteriorIRFs

Fixed ancient copy and paste mistake from stoch_simul for relative IRFs
in Posterior IRFs
time-shift
Johannes Pfeifer 2013-02-28 12:00:40 -05:00
parent 46a59423f2
commit 69b385ccd4
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ while fpar<B
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);
y = 100*y/SS(i,i);
end
for j = 1:nvar
if max(y(IndxVariables(j),:)) - min(y(IndxVariables(j),:)) > 1e-12