Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.25.2] - 2026-11-23

### Added
- Adds the hybrid defined benefit and funded defined contribution pension system (`pension_system` set to `'Hybrid DB-FDC'`), which has the same structure as the hybrid DB-NDC system with an FDC account in place of the notional account. Labor income up to `db_earn_cap_factor` times `avg_labor_inc_t1_model_units` earns a defined benefit (`pensions.DB_FDC_hybrid_amount`, the public pension), and labor income between that cutoff and `dc_earn_cap_factor` times `avg_labor_inc_t1_model_units` pays `fdc_tau` into an FDC account (`pensions.fdc_earn_bands` sets this band under the system, whatever `fdc_earn_floor_factor` and `pension_earn_cap`). The two hybrid systems share the cutoff check, now `pensions.hybrid_earn_cutoffs`, and `Specifications` checks the cutoffs are ordered for every cohort under both, and warns if `fdc_tau` is zero under the new system. Documents the system in the pensions chapter, and adds tests that its public pension is the capped defined benefit, that its FDC band lies between the two cutoffs, and that its steady state is the same as that of the Defined Benefits system with `pension_earn_cap` and the FDC floor at the defined benefit cap.
- Adds the parameter `pension_FOC_linkage` (default false), which sets whether the household's labor first order condition includes the value of the additional pension benefit that an extra unit of labor earns. It currently affects only the FDC pillar: when false, `household.fdc_labor_wedge` drops the accrual term (the value of the annuity bought by a marginal contribution) and keeps the contribution cost, so FDC contributions act on labor supply like a tax on earnings in the FDC band, as the pay-as-you-go systems already treat benefits. **This changes FDC results from earlier versions, which always included the accrual term;** set `pension_FOC_linkage` to true to reproduce them. The FDC tests now set it to true, and a new test checks that it removes only the accrual term. Under the hybrid DB-FDC system, contributions start at the defined benefit cutoff, which puts a discrete change in the marginal return to labor at that cutoff; the hybrid steady-state test uses `FOC_root_method` set to `lm`, since the default `hybr` does not converge there.

## [0.25.1] - 2026-11-22

### Changed
Expand Down Expand Up @@ -936,6 +942,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Any earlier versions of OG-USA can be found in the [`OG-Core`](https://github.com/PSLmodels/OG-Core) repository [release history](https://github.com/PSLmodels/OG-Core/releases) from [v.0.6.4](https://github.com/PSLmodels/OG-Core/releases/tag/v0.6.4) (Jul. 20, 2021) or earlier.


[0.25.2]: https://github.com/PSLmodels/OG-Core/compare/v0.25.1...v0.25.2
[0.25.1]: https://github.com/PSLmodels/OG-Core/compare/v0.25.0...v0.25.1
[0.25.0]: https://github.com/PSLmodels/OG-Core/compare/v0.24.6...v0.25.0
[0.24.6]: https://github.com/PSLmodels/OG-Core/compare/v0.24.5...v0.24.6
Expand Down
3 changes: 2 additions & 1 deletion docs/book/content/api/pensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ogcore.pensions

.. automodule:: ogcore.pensions
:members: replacement_rate_vals, pension_amount, SS_amount, DB_amount,
NDC_amount, DB_NDC_hybrid_amount, pension_earn_caps, earnings_band_at,
NDC_amount, hybrid_earn_cutoffs, DB_NDC_hybrid_amount,
DB_FDC_hybrid_amount, pension_earn_caps, earnings_band_at,
PS_amount,
deriv_theta, deriv_NDC, deriv_DB, deriv_PS,
delta_point, NDCRates, growth_rate_path, ndc_rates_path, g_ndc, g_dir,
Expand Down
25 changes: 16 additions & 9 deletions docs/book/content/intro/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,19 @@ _Out-of-Range Action:_ error
#### `pension_system`
_Description:_ Pension system.
_Value Type:_ str
_Valid Choices:_['US-Style Social Security', 'Defined Benefits', 'Notional Defined Contribution', 'Points System', 'Hybrid DB-NDC']
_Valid Choices:_['US-Style Social Security', 'Defined Benefits', 'Notional Defined Contribution', 'Points System', 'Hybrid DB-NDC', 'Hybrid DB-FDC']


#### `pension_earn_cap`
_Description:_ Whether the labor income that earns a pension benefit is capped under the Defined Benefits and Notional Defined Contribution systems. When true, under the Defined Benefits system only labor income up to db_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) enters the benefit, and under the Notional Defined Contribution system only labor income up to dc_earn_cap_factor in period t times avg_labor_inc_t1_model_units is credited to the notional account. When false, all labor income enters the benefit.
_Notes:_ Only used when pension_system is 'Defined Benefits' or 'Notional Defined Contribution'; the 'Hybrid DB-NDC' system always applies its cutoffs. These are the same cutoffs, set and indexed in the same way, that bound the defined benefit and notional defined contribution bands of the hybrid system. The cutoff that applies to any labor income is the one in effect in the period in which it was earned. The cap applies to the income that earns a benefit, not to the payroll tax base: tau_payroll applies to all labor income under every system.
_Description:_ Whether the labor income that earns a pension benefit is capped under the Defined Benefits and Notional Defined Contribution systems. When true, under the Defined Benefits system only labor income up to db_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) enters the benefit, and under the Notional Defined Contribution system only labor income up to dc_earn_cap_factor in period t times avg_labor_inc_t1_model_units is credited to the notional account. When true, funded defined contribution (FDC) contributions are also paid only on labor income up to dc_earn_cap_factor in period t times avg_labor_inc_t1_model_units. When false, all labor income enters the benefit and all labor income above the FDC floor (fdc_earn_floor_factor) is subject to FDC contributions.
_Notes:_ Used when pension_system is 'Defined Benefits' or 'Notional Defined Contribution', and for the funded defined contribution pillar under any pension_system other than 'Hybrid DB-FDC'; the 'Hybrid DB-NDC' and 'Hybrid DB-FDC' systems always apply their cutoffs. These are the same cutoffs, set and indexed in the same way, that bound the defined benefit and notional defined contribution bands of the hybrid system. The cutoff that applies to any labor income is the one in effect in the period in which it was earned. The cap applies to the income that earns a benefit, not to the payroll tax base: tau_payroll applies to all labor income under every system.
_Value Type:_ bool
_Valid Choices:_[True, False]


#### `pension_FOC_linkage`
_Description:_ Whether the household's first order condition for labor supply includes the value of the additional pension benefit that an extra unit of labor earns. When false, households choose labor as if their pension benefits did not depend on their earnings, although benefits are still computed from actual earnings. Pension contributions that come out of household income (the funded defined contribution pillar, fdc_tau) enter the labor first order condition regardless of this setting.
_Notes:_ Currently affects only the funded defined contribution (FDC) pillar, whose accrual term (the value of the annuity bought by a marginal contribution) is included in the labor first order condition only when this is true. The pay-as-you-go systems (US Social Security, Defined Benefits, Notional Defined Contribution, Points System, and the hybrid systems) do not yet include an accrual term in the labor first order condition, so this setting does not affect them.
_Value Type:_ bool
_Valid Choices:_[True, False]

Expand All @@ -336,24 +343,24 @@ _Out-of-Range Action:_ error


#### `db_earn_cap_factor`
_Description:_ Labor income up to db_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) earns a defined benefit (computed with the Defined Benefits parameters). Under the Defined Benefits system with pension_earn_cap true, labor income above this cap earns no benefit. Under the hybrid defined benefit and notional defined contribution system, this is the upper cutoff of the defined benefit band and the lower cutoff of the notional defined contribution band, and labor income up to it is subject to the payroll tax tau_payroll.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC', and when pension_earn_cap is true and pension_system is 'Defined Benefits'. Formerly factor1_db_ndc_hybrid, which is still accepted with a deprecation warning. May vary over time: set value for base year, click '+' to add value for next year. All future years not specified are set to last value entered. The cutoffs that apply to any labor income are those the earner's cohort faces in the period in which it was earned. Changes by birth cohort are entered through pension_regimes with a single number, indexed like a single value below. Under the hybrid system, must be no greater than dc_earn_cap_factor in every period. A single value is the initial factor of a path indexed to remove trend growth, value / e^(g_y t) in model period t, so the cutoff is fixed in real terms; enter two or more values to supply your own path.
_Description:_ Labor income up to db_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) earns a defined benefit (computed with the Defined Benefits parameters). Under the Defined Benefits system with pension_earn_cap true, labor income above this cap earns no benefit. Under the hybrid defined benefit and notional defined contribution system, this is the upper cutoff of the defined benefit band and the lower cutoff of the notional defined contribution band, and labor income up to it is subject to the payroll tax tau_payroll. Under the hybrid defined benefit and funded defined contribution system, it is the upper cutoff of the defined benefit band and the lower cutoff of the funded defined contribution (FDC) band.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC' or 'Hybrid DB-FDC', and when pension_earn_cap is true and pension_system is 'Defined Benefits'. Formerly factor1_db_ndc_hybrid, which is still accepted with a deprecation warning. May vary over time: set value for base year, click '+' to add value for next year. All future years not specified are set to last value entered. The cutoffs that apply to any labor income are those the earner's cohort faces in the period in which it was earned. Changes by birth cohort are entered through pension_regimes with a single number, indexed like a single value below. Under the hybrid systems, must be no greater than dc_earn_cap_factor in every period. A single value is the initial factor of a path indexed to remove trend growth, value / e^(g_y t) in model period t, so the cutoff is fixed in real terms; enter two or more values to supply your own path.
_Value Type:_ float
_Valid Range:_ min = 0.0 and max = 100.0
_Out-of-Range Action:_ error


#### `dc_earn_cap_factor`
_Description:_ Labor income up to dc_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) is credited to a notional defined contribution account (computed with the Notional Defined Contribution parameters). Under the Notional Defined Contribution system with pension_earn_cap true, labor income above this cap is not credited. Under the hybrid defined benefit and notional defined contribution system, labor income between db_earn_cap_factor and dc_earn_cap_factor times avg_labor_inc_t1_model_units is subject to the contribution rate tau_p and earns a notional defined contribution benefit in addition to the defined benefit, and labor income above dc_earn_cap_factor times avg_labor_inc_t1_model_units earns no benefit.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC', and when pension_earn_cap is true and pension_system is 'Notional Defined Contribution'. Formerly factor2_db_ndc_hybrid, which is still accepted with a deprecation warning. May vary over time: set value for base year, click '+' to add value for next year. All future years not specified are set to last value entered. The cutoffs that apply to any labor income are those the earner's cohort faces in the period in which it was earned. Changes by birth cohort are entered through pension_regimes with a single number, indexed like a single value below. Under the hybrid system, must be at least db_earn_cap_factor in every period. A single value is the initial factor of a path indexed to remove trend growth, value / e^(g_y t) in model period t, so the cutoff is fixed in real terms; enter two or more values to supply your own path.
_Description:_ Labor income up to dc_earn_cap_factor in period t times avg_labor_inc_t1_model_units (average labor income in the first model period) is credited to a notional defined contribution account (computed with the Notional Defined Contribution parameters). Under the Notional Defined Contribution system with pension_earn_cap true, labor income above this cap is not credited. Under the hybrid defined benefit and notional defined contribution system, labor income between db_earn_cap_factor and dc_earn_cap_factor times avg_labor_inc_t1_model_units is subject to the contribution rate tau_p and earns a notional defined contribution benefit in addition to the defined benefit, and labor income above dc_earn_cap_factor times avg_labor_inc_t1_model_units earns no benefit. Under the hybrid defined benefit and funded defined contribution system, labor income between db_earn_cap_factor and dc_earn_cap_factor times avg_labor_inc_t1_model_units pays the funded defined contribution (FDC) rate fdc_tau into an individual account, and labor income above it earns no benefit. With pension_earn_cap true, it is also the cap on the labor income on which FDC contributions are paid, under any other pension_system.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC' or 'Hybrid DB-FDC', when pension_earn_cap is true and pension_system is 'Notional Defined Contribution', and when pension_earn_cap is true and fdc_tau is positive. Formerly factor2_db_ndc_hybrid, which is still accepted with a deprecation warning. May vary over time: set value for base year, click '+' to add value for next year. All future years not specified are set to last value entered. The cutoffs that apply to any labor income are those the earner's cohort faces in the period in which it was earned. Changes by birth cohort are entered through pension_regimes with a single number, indexed like a single value below. Under the hybrid systems, must be at least db_earn_cap_factor in every period. With pension_earn_cap true (and a pension_system other than 'Hybrid DB-FDC'), must be at least fdc_earn_floor_factor wherever fdc_tau is positive. A single value is the initial factor of a path indexed to remove trend growth, value / e^(g_y t) in model period t, so the cutoff is fixed in real terms; enter two or more values to supply your own path.
_Value Type:_ float
_Valid Range:_ min = 0.0 and max = 100.0
_Out-of-Range Action:_ error


#### `avg_labor_inc_t1_model_units`
_Description:_ Average labor income in the first model period, in model units, taken from an outside model. The earnings cutoffs of the hybrid DB-NDC pension system, and the caps applied by pension_earn_cap under the Defined Benefits and Notional Defined Contribution systems, are db_earn_cap_factor and dc_earn_cap_factor times this value, so the cutoffs do not depend on endogenous model variables such as the wage.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC', and when pension_earn_cap is true under 'Defined Benefits' or 'Notional Defined Contribution'. Must be expressed in the same (stationarized) model units as labor income w * e * n.
_Description:_ Average labor income in the first model period, in model units, taken from an outside model. The earnings cutoffs of the hybrid DB-NDC and DB-FDC pension systems, and the caps applied by pension_earn_cap under the Defined Benefits and Notional Defined Contribution systems, are db_earn_cap_factor and dc_earn_cap_factor times this value, so the cutoffs do not depend on endogenous model variables such as the wage.
_Notes:_ Used when pension_system is 'Hybrid DB-NDC' or 'Hybrid DB-FDC', when pension_earn_cap is true under 'Defined Benefits' or 'Notional Defined Contribution' or with a funded defined contribution pillar (fdc_tau positive), and to set the lower cutoff of the funded defined contribution earnings band (fdc_earn_floor_factor). Must be expressed in the same (stationarized) model units as labor income w * e * n.
_Value Type:_ float
_Valid Range:_ min = 0.0 and max = 1000.0
_Out-of-Range Action:_ error
Expand Down
Loading
Loading