-
Notifications
You must be signed in to change notification settings - Fork 2
/
Exercice_2.mod
28 lines (25 loc) · 1.08 KB
/
Exercice_2.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
%====================================================================
% Computation Macro 2023; Midterm Exam
% Task 2; Exercize 3;
% Baptiste Bourrillon;
%====================================================================
%====================================================================
%% This mod file is an attempt to implement actual mit shock;
%note that "Auray_Eyquem_2019_plots" and "Auray_Eyquem_2019"
%% are used it follows that those file must DL by the user.
%% Copy and past to excecute the file : dynare Exercise_2%%
%======================================================================
@#include "Auray_Eyquem_2019.mod"
shocks;
var eps_war;
periods 1:5;
values 1;
end;
%%%%%%%%%%%%%% check everything is correctly set up%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% perfect_foresight_setup(periods=6); % check everything is correctly set up
% oo_.exo_simul;
% oo_.endo_simul;
%%%%%%%%%%%%%% Actual shock %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
perfect_foresight_setup(periods=500);
perfect_foresight_solver;
Auray_Eyquem_2019_plots(oo_,M_) % ploting