IDEAS home Printed from https://ideas.repec.org/p/fip/fedrwp/19-15.html
   My bibliography  Save this paper

Efficient Computation with Taste Shocks

Author

Listed:
  • Grey Gordon

Abstract

Taste shocks result in nondegenerate choice probabilities, smooth policy functions, continuous demand correspondences, and reduced computational errors. They also cause significant computational cost when the number of choices is large. However, I show that, in many economic models, a numerically equivalent approximation may be obtained extremely efficiently. If the objective function has increasing differences (a condition closely tied to policy function monotonicity) or is concave in a discrete sense, the proposed algorithms are O(n log n) for n states and n choice--a drastic improvement over the naive algorithm's O(n2) cost. If both hold, the cost can be further reduced to O(n). Additionally, with increasing differences in two state variables, I propose an algorithm that in some cases is O(n2) even without concavity (in contrast to the O(n3) naive algorithm). I illustrate the usefulness of the proposed approach in an incomplete markets economy and a long-term sovereign debt model, the latter requiring taste shocks for convergence. For grid sizes of 500 points, the algorithms are up to 200 times faster than the naive approach.

Suggested Citation

  • Grey Gordon, 2019. "Efficient Computation with Taste Shocks," Working Paper 19-15, Federal Reserve Bank of Richmond.
  • Handle: RePEc:fip:fedrwp:19-15
    as

    Download full text from publisher

    File URL: https://www.richmondfed.org/-/media/richmondfedorg/publications/research/working_papers/2019/wp19-15.pdf
    File Function: Full text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Rust, John, 1987. "Optimal Replacement of GMC Bus Engines: An Empirical Model of Harold Zurcher," Econometrica, Econometric Society, vol. 55(5), pages 999-1033, September.
    2. Maximiliano Dvorkin & Juan M. Sánchez & Horacio Sapriza & Emircan Yurdagul, 2021. "Sovereign Debt Restructurings," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 26-77, April.
    3. Victor Rios-Rull & Dean Corbae: & Satyajit Chatterjee, 2011. "A Theory of Credit Scoring and the Competitive Pricing of Default Risk," 2011 Meeting Papers 1115, Society for Economic Dynamics.
    4. McKelvey Richard D. & Palfrey Thomas R., 1995. "Quantal Response Equilibria for Normal Form Games," Games and Economic Behavior, Elsevier, vol. 10(1), pages 6-38, July.
    5. Hatchondo, Juan Carlos & Martinez, Leonardo, 2009. "Long-duration bonds and sovereign defaults," Journal of International Economics, Elsevier, vol. 79(1), pages 117-125, September.
    6. Bruins, Marianne & Duffy, James A. & Keane, Michael P. & Smith, Anthony A., 2018. "Generalized indirect inference for discrete choice models," Journal of Econometrics, Elsevier, vol. 205(1), pages 177-203.
    7. Juan Carlos Hatchondo & Leonardo Martinez & César Sosa-Padilla, 2016. "Debt Dilution and Sovereign Default Risk," Journal of Political Economy, University of Chicago Press, vol. 124(5), pages 1383-1422.
    8. Grey Gordon & Shi Qiu, 2018. "A divide and conquer algorithm for exploiting policy function monotonicity," Quantitative Economics, Econometric Society, vol. 9(2), pages 521-540, July.
    9. Satyajit Chatterjee & Burcu Eyigungor, 2012. "Maturity, Indebtedness, and Default Risk," American Economic Review, American Economic Association, vol. 102(6), pages 2674-2699, October.
    10. 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.
    11. Hatchondo, Juan Carlos & Martinez, Leonardo & Sosa Padilla, César, 2014. "Voluntary sovereign debt exchanges," Journal of Monetary Economics, Elsevier, vol. 61(C), pages 32-50.
    12. Khai Xiang Chiong & Alfred Galichon & Matt Shum, 2016. "Duality in dynamic discrete‐choice models," Quantitative Economics, Econometric Society, vol. 7(1), pages 83-115, March.
    13. Cezar Santos & David Weiss, 2016. "“Why Not Settle Down Already?” A Quantitative Analysis Of The Delay In Marriage," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 57, pages 425-452, May.
    14. 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.
    15. Bewley, Truman, 1983. "A Difficulty with the Optimum Quantity of Money," Econometrica, Econometric Society, vol. 51(5), pages 1485-1504, September.
    16. Kenneth L. Judd, 1998. "Numerical Methods in Economics," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262100711, December.
    17. David Weiss & Cezar Santos, 2011. "Why Not Settle Down Already? A Quantitative Question," 2011 Meeting Papers 921, Society for Economic Dynamics.
    18. Maximiliano Dvorkin & Emircan Yurdagul & Horacio Sapriza & Juan Sanchez, 2018. "Sovereign Debt Restructuring: A Dynamic Discrete Choice Approach," 2018 Meeting Papers 1273, Society for Economic Dynamics.
    19. John Laitner, 1979. "Household Bequest Behaviour and the National Distribution of Wealth," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 46(3), pages 467-483.
    20. Grey Gordon & Pablo Guerron-Quintana, 2018. "On Regional Borrowing, Migration, and Default," 2018 Meeting Papers 305, Society for Economic Dynamics.
    21. Fedor Iskhakov & Thomas H. Jørgensen & John Rust & Bertel Schjerning, 2017. "The endogenous grid method for discrete‐continuous dynamic choice models with (or without) taste shocks," Quantitative Economics, Econometric Society, vol. 8(2), pages 317-365, July.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Cristina Arellano & Yan Bai & Gabriel Mihalache, 2020. "Deadly Debt Crises: COVID-19 in Emerging Markets," Department of Economics Working Papers 20-07, Stony Brook University, Department of Economics, revised 2021.
    2. Cristina Arellano & Gabriel Mihalache & Yan Bai, 2018. "Inflation Targeting with Sovereign Default Risk," 2018 Meeting Papers 851, Society for Economic Dynamics.
    3. Mihalache, Gabriel, 2020. "Sovereign default resolution through maturity extension," Journal of International Economics, Elsevier, vol. 125(C).
    4. Burkhard Heer & Alfred Maußner, 2024. "Dynamic General Equilibrium Modeling," Springer Texts in Business and Economics, Springer, edition 3, number 978-3-031-51681-8, June.
    5. Arce, Fernando, 2021. "Private Overborrowing under Sovereign Risk," MPRA Paper 113176, University Library of Munich, Germany.
    6. Marina Azzimonti & Laura Karpuska & Gabriel Mihalache, 2020. "Bargaining over Mandatory Spending and Entitlements," Department of Economics Working Papers 20-02, Stony Brook University, Department of Economics.
    7. Marina Azzimonti & Gabriel P. Mihalache & Laura Karpuska, 2020. "Bargaining over Taxes and Entitlements," NBER Working Papers 27595, National Bureau of Economic Research, Inc.
    8. Grey Gordon & Pablo Guerron-Quintana, 2019. "A Quantitative Theory of Hard and Soft Sovereign Defaults," 2019 Meeting Papers 412, Society for Economic Dynamics.
    9. Cristina Arellano & Yan Bai & Gabriel P. Mihalache, 2020. "Deadly Debt Crises: COVID-19 in Emerging Markets," NBER Working Papers 27275, National Bureau of Economic Research, Inc.

    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. Grey Gordon & Pablo Guerron-Quintana, 2019. "A Quantitative Theory of Hard and Soft Sovereign Defaults," 2019 Meeting Papers 412, Society for Economic Dynamics.
    2. Juan Carlos Conesa & Timothy J. Kehoe, 2017. "Gambling for redemption and self-fulfilling debt crises," Economic Theory, Springer;Society for the Advancement of Economic Theory (SAET), vol. 64(4), pages 707-740, December.
    3. Maximiliano Dvorkin & Juan M. Sánchez & Horacio Sapriza & Emircan Yurdagul, 2021. "Sovereign Debt Restructurings," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 26-77, April.
    4. Asonuma, Tamon & Niepelt, Dirk & Ranciere, Romain, 2023. "Sovereign bond prices, haircuts and maturity," Journal of International Economics, Elsevier, vol. 140(C).
    5. Dvorkin, Maximiliano & Sánchez, Juan M. & Sapriza, Horacio & Yurdagul, Emircan, 2020. "News, sovereign debt maturity, and default risk," Journal of International Economics, Elsevier, vol. 126(C).
    6. Maximiliano Dvorkin & Emircan Yurdagul & Horacio Sapriza & Juan Sanchez, 2018. "Sovereign Debt Restructuring: A Dynamic Discrete Choice Approach," 2018 Meeting Papers 1273, Society for Economic Dynamics.
    7. Carré, Sylvain & Cohen, Daniel & Villemot, Sébastien, 2019. "The sources of sovereign risk: a calibration based on Lévy stochastic processes," Journal of International Economics, Elsevier, vol. 118(C), pages 31-43.
    8. Hatchondo, Juan Carlos & Martinez, Leonardo & Onder, Yasin Kursat, 2017. "Non-defaultable debt and sovereign risk," Journal of International Economics, Elsevier, vol. 105(C), pages 217-229.
    9. Juan Carlos Hatchondo & Leonardo Martinez & César Sosa-Padilla, 2016. "Debt Dilution and Sovereign Default Risk," Journal of Political Economy, University of Chicago Press, vol. 124(5), pages 1383-1422.
    10. Dvorkin, Maximiliano & Sánchez, Juan M. & Sapriza, Horacio & Yurdagul, Emircan, 2022. "Improving sovereign debt restructurings," Journal of Economic Dynamics and Control, Elsevier, vol. 139(C).
    11. Akyol, Ahmet, 2004. "Optimal monetary policy in an economy with incomplete markets and idiosyncratic risk," Journal of Monetary Economics, Elsevier, vol. 51(6), pages 1245-1269, September.
    12. Cristina Arellano & Gabriel Mihalache & Yan Bai, 2018. "Inflation Targeting with Sovereign Default Risk," 2018 Meeting Papers 851, Society for Economic Dynamics.
    13. Juan Carlos Hatchondo & Mr. Francisco Roch & Mr. Leonardo Martinez, 2012. "Fiscal Rules and the Sovereign Default Premium," IMF Working Papers 2012/030, International Monetary Fund.
    14. Mihalache, Gabriel, 2020. "Sovereign default resolution through maturity extension," Journal of International Economics, Elsevier, vol. 125(C).
    15. Tamon Asonuma & Hyungseok Joo, 2021. "Public Capital and Fiscal Constraint in Sovereign Debt Crises," School of Economics Discussion Papers 0621, School of Economics, University of Surrey.
    16. Yasin Kür¸sat Önder & Mauricio Villamizar-Villegas & Jose Villegas, 2023. "Debt Moratorium: Theory and Evidence," Borradores de Economia 1253, Banco de la Republica de Colombia.
    17. Leonardo Martinez & Juan Hatchondo, 2017. "Credit Risk without Commitment," 2017 Meeting Papers 1326, Society for Economic Dynamics.
    18. Maiko Koga & Kohei Matsumura, "undated". "Marginal Propensity to Consume and the Housing Choice," Bank of Japan Working Paper Series 20-E-3, Bank of Japan.
    19. Bernardo Guimaraes & Lucas Tumkus, 2020. "On the costs of sovereign default in quantitative models," Discussion Papers 2021, Centre for Macroeconomics (CFM).
    20. Cherrier, Beatrice & Duarte, Pedro Garcia & Saïdi, Aurélien, 2023. "Household heterogeneity in macroeconomic models: A historical perspective," European Economic Review, Elsevier, vol. 158(C).

    More about this item

    Keywords

    Computation; Monotonicity; Discrete Choice; Taste Shocks; Sovereign Default; Curse of Dimensionality;
    All these 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
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • F34 - International Economics - - International Finance - - - International Lending and Debt Problems
    • F41 - International Economics - - Macroeconomic Aspects of International Trade and Finance - - - Open Economy Macroeconomics
    • F44 - International Economics - - Macroeconomic Aspects of International Trade and Finance - - - International Business Cycles

    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:fip:fedrwp:19-15. 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: Christian Pascasio (email available below). General contact details of provider: https://edirc.repec.org/data/frbrius.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.