iza-institute-of-labor-economics / gettsim

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

BUG: Add last year's income as an input variable for Elterngeld #692

Closed MImmesberger closed 2 months ago

MImmesberger commented 8 months ago

Bug description

As discussed in #690, GETTSIM uses this year's income as an approximation for last year's income when calculating Elterngeld.

Instead, we should use last year's income as a basic input variable to correctly compute Elterngeld. At the same time, we should have the Elterngeld-relevant income as an output variable to facilitate computations in panel data.

ChristianZimpelmann commented 8 months ago

There is a similar problem for grundrente which requires income from two (or three?) years ago.

See docstring of _grundr_zuschlag_eink_vor_freibetrag_m

hmgaudecker commented 8 months ago

And ALG I, in case we want to expand the scope here.