IDEAS home Printed from https://ideas.repec.org/p/aub/autbar/651.05.html

A Note on Parallelizing the Parameterized Expectations Algorithm

Author

Abstract

The parameterized expectations algorithm (PEA) involves a long simulationand a nonlinear least squares (NLS) fit, both embedded in a loop. Both steps are natural candidates for parallelization.This note shows that parallelization can lead to important speedups forthe PEA.I provide example code for a simple model that can serve as a templatefor parallelization of more interesting models, as well as a download linkfor an image of a bootable CD that allows creation of a cluster and executionof the example code in minutes, with no need to install any software.

Suggested Citation

  • Michael Creel, 2005. "A Note on Parallelizing the Parameterized Expectations Algorithm," UFAE and IAE Working Papers 651.05, Unitat de Fonaments de l'Anàlisi Econòmica (UAB) and Institut d'Anàlisi Econòmica (CSIC).
  • Handle: RePEc:aub:autbar:651.05
    as

    Download full text from publisher

    File URL: http://pareto.uab.es/wp/2005/65105.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    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. Michael Creel, 2004. "ParallelKnoppix Tutorial," UFAE and IAE Working Papers 626.04, Unitat de Fonaments de l'Anàlisi Econòmica (UAB) and Institut d'Anàlisi Econòmica (CSIC), revised 07 Oct 2005.

    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. Richard Evans & Kerk Phillips, 2014. "OLG Life Cycle Model Transition Paths: Alternate Model Forecast Method," Computational Economics, Springer;Society for Computational Economics, vol. 43(1), pages 105-131, January.
    2. Guerra Vallejos, Ernesto & Bobenrieth Hochfarber, Eugenio & Bobenrieth Hochfarber, Juan & Wright, Brian D., 2021. "Solving dynamic stochastic models with multiple occasionally binding constraints," Economic Modelling, Elsevier, vol. 105(C).
    3. Shigeru Fujita, 2004. "Vacancy persistence," Working Papers 04-23, Federal Reserve Bank of Philadelphia.
    4. Kato, Ryo & Nishiyama, Shin-Ichi, 2005. "Optimal monetary policy when interest rates are bounded at zero," Journal of Economic Dynamics and Control, Elsevier, vol. 29(1-2), pages 97-133, January.
    5. Brumm, Johannes & Grill, Michael, 2014. "Computing equilibria in dynamic models with occasionally binding constraints," Journal of Economic Dynamics and Control, Elsevier, vol. 38(C), pages 142-160.
    6. Michael Creel, 2008. "Using Parallelization to Solve a Macroeconomic Model: A Parallel Parameterized Expectations Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 32(4), pages 343-352, November.
    7. S. Sirakaya & Stephen Turnovsky & M. Alemdar, 2006. "Feedback Approximation of the Stochastic Growth Model by Genetic Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 27(2), pages 185-206, May.
    8. 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.
    9. Adam, Klaus & Billi, Roberto M., 2006. "Optimal Monetary Policy under Commitment with a Zero Bound on Nominal Interest Rates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 38(7), pages 1877-1905, October.
    10. Christopher J. Gust & Benjamin K. Johannsen & J. David López-Salido, 2015. "Monetary Policy, Incomplete Information, and the Zero Lower Bound," Finance and Economics Discussion Series 2015-99, Board of Governors of the Federal Reserve System (U.S.).
    11. Heer Burkhard & Maußner Alfred, 2011. "Value Function Iteration as a Solution Method for the Ramsey Model," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 231(4), pages 494-515, August.
    12. Fujita, Shigeru & Ramey, Garey, 2005. "The Dynamic Beveridge Curve," University of California at San Diego, Economics Working Paper Series qt4m04n09h, Department of Economics, UC San Diego.
    13. Nakata, Taisuke & Ogaki, Ryota & Schmidt, Sebastian & Yoo, Paul, 2019. "Attenuating the forward guidance puzzle: Implications for optimal monetary policy," Journal of Economic Dynamics and Control, Elsevier, vol. 105(C), pages 90-106.
    14. Manuel S. Santos & Adrian Peralta-Alva, 2012. "Analysis of Numerical Errors," Working Papers 2012-6, University of Miami, Department of Economics.
    15. Taisuke Nakata & Sebastian Schmidt & Paul Yoo, 2018. "Speed Limit Policy and Liquidity Traps," IMES Discussion Paper Series 18-E-06, Institute for Monetary and Economic Studies, Bank of Japan.
    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. 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.
    18. Raahauge, Peter, 2006. "Upper Bounds on Numerical Approximation Errors," Working Papers 2004-4, Copenhagen Business School, Department of Finance.
    19. Christopher Gust & Benjamin K. Johannsen & J. David López-Salido, 2017. "Monetary Policy, Incomplete Information, and the Zero Lower Bound," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 65(1), pages 37-70, April.
    20. Lilia Maliar & Serguei Maliar & John B. Taylor & Inna Tsener, 2020. "A tractable framework for analyzing a class of nonstationary Markov models," Quantitative Economics, Econometric Society, vol. 11(4), pages 1289-1323, November.

    More about this item

    Keywords

    ;
    ;

    JEL classification:

    • E27 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Forecasting and Simulation: Models and Applications
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    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:aub:autbar:651.05. 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: Xavier Vila (email available below). General contact details of provider: https://edirc.repec.org/data/ufuabes.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.