forked from llorracc/cAndCwithStickyE
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdo_mid.py
23 lines (21 loc) · 914 Bytes
/
do_mid.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'''
This file will run the main results of the project-- the small open economy model
presented in the main text. This will produce the simulated macro time series
regressions shown as Table 3 in the paper.
Please look at USER_OPTIONS.py and set three options there before proceeding.
If you have problems running it, make sure you have installed all of the packages
specified in the requirements.txt file
'''
import os
here = os.path.dirname(os.path.realpath(__file__))
my_path = os.path.join(here,'')
path_to_models = os.path.join(my_path,'Code/Models')
path_to_options = os.path.join(path_to_models,'Options')
exec(open(my_path + 'USER_OPTIONS.py').read())
os.chdir(path_to_options)
exec(open('RunSOEonly.py').read())
exec(open('DoMakeMainResults.py').read())
exec(open('DontRunExtraStuff.py').read())
exec(open('DontMakeStataOutput.py').read())
os.chdir(path_to_models)
exec(open('StickyE_MAIN.py').read())