-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.py
56 lines (48 loc) · 1.91 KB
/
constants.py
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
###########################################################################
# Set Constants #
###########################################################################
START_AGE = 22 # age starts to work
END_AGE = 100 # age assumed to die
RETIRE_AGE = 65 # retirement age
N_COH = 501 # the number of points in the grid of cash-on-hand
LOWER_BOUND_COH = 1 # lower bound of cash-on-hand
UPPER_BOUND_COH = 15000000 # upper bound of cash-on-hand
EXPAND_FAC = 3 # expanding factor, use to generate expanding spacing grid
N_C = 1501 # the number of points in the grid of consumption
LOWER_BOUND_C = 0.1 # lower bound of consumption
GAMMA = 2 # risk preference parameter
R = 0.02 # risk-free rate
DELTA = 0.99 # discount factor
MU = 0 # expectation of income shocks
N_SIM = 100000 # number of draws
INIT_WEALTH = 0 # initial wealth that individual assumed to have when starts to work
AltDeg = 4 # education level identifier
flag = 'orig' # flag var, 'orig' or 'rho' or 'ppt'
run_dp = True # Bool, run the dp_solver or not
# Dict - education group
education_level = {
1: 'No High School',
2: 'High School Graduates',
4: 'College Graduates'
}
# Dict - replacement rate of retirement earnings (lambda)
ret_frac = {
1: 0.6005,
2: 0.5788,
4: 0.4516,
}
# Dict - replacement rate of unemployment earnings (theta)
unemp_frac = {
1: 0.7891,
2: 0.7017,
4: 0.5260
}
# Dict - probability of suffering an unemployed spell (pi)
unempl_rate = {
1: 0.2024,
2: 0.1438,
4: 0.0738
}
rho = 0.900796641891997 # replacement rate of ISA
TERM = 10 # term of ISA
ppt = 3483.25 # repayment amount of loan