IDEAS home Printed from https://ideas.repec.org/p/hhs/hastef/0706.html
   My bibliography  Save this paper

Metropolis-Hastings prefetching algorithms

Author

Listed:
  • Strid, Ingvar

    (Dept. of Economic Statistics, Stockholm School of Economics)

Abstract

Prefetching is a simple and general method for single-chain parallelisation of the Metropolis-Hastings algorithm based on the idea of evaluating the posterior in parallel and ahead of time. In this paper improved Metropolis-Hastings prefetching algorithms are presented and evaluated. It is shown how to use available information to make better predictions of the future states of the chain and increase the efficiency of prefetching considerably. The optimal acceptance rate for the prefetching random walk Metropolis-Hastings algorithm is obtained for a special case and it is shown to decrease in the number of processors employed. The performance of the algorithms is illustrated using a well-known macroeconomic model. Bayesian estimation of DSGE models, linearly or nonlinearly approximated, is identified as a potential area of application for prefetching methods. The generality of the proposed method, however, suggests that it could be applied in many other contexts as well.

Suggested Citation

  • Strid, Ingvar, 2008. "Metropolis-Hastings prefetching algorithms," SSE/EFI Working Paper Series in Economics and Finance 706, Stockholm School of Economics, revised 02 Dec 2009.
  • Handle: RePEc:hhs:hastef:0706
    as

    Download full text from publisher

    File URL: http://swopec.hhs.se/hastef/papers/hastef0706.pdf
    File Function: Complete Rendering
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Amisano, Gianni & Tristani, Oreste, 2010. "Euro area inflation persistence in an estimated nonlinear DSGE model," Journal of Economic Dynamics and Control, Elsevier, vol. 34(10), pages 1837-1858, October.
    2. 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.
    3. Christiano, Lawrence J. & Trabandt, Mathias & Walentin, Karl, 2011. "Introducing financial frictions and unemployment into a small open economy model," Journal of Economic Dynamics and Control, Elsevier, vol. 35(12), pages 1999-2041.
    4. Alessandro Cigno & Annalisa Luporini, 2018. "On the evolution of individual preferences and family rules," Working Paper series 18-07, Rimini Centre for Economic Analysis.
    5. Adolfson, Malin & Laseen, Stefan & Linde, Jesper & Villani, Mattias, 2007. "Bayesian estimation of an open economy DSGE model with incomplete pass-through," Journal of International Economics, Elsevier, vol. 72(2), pages 481-511, July.
    6. Marco Del Negro & Frank Schorfheide & Frank Smets & Raf Wouters, 2004. "On the fit and forecasting performance of New Keynesian models," FRB Atlanta Working Paper 2004-37, Federal Reserve Bank of Atlanta.
    7. Ingvar Strid & Karl Walentin, 2009. "Block Kalman Filtering for Large-Scale DSGE Models," Computational Economics, Springer;Society for Computational Economics, vol. 33(3), pages 277-304, April.
    8. Schmitt-Grohe, Stephanie & Uribe, Martin, 2004. "Solving dynamic general equilibrium models using a second-order approximation to the policy function," Journal of Economic Dynamics and Control, Elsevier, vol. 28(4), pages 755-775, January.
    9. Klein, Paul, 2000. "Using the generalized Schur form to solve a multivariate linear rational expectations model," Journal of Economic Dynamics and Control, Elsevier, vol. 24(10), pages 1405-1423, September.
    10. Ingvar Strid, 2006. "Parallel particle filters for likelihood evaluation in DSGE models: An assessment," Computing in Economics and Finance 2006 395, Society for Computational Economics.
    11. Anatoliy Belaygorod & Michael J. Dueker, 2007. "The price puzzle and indeterminacy in an estimated DSGE model," Working Papers 2006-025, Federal Reserve Bank of St. Louis.
    12. Frank Smets & Raf Wouters, 2003. "An Estimated Dynamic Stochastic General Equilibrium Model of the Euro Area," Journal of the European Economic Association, MIT Press, vol. 1(5), pages 1123-1175, September.
    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. Edward Herbst & Frank Schorfheide, 2014. "Sequential Monte Carlo Sampling For Dsge Models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 29(7), pages 1073-1098, November.

    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. Strid, Ingvar, 2010. "Efficient parallelisation of Metropolis-Hastings algorithms using a prefetching approach," Computational Statistics & Data Analysis, Elsevier, vol. 54(11), pages 2814-2835, November.
    2. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    3. Malin Adolfson & Stefan Las√Âen & Jesper Lind√ & Lars E.O. Svensson, 2011. "Optimal Monetary Policy in an Operational Medium-Sized DSGE Model," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 43(7), pages 1287-1331, October.
    4. Tovar, Camilo Ernesto, 2009. "DSGE Models and Central Banks," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 3, pages 1-31.
    5. Lombardi, Marco J. & Sgherri, Silvia, 2007. "(Un)naturally low? Sequential Monte Carlo tracking of the US natural interest rate," Working Paper Series 794, European Central Bank.
    6. Adnan Haider Bukhari & Safdar Ullah Khan, 2008. "A Small Open Economy DSGE Model for Pakistan," The Pakistan Development Review, Pakistan Institute of Development Economics, vol. 47(4), pages 963-1008.
    7. Doh, Taeyoung, 2011. "Yield curve in an estimated nonlinear macro model," Journal of Economic Dynamics and Control, Elsevier, vol. 35(8), pages 1229-1244, August.
    8. Mehmet Balcilar & Rangan Gupta & Anandamayee Majumdar & Stephen M. Miller, 2012. "Was the Recent Downturn in US GDP Predictable?," Working Papers 1210, University of Nevada, Las Vegas , Department of Economics.
    9. Corbo, Vesna & Strid, Ingvar, 2020. "MAJA: A two-region DSGE model for Sweden and its main trading partners," Working Paper Series 391, Sveriges Riksbank (Central Bank of Sweden).
    10. Amisano, Gianni & Tristani, Oreste, 2010. "Euro area inflation persistence in an estimated nonlinear DSGE model," Journal of Economic Dynamics and Control, Elsevier, vol. 34(10), pages 1837-1858, October.
    11. Pichler Paul, 2008. "Forecasting with DSGE Models: The Role of Nonlinearities," The B.E. Journal of Macroeconomics, De Gruyter, vol. 8(1), pages 1-35, July.
    12. Martin M. Andreasen, 2010. "Non-linear DSGE Models and The Optimized Particle Filter," CREATES Research Papers 2010-05, Department of Economics and Business Economics, Aarhus University.
    13. Amisano, Gianni & Tristani, Oreste, 2011. "Exact likelihood computation for nonlinear DSGE models with heteroskedastic innovations," Journal of Economic Dynamics and Control, Elsevier, vol. 35(12), pages 2167-2185.
    14. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," EconStor Preprints 269876, ZBW - Leibniz Information Centre for Economics.
    15. Hall, Jamie, 2012. "Rapid estimation of nonlinear DSGE models," MPRA Paper 41218, University Library of Munich, Germany.
    16. Schmidt, Sebastian & Wieland, Volker, 2013. "The New Keynesian Approach to Dynamic General Equilibrium Modeling: Models, Methods and Macroeconomic Policy Evaluation," Handbook of Computable General Equilibrium Modeling, in: Peter B. Dixon & Dale Jorgenson (ed.), Handbook of Computable General Equilibrium Modeling, edition 1, volume 1, chapter 0, pages 1439-1512, Elsevier.
    17. Haykaz Igityan, 2019. "Asymmetric Effects of Monetary Policy in Different Phases of Armenia's Business Cycle," Working Papers 11, Central Bank of the Republic of Armenia.
    18. Warne, Anders & Coenen, Günter & Christoffel, Kai, 2010. "Forecasting with DSGE models," Working Paper Series 1185, European Central Bank.
    19. Flury, Thomas & Shephard, Neil, 2011. "Bayesian Inference Based Only On Simulated Likelihood: Particle Filter Analysis Of Dynamic Economic Models," Econometric Theory, Cambridge University Press, vol. 27(05), pages 933-956, October.

    More about this item

    Keywords

    Prefetching; Metropolis-Hastings; Parallel Computing; DSGE models; Optimal acceptance rate;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques

    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:hhs:hastef:0706. 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: Helena Lundin (email available below). General contact details of provider: https://edirc.repec.org/data/erhhsse.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.