PSLmodels / OG-Core

An overlapping generations model framework for evaluating fiscal policies.
https://pslmodels.github.io/OG-Core/
Creative Commons Zero v1.0 Universal
68 stars 119 forks source link

Remove surv_rate object #885

Closed rickecon closed 1 year ago

rickecon commented 1 year ago

The survival rates object surv_rate parameter in OG-Core is incorrectly specified in that it is currently just an $S$-element list (see default_parameters.json). It would need to be a nested (2-dimensional) $S$-element list to be consistent with the mortality rates rho parameter, immigration rates, and population parameters. However, surv_rate is only used in parameters.py in OG-Core, and it shows up in testing input objects such as testing_params.json and create_params_inputs.pkl.

We propose that we make the following changes to OG-Core:

This will require similar changes to be made to the country calibrations (e.g., OG-USA, OG-ZAF):

cc: @jdebacker

jdebacker commented 1 year ago

Resolved with PR #886