The deterministic retirement model of Iskhakov et al. (2017): a worker chooses consumption and whether to keep working or retire; retirement is absorbing and death arrives deterministically at a known age. Log utility with work disutility and a borrowing constraint.
The paper provides a closed-form solution, which pylcm’s test suite uses as an
analytical oracle (tests/data/analytical_solution/). The discrete retirement choice
makes the value function non-concave and produces the paper’s signature saw-tooth
consumption function — see the
discrete-continuous choice explanation for
figures and the upcoming brute-force vs DC-EGM comparison.
Usage¶
import jax.numpy as jnp
from lcm_examples.iskhakov_et_al_2017 import get_model, get_params
model = get_model(n_periods=6)
params = get_params(
n_periods=6,
discount_factor=0.98, # the paper's analytical-solution parametrization
disutility_of_work=1.0,
interest_rate=0.0,
wage=20.0,
)
result = model.simulate(
params=params,
initial_conditions={
"age": jnp.full(100, model.ages.values[0]),
"wealth": jnp.linspace(1, 100, 100),
"regime_id": jnp.full(100, model.regime_names_to_ids["working_life"]),
},
period_to_regime_to_V_arr=None,
log_level="warning",
)
df = result.to_dataframe(additional_targets="all")Structure¶
Regimes:
working_life(labor supply + consumption),retirement(absorbing, consumption only),dead(terminal).States: wealth (linear grid).
Actions: consumption (continuous), labor supply (work / retire;
working_lifeonly).Transitions: deterministic — retiring moves the agent to
retirementforever; everyone isdeadfromfinal_age_alive + 1on.
- Iskhakov, F., Jørgensen, T. H., Rust, J., & Schjerning, B. (2017). The endogenous grid method for discrete-continuous dynamic choice models with (or without) taste shocks. Quantitative Economics, 8(2), 317–365. 10.3982/QE643