IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v62y2023i3d10.1007_s10614-022-10290-2.html
   My bibliography  Save this article

Market Clearing and Krusell-Smith Algorithm in an Economy with Multiple Assets

Author

Listed:
  • Ivo Bakota

    (Max Planck Institute for Social Law and Social Policy)

Abstract

This paper proposes a novel method to compute the Krusell and Smith (1997, 1998) algorithm, used for solving heterogeneous-agents models with aggregate risk and incomplete markets when households can save in more than one asset. When used to solve a model with more than one asset, the standard algorithm has to impose equilibria for each additional asset (find the market-clearing price) in each period simulated. This procedure entails root-finding in each period, which is computationally expensive. I show that it is possible to avoid root-finding at this level by not imposing equilibria each period, but instead temporarily suspending market clearing. The proposed method then updates the law of motion for asset prices by using the information on the excess demand for assets via a Newton-like method. Since the method avoids the root-finding for each time period simulated, it leads to a significant reduction in computation time. In the example model with two assets, the proposed version of the algorithm leads to an 80% decrease in computational time, even when measured conservatively. This method is potentially useful in computing general equilibrium asset-pricing models with risky and safe assets, featuring both aggregate and uninsurable idiosyncratic risk, since methods that use linearisation in the neighborhood of the aggregate steady state are considered to be less accurate than global solution methods for such models.

Suggested Citation

  • Ivo Bakota, 2023. "Market Clearing and Krusell-Smith Algorithm in an Economy with Multiple Assets," Computational Economics, Springer;Society for Computational Economics, vol. 62(3), pages 1007-1045, October.
  • Handle: RePEc:kap:compec:v:62:y:2023:i:3:d:10.1007_s10614-022-10290-2
    DOI: 10.1007/s10614-022-10290-2
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-022-10290-2
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-022-10290-2?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Kjetil Storesletten & Chris Telmer & Amir Yaron, 2007. "Asset Pricing with Idiosyncratic Risk and Overlapping Generations," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 10(4), pages 519-548, October.
    2. Daniel Harenberg & Alexander Ludwig, 2019. "Idiosyncratic Risk, Aggregate Risk, And The Welfare Effects Of Social Security," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 60(2), pages 661-692, May.
    3. Den Haan, Wouter J. & Rendahl, Pontus, 2010. "Solving the incomplete markets model with aggregate uncertainty using explicit aggregation," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 69-78, January.
    4. Marco Cozzi, 2015. "The Krusell–Smith Algorithm: Are Self-Fulfilling Equilibria Likely?," Computational Economics, Springer;Society for Computational Economics, vol. 46(4), pages 653-670, December.
    5. Larry G. Epstein & Stanley E. Zin, 2013. "Substitution, risk aversion and the temporal behavior of consumption and asset returns: A theoretical framework," World Scientific Book Chapters, in: Leonard C MacLean & William T Ziemba (ed.), HANDBOOK OF THE FUNDAMENTALS OF FINANCIAL DECISION MAKING Part I, chapter 12, pages 207-239, World Scientific Publishing Co. Pte. Ltd..
    6. Carroll, Christopher D., 2006. "The method of endogenous gridpoints for solving dynamic stochastic optimization problems," Economics Letters, Elsevier, vol. 91(3), pages 312-320, June.
    7. 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.
    8. Christian Bayer & Ralph Luetticke & Lien Pham‐Dao & Volker Tjaden, 2019. "Precautionary Savings, Illiquid Assets, and the Aggregate Consequences of Shocks to Household Income Risk," Econometrica, Econometric Society, vol. 87(1), pages 255-290, January.
    9. Ana Castaneda & Javier Diaz-Gimenez & Jose-Victor Rios-Rull, 2003. "Accounting for the U.S. Earnings and Wealth Inequality," Journal of Political Economy, University of Chicago Press, vol. 111(4), pages 818-857, August.
    10. Khan, Aubhik & Thomas, Julia K., 2003. "Nonconvex factor adjustments in equilibrium business cycle models: do nonlinearities matter?," Journal of Monetary Economics, Elsevier, vol. 50(2), pages 331-360, March.
    11. Krusell, Per & Smith, Anthony A., 1997. "Income And Wealth Heterogeneity, Portfolio Choice, And Equilibrium Asset Returns," Macroeconomic Dynamics, Cambridge University Press, vol. 1(2), pages 387-422, June.
    12. repec:hal:spmain:info:hdl:2441/72lkhuq5cm8hqrn860asm92bvs is not listed on IDEAS
    13. Den Haan, Wouter J., 1997. "Solving Dynamic Models With Aggregate Shocks And Heterogeneous Agents," Macroeconomic Dynamics, Cambridge University Press, vol. 1(2), pages 355-386, June.
    14. Josep Pijoan-Mas, 2007. "Pricing Risk in Economies with Heterogeneous Agents and Incomplete Markets," Journal of the European Economic Association, MIT Press, vol. 5(5), pages 987-1015, September.
    15. Algan, Yann & Allais, Olivier & Den Haan, Wouter J., 2010. "Solving the incomplete markets model with aggregate uncertainty using parameterized cross-sectional distributions," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 59-68, January.
    16. Francisco Gomes & Alexander Michaelides, 2008. "Asset Pricing with Limited Risk Sharing and Heterogeneous Agents," The Review of Financial Studies, Society for Financial Studies, vol. 21(1), pages 415-448, January.
    17. 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.
    18. Eva Carceles-Poveda & Daniele Coen Pirani, 2010. "Owning Capital or Being Shareholders: An Equivalence Result with Incomplete Markets," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 13(3), pages 537-558, July.
    19. Huggett, Mark, 1993. "The risk-free rate in heterogeneous-agent incomplete-insurance economies," Journal of Economic Dynamics and Control, Elsevier, vol. 17(5-6), pages 953-969.
    20. Bewley, Truman, 1983. "A Difficulty with the Optimum Quantity of Money," Econometrica, Econometric Society, vol. 51(5), pages 1485-1504, September.
    21. Bewley, Truman, 1977. "The permanent income hypothesis: A theoretical formulation," Journal of Economic Theory, Elsevier, vol. 16(2), pages 252-292, December.
    22. Reiter, Michael, 2009. "Solving heterogeneous-agent models by projection and perturbation," Journal of Economic Dynamics and Control, Elsevier, vol. 33(3), pages 649-665, March.
    23. Michael C. Hatcher & Eric M. Scheffel, 2016. "Solving the Incomplete Markets Model in Parallel Using GPU Computing and the Krusell–Smith Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 48(4), pages 569-591, December.
    24. 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. 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.
    2. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2023. "Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 91(3), pages 869-901, May.
    3. Karsten O. Chipeniuk, 2020. "Optimal Grid Selection for the Numerical Solution of Dynamic Stochastic Optimization Problems," Computational Economics, Springer;Society for Computational Economics, vol. 56(4), pages 883-928, December.
    4. Den Haan, Wouter J., 2010. "Assessing the accuracy of the aggregate law of motion in models with heterogeneous agents," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 79-99, January.
    5. Chipeniuk, Karsten O. & Katz, Nets Hawk & Walker, Todd B., 2022. "Households, auctioneers, and aggregation," European Economic Review, Elsevier, vol. 141(C).
    6. Adrien Auclert & Bence Bardóczy & Matthew Rognlie & Ludwig Straub, 2021. "Using the Sequence‐Space Jacobian to Solve and Estimate Heterogeneous‐Agent Models," Econometrica, Econometric Society, vol. 89(5), pages 2375-2408, September.
    7. repec:hal:wpspec:info:hdl:2441/4lhe3u3c38ojohjlcbfaupcjr is not listed on IDEAS
    8. Daniel Harenberg & Alexander Ludwig, 2019. "Idiosyncratic Risk, Aggregate Risk, And The Welfare Effects Of Social Security," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 60(2), pages 661-692, May.
    9. Favilukis, Jack, 2013. "Inequality, stock market participation, and the equity premium," Journal of Financial Economics, Elsevier, vol. 107(3), pages 740-759.
    10. Boppart, Timo & Krusell, Per & Mitman, Kurt, 2018. "Exploiting MIT shocks in heterogeneous-agent economies: the impulse response as a numerical derivative," Journal of Economic Dynamics and Control, Elsevier, vol. 89(C), pages 68-92.
    11. Daniel Harenberg & Alexander Ludwig, "undated". "Social Security and the Interactions Between Aggregate and Idiosyncratic Risk," Working Papers ETH-RC-14-002, ETH Zurich, Chair of Systems Design.
    12. 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.
    13. Krueger, Dirk & Lustig, Hanno, 2010. "When is market incompleteness irrelevant for the price of aggregate risk (and when is it not)?," Journal of Economic Theory, Elsevier, vol. 145(1), pages 1-41, January.
    14. Francisco Gomes & Alexander Michaelides & Valery Polkovnichenko, 2009. "Quantifying the Distortionary Fiscal Cost of ‘The Bailout’," Working Papers 2009-6, Central Bank of Cyprus.
    15. 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.
    16. Gouin-Bonenfant, Emilien & Toda, Alexis Akira, 2018. "Pareto Extrapolation: Bridging Theoretical and Quantitative Models of Wealth Inequality," University of California at San Diego, Economics Working Paper Series qt90n2h2bb, Department of Economics, UC San Diego.
    17. Christian Bayer & Ralph Luetticke, 2020. "Solving discrete time heterogeneous agent models with aggregate risk and many idiosyncratic states by perturbation," Quantitative Economics, Econometric Society, vol. 11(4), pages 1253-1288, November.
    18. Takeki Sunakawa, 2020. "Applying the Explicit Aggregation Algorithm to Heterogeneous Macro Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(3), pages 845-874, March.
    19. repec:hal:spmain:info:hdl:2441/4lhe3u3c38ojohjlcbfaupcjr is not listed on IDEAS
    20. Stephen J. Terry, 2017. "Alternative Methods for Solving Heterogeneous Firm Models," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 49(6), pages 1081-1111, September.
    21. Benhabib, Jess & Bisin, Alberto & Zhu, Shenghao, 2015. "The wealth distribution in Bewley economies with capital income risk," Journal of Economic Theory, Elsevier, vol. 159(PA), pages 489-515.
    22. Toda, Alexis Akira, 2019. "Wealth distribution with random discount factors," Journal of Monetary Economics, Elsevier, vol. 104(C), pages 101-113.

    More about this item

    Keywords

    Portfolio choice; Heterogeneous agents; Krusell-Smith; Asset pricing;
    All these keywords.

    JEL classification:

    • E44 - Macroeconomics and Monetary Economics - - Money and Interest Rates - - - Financial Markets and the Macroeconomy
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques

    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:kap:compec:v:62:y:2023:i:3:d:10.1007_s10614-022-10290-2. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.