econ-ark / HARK

Heterogenous Agents Resources & toolKit
Apache License 2.0
322 stars 196 forks source link

Configurable mortality and aging in an AgentTypeMonteCarloSimulator #1372

Open sbenthall opened 6 months ago

sbenthall commented 6 months ago

AgentTypeMonteCarloSimulation current has some hard-coded logic about mortality and birth.

https://github.com/econ-ark/HARK/blob/master/HARK/simulation/monte_carlo.py#L350-L394

One of the recent language research outcomes (RLRO) was a proposal for how mortality/birth/aging information can be encoded as a 'block'.

https://github.com/econ-ark/OverARK/blob/master/Development/hablo/perfect_foresight_full_experimental.yaml#L36-L57

How to properly include aging and mortality in a general, configurable way is currently an unsolved issue for the software design, let alone the language design. This is partly because agent aging also involves indexing into time-dependent parameter values.

This issue is for exploring and implementing the HARK 1.0 version of generalized aging, birth, and mortality, and its interaction with the parameterization logic.

See #1371 for terminology.

sbenthall commented 5 months ago

Notes from today's meeting with @mnwhite and @alanlujan91 on this: