IDEAS home Printed from https://ideas.repec.org/p/nbr/nberwo/27991.html
   My bibliography  Save this paper

Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints

Author

Listed:
  • S. Borağan Aruoba
  • Pablo Cuba-Borda
  • Kenji Higa-Flores
  • Frank Schorfheide
  • Sergio Villalvazo

Abstract

We develop an algorithm to construct approximate decision rules that are piecewise-linear and continuous for DSGE models with an occasionally binding constraint. The functional form of the decision rules allows us to derive a conditionally optimal particle filter (COPF) for the evaluation of the likelihood function that exploits the structure of the solution. We document the accuracy of the likelihood approximation and embed it into a particle Markov chain Monte Carlo algorithm to conduct Bayesian estimation. Compared with a standard bootstrap particle filter, the COPF significantly reduces the persistence of the Markov chain, improves the accuracy of Monte Carlo approximations of posterior moments, and drastically speeds up computations. We use the techniques to estimate a small-scale DSGE model to assess the effects of the government spending portion of the American Recovery and Reinvestment Act in 2009 when interest rates reached the zero lower bound.

Suggested Citation

  • S. Borağan Aruoba & Pablo Cuba-Borda & Kenji Higa-Flores & Frank Schorfheide & Sergio Villalvazo, 2020. "Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints," NBER Working Papers 27991, National Bureau of Economic Research, Inc.
  • Handle: RePEc:nbr:nberwo:27991
    Note: EFG ME
    as

    Download full text from publisher

    File URL: https://www.nber.org/papers/w27991.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Francesco Bianchi & Leonardo Melosi, 2017. "Escaping the Great Recession," American Economic Review, American Economic Association, vol. 107(4), pages 1030-1058, April.
    2. Heiss, Florian & Winschel, Viktor, 2008. "Likelihood approximation by numerical integration on sparse grids," Journal of Econometrics, Elsevier, vol. 144(1), pages 62-80, May.
    3. Tom D. Holden, 2023. "Existence and Uniqueness of Solutions to Dynamic Models with Occasionally Binding Constraints," The Review of Economics and Statistics, MIT Press, vol. 105(6), pages 1481-1499, November.
    4. Guerrieri, Luca & Iacoviello, Matteo, 2015. "OccBin: A toolkit for solving dynamic models with occasionally binding constraints easily," Journal of Monetary Economics, Elsevier, vol. 70(C), pages 22-38.
    5. Ríos-Rull, José-Víctor & Schorfheide, Frank & Fuentes-Albero, Cristina & Kryshko, Maxym & Santaeulàlia-Llopis, Raül, 2012. "Methods versus substance: Measuring the effects of technology shocks," Journal of Monetary Economics, Elsevier, vol. 59(8), pages 826-846.
    6. Christiano, Lawrence J. & Fisher, Jonas D. M., 2000. "Algorithms for solving dynamic models with occasionally binding constraints," Journal of Economic Dynamics and Control, Elsevier, vol. 24(8), pages 1179-1232, July.
    7. Ascari, Guido & Mavroeidis, Sophocles, 2022. "The unbearable lightness of equilibria in a low interest rate environment," Journal of Monetary Economics, Elsevier, vol. 127(C), pages 1-17.
    8. Benhabib, Jess & Schmitt-Grohe, Stephanie & Uribe, Martin, 2001. "The Perils of Taylor Rules," Journal of Economic Theory, Elsevier, vol. 96(1-2), pages 40-69, January.
    9. Atkinson, Tyler & Richter, Alexander W. & Throckmorton, Nathaniel A., 2020. "The zero lower bound and estimation accuracy," Journal of Monetary Economics, Elsevier, vol. 115(C), pages 249-264.
    10. Fair, Ray C & Taylor, John B, 1983. "Solution and Maximum Likelihood Estimation of Dynamic Nonlinear Rational Expectations Models," Econometrica, Econometric Society, vol. 51(4), pages 1169-1185, July.
    11. Karen Kopecky & Richard Suen, 2010. "Finite State Markov-chain Approximations to Highly Persistent Processes," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 13(3), pages 701-714, July.
    12. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    13. Chase Coleman & Spencer Lyon & Lilia Maliar & Serguei Maliar, 2021. "Matlab, Python, Julia: What to Choose in Economics?," Computational Economics, Springer;Society for Computational Economics, vol. 58(4), pages 1263-1288, December.
    14. Nakata, Taisuke, 2016. "Optimal fiscal and monetary policy with occasionally binding zero bound constraints," Journal of Economic Dynamics and Control, Elsevier, vol. 73(C), pages 220-240.
    15. Gauti B. Eggertsson & Michael Woodford, 2003. "The Zero Bound on Interest Rates and Optimal Monetary Policy," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 34(1), pages 139-235.
    16. Judd, Kenneth L. & Maliar, Lilia & Maliar, Serguei & Valero, Rafael, 2014. "Smolyak method for solving dynamic economic models: Lagrange interpolation, anisotropic grid and adaptive domain," Journal of Economic Dynamics and Control, Elsevier, vol. 44(C), pages 92-123.
    17. Kenneth L. Judd & Lilia Maliar & Serguei Maliar, 2010. "A Cluster-Grid Projection Method: Solving Problems with High Dimensionality," NBER Working Papers 15965, National Bureau of Economic Research, Inc.
    18. S Borağan Aruoba & Pablo Cuba-Borda & Frank Schorfheide, 2018. "Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 85(1), pages 87-118.
    19. Oliver de Groot & C. Bora Durdu & Enrique G. Mendoza, 2019. "Global v. Local Methods in the Analysis of Open-Economy Models with Incomplete Markets," Working Papers 201916, University of Liverpool, Department of Economics.
    20. Malin, Benjamin A. & Krueger, Dirk & Kubler, Felix, 2011. "Solving the multi-country real business cycle model using a Smolyak-collocation method," Journal of Economic Dynamics and Control, Elsevier, vol. 35(2), pages 229-239, February.
    21. Aruoba, S. Borağan & Mlikota, Marko & Schorfheide, Frank & Villalvazo, Sergio, 2022. "SVARs with occasionally-binding constraints," Journal of Econometrics, Elsevier, vol. 231(2), pages 477-499.
    22. Christopher Otrok & Andrew Foerster & Alessandro Rebucci & Gianluca Benigno, 2017. "Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime Switching Approach," 2017 Meeting Papers 572, Society for Economic Dynamics.
    23. Guerrieri, Luca & Iacoviello, Matteo, 2017. "Collateral constraints and macroeconomic asymmetries," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 28-49.
    24. Kulish, Mariano & Morley, James & Robinson, Tim, 2017. "Estimating DSGE models with zero interest rate policy," Journal of Monetary Economics, Elsevier, vol. 88(C), pages 35-49.
    25. Lawrence J. Christiano & Martin S. Eichenbaum & Mathias Trabandt, 2015. "Understanding the Great Recession," American Economic Journal: Macroeconomics, American Economic Association, vol. 7(1), pages 110-167, January.
    26. Gauti B. Eggertsson, 2011. "What Fiscal Policy Is Effective at Zero Interest Rates?," NBER Chapters, in: NBER Macroeconomics Annual 2010, volume 25, pages 59-112, National Bureau of Economic Research, Inc.
    27. Farmer, Roger E.A. & Waggoner, Daniel F. & Zha, Tao, 2011. "Minimal state variable solutions to Markov-switching rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 35(12), pages 2150-2166.
    28. Pablo Cuba‐Borda & Luca Guerrieri & Matteo Iacoviello & Molin Zhong, 2019. "Likelihood evaluation of models with occasionally binding constraints," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 34(7), pages 1073-1085, November.
    29. Gourieroux, C & Laffont, J J & Monfort, A, 1980. "Coherency Conditions in Simultaneous Linear Equation Models with Endogenous Switching Regimes," Econometrica, Econometric Society, vol. 48(3), pages 675-695, April.
    30. Enrique Mendoza & Sergio Villalvazo, 2020. "FiPIt: A Simple, Fast Global Method for Solving Models with Two Endogenous States & Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 37, pages 81-102, July.
    31. Fernández-Villaverde, Jesús & Gordon, Grey & Guerrón-Quintana, Pablo & Rubio-Ramírez, Juan F., 2015. "Nonlinear adventures at the zero lower bound," Journal of Economic Dynamics and Control, Elsevier, vol. 57(C), pages 182-204.
    32. Adam, Klaus & Billi, Roberto M., 2007. "Discretionary monetary policy and the zero lower bound on nominal interest rates," Journal of Monetary Economics, Elsevier, vol. 54(3), pages 728-752, April.
    33. Krueger, Dirk & Kubler, Felix, 2004. "Computing equilibrium in OLG models with stochastic production," Journal of Economic Dynamics and Control, Elsevier, vol. 28(7), pages 1411-1436, April.
    34. Böhl, Gregor & Strobel, Felix, 2020. "US business cycle dynamics at the zero lower bound," IMFS Working Paper Series 143, Goethe University Frankfurt, Institute for Monetary and Financial Stability (IMFS).
    35. Christophe Andrieu & Arnaud Doucet & Roman Holenstein, 2010. "Particle Markov chain Monte Carlo methods," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 72(3), pages 269-342, June.
    36. Drew Creal, 2012. "A Survey of Sequential Monte Carlo Methods for Economics and Finance," Econometric Reviews, Taylor & Francis Journals, vol. 31(3), pages 245-296.
    37. Acemoglu, Daron & Woodford, Michael (ed.), 2011. "NBER Macroeconomics Annual 2010," National Bureau of Economic Research Books, University of Chicago Press, number 9780226002125, July.
    38. Lilia Maliar & Serguei Maliar, 2015. "Merging simulation and projection approaches to solve high‐dimensional problems with an application to a new Keynesian model," Quantitative Economics, Econometric Society, vol. 6(1), pages 1-47, March.
    39. Oliver de Groot & Ceyhun Bora Durdu & Enrique G. Mendoza, 2019. "Approximately Right?: Global v. Local Methods for Open-Economy Models with Incomplete Markets," NBER Working Papers 26426, National Bureau of Economic Research, Inc.
    40. Chen, Han, 2017. "The effects of the near-zero interest rate policy in a regime-switching dynamic stochastic general equilibrium model," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 176-192.
    41. Mendes, Rhys R., 2011. "Uncertainty and the Zero Lower Bound: A Theoretical Analysis," MPRA Paper 59218, University Library of Munich, Germany.
    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. Leonardo Melosi & Giorgio Primiceri & Andrea Tambalotti, 2021. "Introduction to the Special Issue in Memory of Alejandro Justiniano," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 1-3, July.
    2. Wen, Jianghui & Hong, Lijiang & Dai, Min & Xiao, Xinping & Wu, Chaozhong, 2023. "A stochastic model for stop-and-go phenomenon in traffic oscillation: On the prospective of macro and micro traffic flow," Applied Mathematics and Computation, Elsevier, vol. 440(C).
    3. Sophocles Mavroeidis, 2021. "Identification at the Zero Lower Bound," Econometrica, Econometric Society, vol. 89(6), pages 2855-2885, November.
    4. Aruoba, S. Borağan & Mlikota, Marko & Schorfheide, Frank & Villalvazo, Sergio, 2022. "SVARs with occasionally-binding constraints," Journal of Econometrics, Elsevier, vol. 231(2), pages 477-499.
    5. Enrique Mendoza & Sergio Villalvazo, 2020. "FiPIt: A Simple, Fast Global Method for Solving Models with Two Endogenous States & Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 37, pages 81-102, July.
    6. Daisuke Ikeda & Shangshang Li & Sophocles Mavroeidis & Francesco Zanetti, 2024. "Testing the Effectiveness of Unconventional Monetary Policy in Japan and the United States," American Economic Journal: Macroeconomics, American Economic Association, vol. 16(2), pages 250-286, April.
    7. Villalvazo, Sergio, 2024. "FDI flows and sudden stops in small open economies," Journal of Macroeconomics, Elsevier, vol. 79(C).
    8. Ascari, Guido & Mavroeidis, Sophocles, 2022. "The unbearable lightness of equilibria in a low interest rate environment," Journal of Monetary Economics, Elsevier, vol. 127(C), pages 1-17.
    9. Harding, Martín & Lindé, Jesper & Trabandt, Mathias, 2022. "Resolving the missing deflation puzzle," Journal of Monetary Economics, Elsevier, vol. 126(C), pages 15-34.
    10. Carriero, Andrea & Clark, Todd E. & Marcellino, Massimiliano & Mertens, Elmar, 2023. "Shadow-rate VARs," Discussion Papers 14/2023, Deutsche Bundesbank.
    11. Ascari, Guido & Mavroeidis, Sophocles & McClung, Nigel, 2023. "Coherence without rationality at the zero lower bound," Journal of Economic Theory, Elsevier, vol. 214(C).
    12. Luisa Corrado & Stefano Grassi & Aldo Paolillo, 2021. "Modelling and Estimating Large Macroeconomic Shocks During the Pandemic," CREATES Research Papers 2021-08, Department of Economics and Business Economics, Aarhus University.
    13. James A. Duffy & Sophocles Mavroeidis & Sam Wycherley, 2022. "Cointegration with Occasionally Binding Constraints," Papers 2211.09604, arXiv.org, revised Jul 2023.
    14. Boehl, Gregor & Strobel, Felix, 2024. "Estimation of DSGE models with the effective lower bound," Journal of Economic Dynamics and Control, Elsevier, vol. 158(C).
    15. Damioli, Giacomo & Gregori, Wildmer Daniel, 2021. "Diplomatic relations and cross-border investments in the European Union," Working Papers 2021-02, Joint Research Centre, European Commission.
    16. Kase, Hanno & Melosi, Leonardo & Rottner, Matthias, 2024. "Estimating Nonlinear Heterogeneous Agent Models with Neural Networks," The Warwick Economics Research Paper Series (TWERPS) 1499, University of Warwick, Department of Economics.
    17. Rottner, Matthias, 2023. "Financial crises and shadow banks: A quantitative analysis," Journal of Monetary Economics, Elsevier, vol. 139(C), pages 74-92.
    18. Luisa Corrado & Stefano Grassi & Aldo Paolillo, 2021. "Identifying Economic Shocks in a Rare Disaster Environment," CEIS Research Paper 517, Tor Vergata University, CEIS, revised 18 Jul 2024.
    19. Giovannini, Massimo & Pfeiffer, Philipp & Ratto, Marco, 2021. "Efficient and robust inference of models with occasionally binding constraints," Working Papers 2021-03, Joint Research Centre, European Commission.
    20. Andras Fulop & Jeremy Heng & Junye Li, 2022. "Efficient Likelihood-based Estimation via Annealing for Dynamic Structural Macrofinance Models," Papers 2201.01094, arXiv.org.
    21. : Dubois, Loick & Sahuc, Jean-Guillaume & Vermandel, Gauthier, 2024. "A General Equilibrium Approach to Carbon Permit Banking," Single Market Economics Papers WP2024/20, Directorate-General for Internal Market, Industry, Entrepreneurship and SMEs (European Commission), Chief Economist Team.
    22. Calo, Silvia & Gregori, Wildmer Daniel & Petracco Giudici, Marco & Rancan, Michela, 2021. "Has the Comprehensive Assessment made the European financial system more resilient?," Working Papers 2021-08, Joint Research Centre, European Commission.

    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. S. Bogan Aruoba & Pablo Cuba-Borda & Kenji Higa-Flores & Frank Schorfheide & Sergio Villalvazo, 2021. "Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 96-120, July.
    2. Fernández-Villaverde, J. & Rubio-Ramírez, J.F. & Schorfheide, F., 2016. "Solution and Estimation Methods for DSGE Models," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 527-724, Elsevier.
    3. S Borağan Aruoba & Pablo Cuba-Borda & Frank Schorfheide, 2018. "Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 85(1), pages 87-118.
    4. Ascari, Guido & Mavroeidis, Sophocles, 2022. "The unbearable lightness of equilibria in a low interest rate environment," Journal of Monetary Economics, Elsevier, vol. 127(C), pages 1-17.
    5. Christopher Gust & Edward Herbst & David López-Salido & Matthew E. Smith, 2017. "The Empirical Implications of the Interest-Rate Lower Bound," American Economic Review, American Economic Association, vol. 107(7), pages 1971-2006, July.
    6. Hirokuni Iiboshi & Mototsugu Shintani & Kozo Ueda, 2022. "Estimating a Nonlinear New Keynesian Model with the Zero Lower Bound for Japan," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 54(6), pages 1637-1671, September.
    7. Yasuo Hirose & Takeki Sunakawa, 2019. "Review of Solution and Estimation Methods for Nonlinear Dynamic Stochastic General Equilibrium Models with the Zero Lower Bound," The Japanese Economic Review, Springer, vol. 70(1), pages 51-104, March.
    8. Ascari, Guido & Mavroeidis, Sophocles & McClung, Nigel, 2023. "Coherence without rationality at the zero lower bound," Journal of Economic Theory, Elsevier, vol. 214(C).
    9. Hills, Timothy S. & Nakata, Taisuke & Schmidt, Sebastian, 2019. "Effective lower bound risk," European Economic Review, Elsevier, vol. 120(C).
    10. Jesper Lindé & Mathias Trabandt, 2018. "Should we use linearized models to calculate fiscal multipliers?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 33(7), pages 937-965, November.
    11. Andrew Binning & Junior Maih, 2017. "Modelling Occasionally Binding Constraints Using Regime-Switching," Working Paper 2017/23, Norges Bank.
    12. Chen, Han, 2017. "The effects of the near-zero interest rate policy in a regime-switching dynamic stochastic general equilibrium model," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 176-192.
    13. Tom D. Holden, 2023. "Existence and Uniqueness of Solutions to Dynamic Models with Occasionally Binding Constraints," The Review of Economics and Statistics, MIT Press, vol. 105(6), pages 1481-1499, November.
    14. Atkinson, Tyler & Richter, Alexander W. & Throckmorton, Nathaniel A., 2020. "The zero lower bound and estimation accuracy," Journal of Monetary Economics, Elsevier, vol. 115(C), pages 249-264.
    15. Taisuke Nakata, 2017. "Uncertainty at the Zero Lower Bound," American Economic Journal: Macroeconomics, American Economic Association, vol. 9(3), pages 186-221, July.
    16. Benjamin D. Keen & Alexander W. Richter & Nathaniel A. Throckmorton, 2017. "Forward Guidance And The State Of The Economy," Economic Inquiry, Western Economic Association International, vol. 55(4), pages 1593-1624, October.
    17. Andrew Binning & Junior Maih, 2016. "Forecast uncertainty in the neighborhood of the effective lower bound: How much asymmetry should we expect?," Working Paper 2016/13, Norges Bank.
    18. Taisuke Nakata & Sebastian Schmidt & Timothy Hills, 2016. "The Risky Steady State and the Interest Rate Lower Bound," 2016 Meeting Papers 39, Society for Economic Dynamics.
    19. Böhl, Gregor & Strobel, Felix, 2020. "US business cycle dynamics at the zero lower bound," IMFS Working Paper Series 143, Goethe University Frankfurt, Institute for Monetary and Financial Stability (IMFS).
    20. Andrew Binning & Junior Maih, 2016. "Implementing the zero lower bound in an estimated regime-switching DSGE model," Working Paper 2016/3, Norges Bank.

    More about this item

    JEL classification:

    • C5 - Mathematical and Quantitative Methods - - Econometric Modeling
    • E4 - Macroeconomics and Monetary Economics - - Money and Interest Rates
    • E5 - Macroeconomics and Monetary Economics - - Monetary Policy, Central Banking, and the Supply of Money and Credit

    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:nbr:nberwo:27991. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/nberrus.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.