-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfigures_varma_sw.m
32 lines (23 loc) · 936 Bytes
/
figures_varma_sw.m
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
%% LP vs VAR INFERENCE: GENERATE FIGURES
% Jose L. Montiel Olea, Mikkel Plagborg-Moller, Eric Qian, and Christian Wolf
% this version: 05/21/2024
%% HOUSEKEEPING
clc
clear
close all
warning('off','MATLAB:dispatcher:nameConflict')
addpath(genpath('../../functions'))
addpath(genpath('../auxiliary_functions'))
%% SETTINGS
%----------------------------------------------------------------
% Set Identification Scheme
%----------------------------------------------------------------
scheme = 'lshock'; % mpshock, lshock, or mprecursive
% -------------------------------------------------------------------------
% Set DGP Type
% -------------------------------------------------------------------------
% Either 'varma_fixp', 'varma_fixplongT', 'varma_estp', 'varma_worst',
% 'varma_bfixp', 'varma_bfixplongT', 'varma_bestp', or 'varma_bworst'
dgp_type = 'varma_fixplongT';
%% GENERATE FIGURES
sim_genfigures