forked from dgevans/Golosov-Sargent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AltStartsExperiments.m
30 lines (26 loc) · 916 Bytes
/
AltStartsExperiments.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
plotpath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Graphs\AltStarts\';
mkdir(plotpath)
load data\Calibration\SimDataStationaryStart.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}='AltStarts';
SimDataPath= 'Data/Calibration/SimDataStationaryStart.mat';
SimPlotPath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Graphs\AltStarts\';
mkdir(SimPlotPath)
SimTexPath='C:\Users\Anmol\Dropbox\2011RA\FiscalPolicy\GolosovProjectCode\Tom Example\BGP\Tex\AltStarts\';
mkdir(SimTexPath)
PlotParallelSimulationsCommonShocks(SimDataPath,SimTexPath,SimPlotPath,SimTitle)