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

Simulating MPC #12

Open
atishkumar258 opened this issue Apr 3, 2024 · 2 comments
Open

Simulating MPC #12

atishkumar258 opened this issue Apr 3, 2024 · 2 comments

Comments

@atishkumar258
Copy link

I am working on simulating MPC for India using Econpizza. I tried using the get_distributions() function to get the disaggregated variables after applying a shock to wages(e_w) through find_path(). However, I am unsure how to recover MPCs after applying the shock. Please let me know if there is any other way of simulating MPCs using Econpizza. Any help would be greatly appreciated.

@gboehl
Copy link
Owner

gboehl commented Apr 3, 2024

Hi Atish,
Thanks for getting in touch. I have not calculated MPCs for my research, so there is no ready code that I can give you.

In general, get_distributions() will give you (sequences) of everything you define during the decisions stage and state as an output (specified in the key outputs). Probably the best way would thus be to check and adapt how others calculated MPCs (e.g. Kaplan, Moll, Violante) and then add the respective code to egm_step() (or whatever your iteration function is).

You are welcome to post the results here as a reference for others.
Best,
Gregor

@atishkumar258
Copy link
Author

Thanks a lot, will try to work it out and share the results.

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