IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/121381.html

Solving Heterogeneous agent models in Continuous Time with Adaptive Sparse Grids

Author

Listed:
  • Du, Zaichuan

Abstract

This paper proposes a new approach to numerically solving a wide class of heterogeneous agent models in continuous time using adaptive sparse grids. I combine the sparse finite difference method with the sparse finite volume method to solve the Hamilton-Jacobian-Bellman equation and Kolmogorov Forward equation, respectively. My algorithm automatically adapts grids and adds local resolutions in regions of the state space where both the value function and the distribution approximation errors remains large. I demonstrate the power of my approach in applications feature high-dimensional state spaces, occasionally binding constraints, lifecycle and overlapping generations.

Suggested Citation

  • Du, Zaichuan, 2024. "Solving Heterogeneous agent models in Continuous Time with Adaptive Sparse Grids," MPRA Paper 121381, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:121381
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/121381/1/MPRA_paper_121381.pdf
    File Function: original version
    Download Restriction: no

    File URL: https://mpra.ub.uni-muenchen.de/124144/1/MPRA_paper_124144.pdf
    File Function: revised version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. S. Rao Aiyagari, 1994. "Uninsured Idiosyncratic Risk and Aggregate Saving," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 109(3), pages 659-684.
    2. Huggett, Mark, 1996. "Wealth distribution in life-cycle economies," Journal of Monetary Economics, Elsevier, vol. 38(3), pages 469-494, December.
    3. Adrien Bilal, 2023. "Solving Heterogeneous Agent Models with the Master Equation," NBER Working Papers 31103, National Bureau of Economic Research, Inc.
    4. Den Haan, Wouter J. & Judd, Kenneth L. & Juillard, Michel, 2010. "Computational suite of models with heterogeneous agents: Incomplete markets and aggregate uncertainty," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 1-3, January.
    5. Young, Eric R., 2010. "Solving the incomplete markets model with aggregate uncertainty using the Krusell-Smith algorithm and non-stochastic simulations," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 36-41, January.
    6. Per Krusell & Anthony A. Smith & Jr., 1998. "Income and Wealth Heterogeneity in the Macroeconomy," Journal of Political Economy, University of Chicago Press, vol. 106(5), pages 867-896, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chipeniuk, Karsten O. & Katz, Nets Hawk & Walker, Todd B., 2022. "Households, auctioneers, and aggregation," European Economic Review, Elsevier, vol. 141(C).
    2. Schesch, Constantin, 2024. "Pseudospectral methods for continuous-time heterogeneous-agent models," Journal of Economic Dynamics and Control, Elsevier, vol. 163(C).
    3. Krueger, D. & Mitman, K. & Perri, F., 2016. "Macroeconomics and Household Heterogeneity," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 843-921, Elsevier.
    4. Muffasir Badshah & Paul Beaumont & Anuj Srivastava, 2013. "Computing Equilibrium Wealth Distributions in Models with Heterogeneous-Agents, Incomplete Markets and Idiosyncratic Risk," Computational Economics, Springer;Society for Computational Economics, vol. 41(2), pages 171-193, February.
    5. Karsten O. Chipeniuk & Nets Hawk Katz & Todd Bruce Walker, 2022. "Households, Auctioneers, and Aggregation," CAEPR Working Papers 2022-005 Classification-E, Center for Applied Economics and Policy Research, Department of Economics, Indiana University Bloomington.
    6. Jochen Mankart & Rigas Oikonomou, 2017. "Household Search and the Aggregate Labour Market," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 84(4), pages 1735-1788.
    7. Richard M. H. Suen, 2014. "Time Preference And The Distributions Of Wealth And Income," Economic Inquiry, Western Economic Association International, vol. 52(1), pages 364-381, January.
    8. Greg Kaplan & Giovanni L. Violante & Justin Weidner, 2014. "The Wealthy Hand-to-Mouth," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 45(1 (Spring), pages 77-153.
    9. Zhouzhou Gu & Mathieu Lauri`ere & Sebastian Merkel & Jonathan Payne, 2024. "Global Solutions to Master Equations for Continuous Time Heterogeneous Agent Macroeconomic Models," Papers 2406.13726, arXiv.org.
    10. Nawid Siassi, 2019. "Inequality and the Marriage Gap," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 31, pages 160-181, January.
    11. François Le Grand & Xavier Ragot, 2022. "Managing Inequality Over Business Cycles: Optimal Policies With Heterogeneous Agents And Aggregate Shocks," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(1), pages 511-540, February.
    12. Bhagath Cheela & André DeHon & Jesús Fernández‐Villaverde & Alessandro Peri, 2025. "Programming FPGAs for economics: An introduction to electrical engineering economics," Quantitative Economics, Econometric Society, vol. 16(1), pages 49-87, January.
    13. Yongsung Chang & Sun-Bin Kim & Jaewoo Lee, 2013. "Accounting for Global Dispersion of Current Accounts," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 16(3), pages 477-496, July.
    14. Matthias Doepke, "undated". "Inflation as a Redistribution Shock: Effects on Aggregates and Welfare," UCLA Economics Online Papers 412, UCLA Department of Economics.
    15. Toda, Alexis Akira, 2019. "Wealth distribution with random discount factors," Journal of Monetary Economics, Elsevier, vol. 104(C), pages 101-113.
    16. SeHyoun Ahn & Greg Kaplan & Benjamin Moll & Thomas Winberry & Christian Wolf, 2018. "When Inequality Matters for Macro and Macro Matters for Inequality," NBER Macroeconomics Annual, University of Chicago Press, vol. 32(1), pages 1-75.
    17. Huggett, Mark & Ospina, Sandra, 2001. "Aggregate precautionary savings: when is the third derivative irrelevant?," Journal of Monetary Economics, Elsevier, vol. 48(2), pages 373-396, October.
    18. Adam Pigoń, 2022. "A Simple Model of Educated Hand-to-Mouth Consumers," Gospodarka Narodowa. The Polish Journal of Economics, Warsaw School of Economics, issue 2, pages 20-43.
    19. Marlon Azinovic-Yang & Jan v{Z}emliv{c}ka, 2025. "Deep Learning in the Sequence Space," Papers 2509.13623, arXiv.org.
    20. Wei, Shang-Jin & Wu, Weixing & Zhang, Linwan, 2019. "Portfolio choices, Asset returns and wealth inequality: evidence from China," Emerging Markets Review, Elsevier, vol. 38(C), pages 423-437.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • E21 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Consumption; Saving; Wealth

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:pra:mprapa:121381. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.