Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter distribution across the agent population #5

Open
sbenthall opened this issue Jan 13, 2023 · 0 comments
Open

Parameter distribution across the agent population #5

sbenthall opened this issue Jan 13, 2023 · 0 comments
Assignees

Comments

@sbenthall
Copy link

A major feature of this REMARK is the realistic population model.
This involves a lot of hand-coding of elementary data structures in a way that is perhaps hard to understand and adapt.

https://github.com/econ-ark/DistributionOfWealthMPC/blob/master/Code/SetupParamsCSTW.py

Refactoring this into more generalizable components would be a win.

An example of an alternative way to define populations is the AgentPopulation class that Alan developed for SHARKFin:

https://github.com/sbenthall/SHARKFin/blob/master/sharkfin/population.py

My recommendation is that we use refactoring of the DoW population code as a vehicle for improving HARK's support for defining populations. Some version of AgentPopulation could be merged into HARK, which would improve downstream projects.

It's not immediately obvious how the SHARKFin AgentPopulation could be integrated into DoW, however, as the former is mainly about defining a population whose parameters range over a given mathematical distribution. DoW may alternatively drive the development of improvements to the HARK API for lifecycle models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants