forked from sbenthall/DistributionOfWealthMPC
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c8ef20
commit a06c0d3
Showing
12 changed files
with
99 additions
and
59 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
""" | ||
This file will run the two main specifications of the cstwMPC project: FBS-style | ||
aggregate shocks, perpetual youth, matching net worth. Will run both beta-point | ||
and beta-dist versions. | ||
""" | ||
|
||
import code.calibration as parameters | ||
from code.estimation import estimate | ||
from code.options.all_options import all_options | ||
|
||
basic_options = all_options["UseUniformBetaDist"].copy() | ||
basic_options.update(all_options["DoStandardWork"]) | ||
|
||
# Run beta-point model | ||
|
||
point_options = basic_options.copy() | ||
point_options.update(all_options["LCSpecPoint"]) | ||
|
||
estimate(point_options, parameters) | ||
|
||
# Run beta-dist model | ||
|
||
dist_options = basic_options.copy() | ||
dist_options["do_combo_estimation"] = True | ||
dist_options.update(all_options["LCSpecDist"]) | ||
|
||
estimate(dist_options, parameters) |
Oops, something went wrong.