iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
54 stars 32 forks source link

BUG: Statutory retirement ages #665

Closed MImmesberger closed 4 months ago

MImmesberger commented 10 months ago

Bug description

Currently, statutory retirement ages are often implemented via piecewise linear functions. This implementation makes sense for monetary units, but not for retirement ages, especially in the presence of staggered implementation of higher statutory retirement ages. The new implementation should look something like the solution used for the Altersrente wg. Arbeitslosigkeit in #645

Note: Additionally, the current piecewise functions are not correct for pathways into retirement that were abolished. The current implementation uses the normal retirement age for cohorts that are not eligible for this pathway. This is not necessary because GETTSIM deals with this eligibility concerns elsewhere.