-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remittances to OG-Core #971
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #971 +/- ##
==========================================
+ Coverage 69.98% 70.14% +0.16%
==========================================
Files 20 20
Lines 4977 5038 +61
==========================================
+ Hits 3483 3534 +51
- Misses 1494 1504 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@jdebacker. I think this PR is now ready for review and to be merged if accepted. In addition to running the
|
@jdebacker. I made the following updates:
|
@jdebacker. Now all the tests are passing, both GH Actions and local (see output below). This PR should now be ready to go.
|
@jdebacker. I think this PR is ready now. All tests have passed, and I responded to all of your comments/requests. |
@rickecon Thank you for all the work on this PR. Amazing updates to the docs and the remittances are doing to be critical for certain country calibrations. Nice job on this! |
This adds remittances to OG-Core and does some heavy updates to the documentation. This PR:
households.md
with subsections on bequests, remittances, government transfers, and universal basic incomeequilibrium.md
government.md
and addedpensions
to all instances of the household budget constraint.tax.py
for the wealth tax ETR and MTR functions. The code is right. I just thought there was a clearer specification of the equations in LaTeX.get_RM()
toaggregates.py
get_rm()
tohousehold.py
alpha_RM_1
,g_RM
,alpha_RM_T
,eta_RM
test_get_RM()
function intest_aggregates.py
test_get_rm()
function intest_household.py
initial_guess_r_SS
in two tests intest_SS.py
because they were not solving with their current valuesRC_SS
steady-state resource constraint tolerance from 1e-9 to 1e-8. because on of the tests intest_run_TPI.py::test_run_TPI_full_run[Baseline, small open]
was failing due to `RuntimeError: Steady state aggregate resource constraint not satisfied. The maximum absolute resource constraint error was 2.29575914e-09.RC_TPI
transition path resource constraint tolerance from 1e-5 to 1e-4 in because onetest_run_TPI_full_run()
test was failing intest_TPI.py
with a resource constraint error just bigger than 1e-5 (1.4459913381864586e-05 for[Baseline, M=3 non-zero Kg]
).test_run_example.py
.test_txfunc.py
.cc: @jdebacker