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

Population size is scaling with ex post heterogeneous distribution approximation sizes #202

Open
sbenthall opened this issue Mar 20, 2023 · 2 comments
Assignees

Comments

@sbenthall
Copy link
Owner

Using the WHITESHARK population now, i.e. with this:

$ python run_any_simulation.py --population WHITESHARK --quarters 1 ../output/20230320_s

Creates a population of 600 AgentTypes with AgentCount 1.

Why are there 600 agents? Because this is the number of points in the discretized space of heterogeneity over which we compute the HARK solutions:

whiteshark_approx_params = {"CRRA": 3, "DiscFac": 2, "RiskyAvg": 10, "RiskyStd": 10}

But this is odd. It makes sense (sort of) for the population to scale with the number of ex ante heterogeneity gridpoints (though this feels hacky even in this case...), but it doesn't make sense for the population to scale with the ex post heterogeneity gridpoints.

Related to #195 in so far as this involves the population generation logic. Assigning to @alanlujan91

@sbenthall
Copy link
Owner Author

Push this to 4.2 milestone as it's not necessary for GG Shark

@sbenthall
Copy link
Owner Author

Punt because for SPARK the consumer population will be homogeneous.

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

No branches or pull requests

2 participants