forked from dgevans/Golosov-Sargent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WarExperiments.m
29 lines (26 loc) · 883 Bytes
/
WarExperiments.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
plotpath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Graphs\War\';
mkdir(plotpath)
load data\Calibration\SimDataParallelWar.mat
% figure()
plot(u2btildHist)
xlabel('x_t')
ylabel('t')
title('x')
print(gcf,'-dpng',[plotpath 'LongSimulationX.png'])
figure()
plot(RHist)
xlabel('R_t')
ylabel('t')
title('R')
print(gcf,'-dpng',[plotpath 'LongSimulationR.png'])
% % -- PLOT simulations -----------------------------------------
close all
clear all
clc
SimTitle{1}='War';
SimDataPath= 'Data/Calibration/SimDataParallelWar.mat';
SimPlotPath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Graphs\War\';
mkdir(SimPlotPath)
SimTexPath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Tex\War\';
mkdir(SimTexPath)
PlotParallelSimulationsCommonShocks(SimDataPath,SimTexPath,SimPlotPath,SimTitle)