-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrecsdemos.m
65 lines (46 loc) · 1.56 KB
/
recsdemos.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
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
% RECSDEMOS runs all RECS demonstration files
% Copyright (C) 2011-2013 Christophe Gouel
% Licensed under the Expat license, see LICENSE.txt
warning('off','backtrace')
recsdirectory = fileparts(which('recsSimul'));
addpath(fullfile(recsdirectory,'demos'))
disp('GRO1 Stochastic growth model')
clear interp model options
gro1
disp('GRO2 Stochastic growth model with irreversible investment')
clear interp model options
gro2
disp('GRO3 Stochastic growth model with recursive preferences and stochastic volatility')
clear interp model options
gro3
disp('CS1 Consumption/saving model with borrowing constraint');
clear interp model options
cs1
disp('CS2 Finite horizon consumption/saving model with borrowing constraint');
clear interp model options
cs2
disp('STO1 Competitive storage model');
clear interp model options
sto1
disp('STO1 Competitive storage model with explicit formulation');
clear interp model options
sto1FX
disp('STO2 Competitive storage with floor-price backed by public storage');
clear interp model options
sto2
disp('STO3 Anticipated switch to a public storage policy');
clear interp model options
sto3
disp('STO4 Competitive storage with price-band backed by public storage');
clear interp model options
sto4
disp('STO5 Two-country storage-trade model');
clear interp model options
sto5
disp('STO6 Quarterly storage model with annual inelastic supply');
clear interp model options
sto6
disp('STO6SP Quarterly storage model with informational subperiods and annual inelastic supply');
clear interp model options
sto6SP
rmpath(fullfile(recsdirectory,'demos'))