-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMain_replic.m
More file actions
95 lines (69 loc) · 1.54 KB
/
Main_replic.m
File metadata and controls
95 lines (69 loc) · 1.54 KB
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
%% Replication Package
% Alice Albonico, Ludivic Calés, Roberta Cardani, Olga Croitorov, Filippo Ferroni,
% Massimo Giovannini, Stefan Hohberger, Beatrice Pataracchia, Filippo Pericoli,
% Rafal Raciborski, Marco Ratto, Werner Roeger, Lukas Vogel
% Comparing post-crisis dynamics across Euro Area countries with the Global Multi-country model
% Economic Modelling 81(C), 2019, 242-273
%%
close all; clear all;
% add dynare path
addpath C:\dynare\4.5.6\matlab\
% Adding utilities
addpath util
addpath util_4.5b
% Specify output folders
workdirectory = pwd;
my_DE = 'DE\';
my_FR = 'FR\';
my_IT = 'IT\';
my_ES = 'ES\';
my_output = 'output_util\';
%% Specify country
DE = 1;
FR = 1;
IT = 1;
ES = 1;
%% Run DE model
cd(workdirectory)
if DE
cd(my_DE)
dynare gemc console nointeractive
end
cd(workdirectory)
%% Run FR model
cd(workdirectory)
if FR
cd(my_FR)
dynare gemc console nointeractive
end
cd(workdirectory)
%% Run IT model
cd(workdirectory)
if IT
cd(my_IT)
dynare gemc console nointeractive
end
cd(workdirectory)
%% Run ES model
cd(workdirectory)
if ES
cd(my_ES)
dynare gemc console nointeractive
end
cd(workdirectory)
%% Creating figures and plots in the paper
% Capacity utilization in the model and the data (Fig. 1)
cd(my_output)
CU_Figure1;
%%
% Dynamic responses (Figs. 2-7)
cd(my_output)
IRFs_Fig2_7;
%%
% Annual fit - 1- and 2-year ahead forecast (Figs. B.1 - B.4)
cd(my_output)
Fit_Fig_B1_B4;
%%
% Lead-lag structure of output growth and its main components (Figs. B.5 - B.8)
cd(my_output)
Lead_lag_Fig_B5_B8;