Skip to content

Commit

Permalink
update estimate
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlujan91 committed Mar 19, 2024
1 parent 336c770 commit 7122eab
Show file tree
Hide file tree
Showing 50 changed files with 2,511 additions and 733 deletions.
10 changes: 5 additions & 5 deletions code/do_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ def run_replication():
replication_specs = {}

if which_model == "1" or which_model == "":
replication_specs["init_agent_name"] = "IndShock"
replication_specs["agent_name"] = "IndShock"
elif which_model == "2":
replication_specs["init_agent_name"] = "Portfolio"
replication_specs["agent_name"] = "Portfolio"
elif which_model == "3":
replication_specs["init_agent_name"] = "WarmGlow"
replication_specs["agent_name"] = "WarmGlow"
elif which_model == "4":
replication_specs["init_agent_name"] = "WarmGlowPortfolio"
replication_specs["agent_name"] = "WarmGlowPortfolio"
elif which_model == "5":
replication_specs["init_agent_name"] = "WealthPortfolio"
replication_specs["agent_name"] = "WealthPortfolio"
else:
print("Invalid model choice.")
return
Expand Down
4 changes: 0 additions & 4 deletions code/estimark/chris_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
bootstrap_size = 50 # Number of re-estimations to do during bootstrap
seed = 1132023 # Just an integer to seed the estimation


params_to_estimate = ["CRRA"]
# Initial guess of the coefficient of relative risk aversion during estimation (rho)
init_CRRA = 5.0
Expand All @@ -69,7 +68,6 @@
init_WealthShare = 0.5 # Initial guess of the wealth share parameter
bounds_WealthShare = [0.0, 1.0] # Bounds for the wealth share parameter


######################################################################
# Constructed parameters
######################################################################
Expand Down Expand Up @@ -114,7 +112,6 @@
retirement_age + age_interval + 1,
) # only match ages 71 and older


init_params_options = {
"init_guess": {
"CRRA": init_CRRA,
Expand All @@ -133,7 +130,6 @@
},
}


# Survival probabilities over the lifecycle
liv_prb = parse_ssa_life_table(
female=False,
Expand Down
Loading

0 comments on commit 7122eab

Please sign in to comment.