Lamda
needs to be lamda
:
clear
clc
close all
dynare fondamental.mod
irf_1=oo_.irfs;
dynare fondamentaljojo.mod
irf_2=oo_.irfs;
ending_cell={'_epsA'};
for ii=1:length(ending_cell)
HOR=1:options_.irf;
var={'Y','C','C_R','C_NR','T_NR','W','G','I','pi','MC','K','A','LH','Q','R_D','R_Q','R_B','N','U','B','MBS_CoB','M','HC','R_SPREAD','R_IB','R','IB','X','lamda','m','PRIM'};
for jj=1:length(var)
subplot(6,6,jj)
hh1=plot(HOR,irf_1.([var{1,jj},ending_cell{1,ii}]),'LineWidth',5);
hold on
hh2=plot(HOR,irf_2.([var{1,jj},ending_cell{1,ii}]),'LineWidth',5);
grid;
title(['Reponse de ',var{1,jj},' Au choc ',ending_cell{1,ii}] )
if jj==1
legend([hh1;hh2],'Sans frictions financières','Avec frictions financières')
end
xlabel('Trimestres');
ylabel('IRFs');
end
end`