IDEAS home Printed from https://ideas.repec.org/a/red/issued/20-14.html

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

Author

Listed:
  • S. Bogan Aruoba

    (University of Maryland)

  • Pablo Cuba-Borda

    (Federal Reserve Board)

  • Kenji Higa-Flores

    (University of Maryland)

  • Frank Schorfheide

    (University of Pennsylvania)

  • Sergio Villalvazo

    (University of Pennsylvania)

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. (Copyright: Elsevier)

Suggested Citation

  • 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.
  • Handle: RePEc:red:issued:20-14
    DOI: 10.1016/j.red.2020.12.003
    as

    Download full text from publisher

    File URL: https://dx.doi.org/10.1016/j.red.2020.12.003
    Download Restriction: Access to full texts is restricted to ScienceDirect subscribers and institutional members. See https://www.sciencedirect.com/ for details.

    File URL: https://libkey.io/10.1016/j.red.2020.12.003?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 look for a different version below or

    for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. 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.
    3. Acemoglu, Daron & Woodford, Michael (ed.), 2011. "NBER Macroeconomics Annual 2010," National Bureau of Economic Research Books, University of Chicago Press, number 9780226002125, July.
    4. 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.
    5. 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.
    6. 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.
    7. 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).
    8. Gianluca Benigno & Andrew Foerster & Christopher Otrok & Alessandro Rebucci, 2025. "Estimating macroeconomic models of financial crises: An endogenous regime‐switching approach," Quantitative Economics, Econometric Society, vol. 16(1), pages 1-47, January.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. 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.
    14. 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.
    15. 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.
    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. 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.
    18. Heiss, Florian & Winschel, Viktor, 2008. "Likelihood approximation by numerical integration on sparse grids," Journal of Econometrics, Elsevier, vol. 144(1), pages 62-80, May.
    19. 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.
    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. Mendes, Rhys R., 2011. "Uncertainty and the Zero Lower Bound: A Theoretical Analysis," MPRA Paper 59218, University Library of Munich, Germany.
    22. Jesús Fernández-Villaverde & Juan F. Rubio-Ramírez, 2007. "Estimating Macroeconomic Models: A Likelihood Approach," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 74(4), pages 1059-1087.
    23. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    24. 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.
    25. 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.
    26. 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.
    27. Francesco Bianchi & Leonardo Melosi, 2017. "Escaping the Great Recession," American Economic Review, American Economic Association, vol. 107(4), pages 1030-1058, April.
    28. 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.
    29. 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.
    30. 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.
    31. Guerrieri, Luca & Iacoviello, Matteo, 2017. "Collateral constraints and macroeconomic asymmetries," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 28-49.
    32. 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.
    33. 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.
    34. 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.
    35. 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.
    36. 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.
    37. 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.
    38. 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.
    39. 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.
    40. 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.
    41. 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.
    42. 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.
    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. 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.
    5. Dominik Hecker & Maik Wolters & Maik H. Wolters, 2025. "Nonlinear Estimation of a New Keynesian Model with Endogenous Inflation De-Anchoring," CESifo Working Paper Series 12280, CESifo.
    6. Dubois, Loick & Sahuc, Jean-Guillaume & Vermandel, Gauthier, 2025. "A general equilibrium approach to carbon permit banking," Journal of Environmental Economics and Management, Elsevier, vol. 129(C).
    7. 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.
    8. Villalvazo, Sergio, 2024. "FDI flows and sudden stops in small open economies," Journal of Macroeconomics, Elsevier, vol. 79(C).
    9. 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.
    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. 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.
    13. James A. Duffy & Sophocles Mavroeidis & Sam Wycherley, 2022. "Cointegration with Occasionally Binding Constraints," Papers 2211.09604, arXiv.org, revised Sep 2025.
    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, 2023. "Diplomatic relations and cross-border investments in the European Union," European Journal of Political Economy, Elsevier, vol. 76(C).
    16. Kase, Hanno & Melosi, Leonardo & Rottner, Matthias, 2022. "Estimating Nonlinear Heterogeneous Agents Models with Neural Networks," CEPR Discussion Papers 17391, C.E.P.R. Discussion Papers.
    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. "Modelling and Estimating Large Macroeconomic Shocks During the Pandemic," National Institute of Economic and Social Research (NIESR) Discussion Papers 530, National Institute of Economic and Social Research.
    19. Andrea Carriero & Todd E. Clark & Massimiliano Marcellino & Elmar Mertens, 2025. "Forecasting with shadow rate VARs," Quantitative Economics, Econometric Society, vol. 16(3), pages 795-822, July.
    20. 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.
    21. Giovannini, Massimo & Pfeiffer, Philipp & Ratto, Marco, 2021. "Efficient and robust inference of models with occasionally binding constraints," JRC Working Papers in Economics and Finance 2021-03, Joint Research Centre, European Commission.
    22. Andras Fulop & Jeremy Heng & Junye Li, 2022. "Efficient Likelihood-based Estimation via Annealing for Dynamic Structural Macrofinance Models," Papers 2201.01094, arXiv.org.
    23. Calo, Silvia & Gregori, Wildmer Daniel & Petracco Giudici, Marco & Rancan, Michela, 2021. "Has the Comprehensive Assessment made the European financial system more resilient?," JRC Working Papers in Economics and Finance 2021-08, Joint Research Centre, European Commission.
    24. Harding, Martín & Lindé, Jesper & Trabandt, Mathias, 2022. "Resolving the missing deflation puzzle," Journal of Monetary Economics, Elsevier, vol. 126(C), pages 15-34.

    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. 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.
    2. 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.
    3. 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, Japanese Economic Association, vol. 70(1), pages 51-104, March.
    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. Hills, Timothy S. & Nakata, Taisuke & Schmidt, Sebastian, 2019. "Effective lower bound risk," European Economic Review, Elsevier, vol. 120(C).
    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. Ascari, Guido & Mavroeidis, Sophocles & McClung, Nigel, 2023. "Coherence without rationality at the zero lower bound," Journal of Economic Theory, Elsevier, vol. 214(C).
    8. 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.
    9. 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.
    10. Taisuke Nakata, 2017. "Uncertainty at the Zero Lower Bound," American Economic Journal: Macroeconomics, American Economic Association, vol. 9(3), pages 186-221, July.
    11. Christopher J. Gust & Edward P. Herbst & J. David López-Salido & Matthew E. Smith, 2012. "The Empirical Implications of the Interest-Rate Lower Bound," Finance and Economics Discussion Series 2012-83, Board of Governors of the Federal Reserve System (U.S.).
    12. Andrew Binning & Junior Maih, 2017. "Modelling Occasionally Binding Constraints Using Regime-Switching," Working Papers No 9/2017, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    13. Gianluca Benigno & Andrew Foerster & Christopher Otrok & Alessandro Rebucci, 2025. "Estimating macroeconomic models of financial crises: An endogenous regime‐switching approach," Quantitative Economics, Econometric Society, vol. 16(1), pages 1-47, January.
    14. Jonathan Swarbrick, 2021. "Occasionally Binding Constraints in Large Models: A Review of Solution Methods," Discussion Papers 2021-5, Bank of Canada.
    15. 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.
    16. Andrew Binning & Junior Maih, 2016. "Implementing the zero lower bound in an estimated regime-switching DSGE model," Working Paper 2016/3, Norges Bank.
    17. 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).
    18. 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.
    19. 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.
    20. Calo, Silvia & Gregori, Wildmer Daniel & Petracco Giudici, Marco & Rancan, Michela, 2021. "Has the Comprehensive Assessment made the European financial system more resilient?," JRC Working Papers in Economics and Finance 2021-08, Joint Research Centre, European Commission.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    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

    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:red:issued:20-14. 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 Zimmermann (email available below). General contact details of provider: https://edirc.repec.org/data/sedddea.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.