Skip to content

Commit

Permalink
Merge pull request #87 from jdebacker/run_script
Browse files Browse the repository at this point in the history
Merging
  • Loading branch information
rickecon authored Feb 12, 2024
2 parents 7a6757b + b726392 commit 2106b51
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/run_og_usa.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def main():
)
p.tax_func_type = "GS"
c = Calibration(p, estimate_tax_functions=True, client=client)
# close and delete client bc cache is too large
client.close()
del client
client = Client(n_workers=num_workers)
d = c.get_dict()
# # additional parameters to change
updated_params = {
Expand Down Expand Up @@ -100,6 +104,10 @@ def main():
c2 = Calibration(
p2, iit_reform=iit_reform, estimate_tax_functions=True, client=client
)
# close and delete client bc cache is too large
client.close()
del client
client = Client(n_workers=num_workers)
# update tax function parameters in Specifications Object
d = c2.get_dict()
# # additional parameters to change
Expand Down

0 comments on commit 2106b51

Please sign in to comment.