-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfigures.mod
135 lines (108 loc) · 2.34 KB
/
figures.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
for i=1:2
if i==1, cut = [0 40];
else cut = [-100 1100]; % to check if all variables converge back to zero
end
figure(i)
set(gcf,'Name','Impulse responses')
subplot(4,4,1)
plot(100*shk_omega) % plot(100*shk_beta)
title('$\omega_t$','interpreter','latex') %title('$\beta_t$','interpreter','latex')
xlim(cut)
hold on
subplot(4,4,2)
plot(100*(log(N/N_ss)))
xlim(cut)
hold on
title('$N_t$','interpreter','latex')
subplot(4,4,3)
plot(100*log(Q))
xlim(cut)
hold on
title('$Q_t$','interpreter','latex')
subplot(4,4,4)
plot(100*size_QE)
title('$QE$','interpreter','latex')
xlim(cut)
hold on
%subplot(4,4,5)
%plot(lambda)
%xlim(cut)
%hold on
%title('$\lambda_t$','interpreter','latex')
subplot(4,4,5)
plot(phi)
xlim(cut)
hold on
title('$\phi_t$','interpreter','latex')
subplot(4,4,6)
plot(100*exp_prem)
xlim(cut)
hold on
title('$R_k - R$','interpreter','latex')
subplot(4,4,7)
plot(100*log(L/L_ss))
xlim(cut)
hold on
title('$L$','interpreter','latex')
subplot(4,4,8)
plot(100*log(Loss/Loss_ss))
xlim(cut)
hold on
title('Loss','interpreter','latex')
subplot(4,4,9)
plot(400*(log(R)))
title('$R_t$','interpreter','latex')
xlim(cut)
hold on
subplot(4,4,10)
plot(100*(log(C/C_ss)))
xlim(cut)
hold on
title('$C_t$','interpreter','latex')
subplot(4,4,11)
plot(100*(log(I/(delta*K_ss))))
xlim(cut)
hold on
title('$I_t$','interpreter','latex')
subplot(4,4,12)
plot(100*(log(Y/Y_ss)))
xlim(cut)
hold on
title('$y_t$','interpreter','latex')
subplot(4,4,13)
plot(100*(log(Omega/Omega_ss)))
xlim(cut)
hold on
title('$\Omega_t$','interpreter','latex')
%subplot(4,4,14)
%plot(100*(log(eta/eta_ss)))
%xlim(cut)
%hold on
%title('$\eta_t$','interpreter','latex')
%subplot(4,4,15)
%plot(100*(log(nu/nu_ss)))
%xlim(cut)
%hold on
%title('$\nu_t$','interpreter','latex')
%subplot(4,4,16)
%plot(100*xi)
%xlim(cut)
%hold on
%title('$\xi$','interpreter','latex')
subplot(4,4,14)
plot(400*log(ir(1:end)/R_ss))
xlim(cut)
hold on
title('$ir_t$','interpreter','latex')
subplot(4,4,15)
plot(400*infl(1:end))
xlim(cut)
hold on
title('$\pi_t$','interpreter','latex')
subplot(4,4,16)
plot(100*lambda_star)
xlim(cut)
hold on
title('$\lambda^*$','interpreter','latex')
end