IDEAS home Printed from https://ideas.repec.org/p/aah/create/2008-32.html
   My bibliography  Save this paper

How to Maximize the Likelihood Function for a DSGE Model

Author

Listed:
  • Martin Møller Andreasen

    (School of Economics and Management, University of Aarhus, Denmark and CREATES)

Abstract

This paper extends two optimization routines to deal with objective functions for DSGE models. The optimization routines are i) a version of Simulated Annealing developed by Corana, Marchesi & Ridella (1987), and ii) the evolutionary algorithm CMA-ES developed by Hansen, Müller & Koumoutsakos (2003). Following these extensions, we examine the ability of the two routines to maximize the likelihood function for a sequence of test economies. Our results show that the CMA-ES routine clearly outperforms Simulated Annealing in its ability to find the global optimum and in efficiency. With 10 unknown structural parameters in the likelihood function, the CMA-ES routine finds the global optimum in 95% of our test economies compared to 89% for Simulated Annealing. When the number of unknown structural parameters in the likelihood function increases to 20 and 35, then the CMA-ES routine finds the global optimum in 85% and 71% of our test economies, respectively. The corresponding numbers for Simulated Annealing are 70% and 0%.

Suggested Citation

  • Martin Møller Andreasen, 2008. "How to Maximize the Likelihood Function for a DSGE Model," CREATES Research Papers 2008-32, Department of Economics and Business Economics, Aarhus University.
  • Handle: RePEc:aah:create:2008-32
    as

    Download full text from publisher

    File URL: https://repec.econ.au.dk/repec/creates/rp/08/rp08_32.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. Stepahnie Schmitt-Grohé & Martín Uribe, 2007. "Optimal Inflation Stabilization in a Medium-Scale Macroeconomic Model," Central Banking, Analysis, and Economic Policies Book Series, in: Frederic S. Miskin & Klaus Schmidt-Hebbel & Norman Loayza (Series Editor) & Klaus Schmidt-Hebbel (Se (ed.),Monetary Policy under Inflation Targeting, edition 1, volume 11, chapter 5, pages 125-186, Central Bank of Chile.
    3. David Altig & Lawrence Christiano & Martin Eichenbaum & Jesper Linde, 2011. "Firm-Specific Capital, Nominal Rigidities and the Business Cycle," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 14(2), pages 225-247, April.
    4. Alejandro Justiniano & Giorgio E. Primiceri, 2008. "The Time-Varying Volatility of Macroeconomic Fluctuations," American Economic Review, American Economic Association, vol. 98(3), pages 604-641, June.
    5. Goffe, William L. & Ferrier, Gary D. & Rogers, John, 1994. "Global optimization of statistical functions with simulated annealing," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 65-99.
    6. Frank Smets & Rafael Wouters, 2007. "Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach," American Economic Review, American Economic Association, vol. 97(3), pages 586-606, June.
    7. 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.
    8. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    9. Lawrence J. Christiano & Martin Eichenbaum & Charles L. Evans, 2005. "Nominal Rigidities and the Dynamic Effects of a Shock to Monetary Policy," Journal of Political Economy, University of Chicago Press, vol. 113(1), pages 1-45, February.
    10. Giuliano De Rossi, 2004. "Maximum likelihood estimation of the Cox-Ingersoll-Ross model using particle filters," Computing in Economics and Finance 2004 302, Society for Computational Economics.
    11. Martin Møller Andreasen, 2008. "Ensuring the Validity of the Micro Foundation in DSGE Models," CREATES Research Papers 2008-26, Department of Economics and Business Economics, Aarhus University.
    Full references (including those not matched with items on IDEAS)

    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. Jesús Fernández-Villaverde, 2010. "The econometrics of DSGE models," SERIEs: Journal of the Spanish Economic Association, Springer;Spanish Economic Association, vol. 1(1), pages 3-49, March.
    2. Martin Møller Andreasen, 2008. "Explaining Macroeconomic and Term Structure Dynamics Jointly in a Non-linear DSGE Model," CREATES Research Papers 2008-43, Department of Economics and Business Economics, Aarhus University.
    3. 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.
    4. Stefan Avdjiev, 2016. "News Driven Business Cycles and Data on Asset Prices in Estimated DSGE Models," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 20, pages 181-197, April.
    5. 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.
    6. Guerron-Quintana, Pablo A., 2011. "The implications of inflation in an estimated new Keynesian model," Journal of Economic Dynamics and Control, Elsevier, vol. 35(6), pages 947-962, June.
    7. Andreasen, Martin M., 2012. "An estimated DSGE model: Explaining variation in nominal term premia, real term premia, and inflation risk premia," European Economic Review, Elsevier, vol. 56(8), pages 1656-1674.
    8. Best, Gabriela, 2017. "Policy Preferences And Policy Makers' Beliefs: The Great Inflation," Macroeconomic Dynamics, Cambridge University Press, vol. 21(8), pages 1957-1995, December.
    9. Martin Møller Andreasen, 2008. "Non-linear DSGE Models, The Central Difference Kalman Filter, and The Mean Shifted Particle Filter," CREATES Research Papers 2008-33, Department of Economics and Business Economics, Aarhus University.
    10. Justiniano, Alejandro & Primiceri, Giorgio E. & Tambalotti, Andrea, 2010. "Investment shocks and business cycles," Journal of Monetary Economics, Elsevier, vol. 57(2), pages 132-145, March.
    11. Zheng Liu & Daniel F. Waggoner & Tao Zha, 2009. "Sources of the Great Moderation: shocks, frictions, or monetary policy?," FRB Atlanta Working Paper 2009-03, Federal Reserve Bank of Atlanta.
    12. Anna Kormilitsina, 2011. "Oil Price Shocks and the Optimality of Monetary Policy," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 14(1), pages 199-223, January.
    13. 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.
    14. Jonas E. Arias & Guido Ascari & Nicola Branzoli & Efrem Castelnuovo, 2020. "Positive Trend Inflation and Determinacy in a Medium-Sized New Keynesian Model," International Journal of Central Banking, International Journal of Central Banking, vol. 16(3), pages 51-94, June.
    15. Born, Benjamin & Pfeifer, Johannes, 2014. "Policy risk and the business cycle," Journal of Monetary Economics, Elsevier, vol. 68(C), pages 68-85.
    16. Andreasen, Martin, 2011. "An estimated DSGE model: explaining variation in term premia," Bank of England working papers 441, Bank of England.
    17. Iania, Leonardo & Tretiakov, Pavel & Wouters, Rafael, 2023. "The risk premium in New Keynesian DSGE models: The cost of inflation channel," Journal of Economic Dynamics and Control, Elsevier, vol. 155(C).
    18. S. Boragan Aruoba & Frank Schorfheide, 2011. "Sticky Prices versus Monetary Frictions: An Estimation of Policy Trade-Offs," American Economic Journal: Macroeconomics, American Economic Association, vol. 3(1), pages 60-90, January.
    19. Lhuissier, Stéphane, 2018. "The Regime-Switching Volatility Of Euro Area Business Cycles," Macroeconomic Dynamics, Cambridge University Press, vol. 22(2), pages 426-469, March.
    20. Hashmat Khan & John Tsoukalas, 2012. "The Quantitative Importance of News Shocks in Estimated DSGE Models," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 44(8), pages 1535-1561, December.

    More about this item

    Keywords

    CMA-ES optimization routine; Multimodel objective function; Nelder-Mead simplex routine; Non-convex search space; Resampling; Simulated Annealing;
    All these keywords.

    JEL classification:

    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
    • E30 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - General (includes Measurement and Data)

    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:aah:create:2008-32. 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: http://www.econ.au.dk/afn/ .

    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.