You are on page 1of 1

i=0.

1952531632;
y=0.6671149742;
k=3.905063263;
l=0.810884503;
w=0.5759182886;
r=0.4729784112;
h=0.108355897;
e
rho = rhos(j);
stoch_simul(order=1, irf=40, nograph, nomoments,nofunctions);
oo_sen{j} = oo_;
end;
%-------------------------------------
% GRAFICO
%-------------------------------------
name ={'Consumo (C)','Inversion (I)','Producto (Y)','Capital (K)','Trabajo (L)',...
'Salario real (W)','Tasa de interes (r)','Tasa de utilizacin del capital
(h)','Efic.Marg.Inversion (e)'};
field_name = fieldnames(oo_sen{1}.irfs);
time = 1:40;
for j=1:size(name,2)
subplot(2,4,j)
plot(time,oo_sen{1}.irfs.(field_name{j}),...
time,oo_sen{2}.irfs.(field_name{j}),'--',...
time,oo_sen{3}.irfs.(field_name{j}),'-.','LineWidth', 1.5)
title(name{j});
grid;
end;
legend('\rho=0.5','\rho=0.7','\rho=0.9');
orient landscape
saveas(gcf,'analisis_sensibilidad','pdf');

You might also like