Repository navigation
Add pension contribution wedge to aggregate budget tracking - #45
Merged
Merged
Conversation
Author
|
@jdebacker. I ran the full pytest suite locally on my machine: I also ran the BASELINE STEADY STATE EQUILIBRIUM BASELINE TRANSITION PATH EQUILIBRIUM (1 min 57.7 sec) REFORM STEADY STATE EQUILIBRIUM REFORM TRANSITION PATH EQUILIBRIUM (1 min 55.6 sec) |
jdebacker
approved these changes
Nov 19, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
make format,make documentation, andmake testhave been run.This PR is an update to your branch supporting PR #1284 in the master branch of OG-Core. This PR adds the following:
r_fdc_wedgebroke the resource constraint. The fund invests the balances it owes households (aggregates.get_F, credited r_fdc, including the balances bequeathed by members who die before retirement, whichpensions.fdc_bequeathablenow credits at r_fdc instead of r_p) and keeps the spread (aggregates.get_fdc_spread) as a pension reserve that earns r_p and adds to domestic savings (aggregates.get_pension_reserves). The new parameterpension_reserve_max_GDPratio(default 0.5, range 0.2 to 0.8) caps the reserve as a share of GDP; reserves above the cap are paid to the government as pension reserve revenue, a new optional argument offiscal.get_G_ssandfiscal.get_TRthat is not tax revenue. The reserve also has a floor of zero: at the end of any period in which it would fall below zero (as with a negative wedge), the government transfers enough to the reserve that it begins the next period at zero or above, a pension reserve transfer that is netted against the revenue in the budget constraint.pensions.fdc_bequeathablenow takesr_p, andpensions.fdc_wedge_ssreturns the steady-state wedge by age. The steady-state output addsfdc_spread,pension_reserves,pension_reserve_revenue, andpension_reserve_transfer. Adds tests of the reserve rule and steady-state solutions with a nonzero wedge, with the reserve below its ceiling, at its ceiling, and at its floor.cc: @jdebacker