Releases: PSLmodels/OG-Core
Releases · PSLmodels/OG-Core
0.13.1
This release:
- Adds three new parameters to adjust government spending amounts in the case of
baseline_spending=True
:alpha_bs_G
: the proportional adjustment to the level of baseline spending on government consumption (time varying, default value is 1.0 for each model period)alpha_bs_T
: the proportional adjustment to the level of baseline spending on non-pension transfers (time varying, default value is 1.0 for each model period)alpha_bs_I
: the proportional adjustment to the level of baseline spending on infrastructure investment (time varying, default value is 1.0 for each model period)
0.13.0
This release:
- Updates all of the documentation.
- Adds remittances to all instances of the household budget constraint
- Rewrites bequests and transfers components of household budget constraint in terms of individual variables in all instances
- Adds a household transfers section to
households.md
with subsections on bequests, remittances, government transfers, and universal basic income - Changes all instances of
$p_t Y_t$ to $Y_t - Updates the steady-state equilibrium algorithm description in
equilibrium.md
- Added updates to the government pensions descriptions in
government.md
and addedpensions
to all instances of the household budget constraint. - Updates the docstrings in
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.
- Adds remittances to the OG-Core code
- Adds aggregate remittances function
get_RM()
toaggregates.py
- Adds household remittances function
get_rm()
tohousehold.py
- Adds four new remittance parameters:
alpha_RM_1
,g_RM
,alpha_RM_T
,eta_RM
- We model aggregate remittances as a percent of GDP in the first period, then growing at a specified rate that can deviate from the country growth rate until the cutoff rule period, after which the remittance growth rate trends back to the long-run model growth rate (growth rate in population and productivity). We also model remittances in reforms as being a percentage of baseline GDP. In this way, if remittance parameters are not changed in the reform, remittances remain at their baseline levels. The only way they change is if their parameter values are changed.
- Adds 3 tests using the
test_get_RM()
function intest_aggregates.py
- Adds 4 tests using the
test_get_rm()
function intest_household.py
- Changes the
initial_guess_r_SS
in two tests intest_SS.py
because they were not solving with their current values
- Adds aggregate remittances function
- Increases
RC_SS
steady-state resource constraint tolerance from 1e-9 to 1e-8 because twotest_run_SS()
tests were failing intest_SS.py
with resource constraints errors just bigger than 1e-9 (-2.29575914e-09 for [Baseline, small open] and -2.29575914e-09 for [Reform, small open]). - Increases
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]
). - Updated two directory path references that were out of date in
test_run_example.py
. - Updated expected value tuples and dictionaries in
test_txfunc.py
.