IDEAS home Printed from https://ideas.repec.org/p/fip/fedgif/920.html
   My bibliography  Save this paper

On the application of automatic differentiation to the likelihood function for dynamic general equilibrium models

Author

Abstract

A key application of automatic differentiation (AD) is to facilitate numerical optimization problems. Such problems are at the core of many estimation techniques, including maximum likelihood. As one of the first applications of AD in the field of economics, we used Tapenade to construct derivatives for the likelihood function of any linear or linearized general equilibrium model solved under the assumption of rational expectations. We view our main contribution as providing an important check on finite-difference (FD) numerical derivatives. We also construct Monte Carlo experiments to compare maximum-likelihood estimates obtained with and without the aid of automatic derivatives. We find that the convergence rate of our optimization algorithm can increase substantially when we use AD derivatives.

Suggested Citation

  • Houtan Bastani & Luca Guerrieri, 2008. "On the application of automatic differentiation to the likelihood function for dynamic general equilibrium models," International Finance Discussion Papers 920, Board of Governors of the Federal Reserve System (U.S.).
  • Handle: RePEc:fip:fedgif:920
    as

    Download full text from publisher

    File URL: http://www.federalreserve.gov/pubs/ifdp/2008/920/default.htm
    Download Restriction: no

    File URL: http://www.federalreserve.gov/pubs/ifdp/2008/920/ifdp920.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Christopher J. Erceg & Luca Guerrieri & Christopher Gust, 2005. "Can Long-Run Restrictions Identify Technology Shocks?," Journal of the European Economic Association, MIT Press, vol. 3(6), pages 1237-1278, December.
    2. Erceg, Christopher J. & Henderson, Dale W. & Levin, Andrew T., 2000. "Optimal monetary policy with staggered wage and price contracts," Journal of Monetary Economics, Elsevier, vol. 46(2), pages 281-313, October.
    3. Anderson, Gary & Moore, George, 1985. "A linear algebraic procedure for solving linear perfect foresight models," Economics Letters, Elsevier, vol. 17(3), pages 247-252.
    4. Anderson, Gary, 1987. "A procedure for differentiating perfect-foresight-model reduced-from coefficients," Journal of Economic Dynamics and Control, Elsevier, vol. 11(4), pages 465-481, December.
    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. 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. Tore Selland Kleppe & Jun Yu & Hans J. skaug, 2011. "Simulated Maximum Likelihood Estimation for Latent Diffusion Models," Working Papers 10-2011, Singapore Management University, School of Economics.
    3. Adolfson, Malin & Lindé, Jesper, 2011. "Parameter Identification in a Estimated New Keynesian Open Economy Model," Working Paper Series 251, Sveriges Riksbank (Central Bank of Sweden).
    4. Skaug, Hans J. & Yu, Jun, 2014. "A flexible and automated likelihood based framework for inference in stochastic volatility models," Computational Statistics & Data Analysis, Elsevier, vol. 76(C), pages 642-654.
    5. Cristian Homescu, 2011. "Adjoints and Automatic (Algorithmic) Differentiation in Computational Finance," Papers 1107.1831, arXiv.org.

    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. Coenen, Gunter & Wieland, Volker, 2005. "A small estimated euro area model with rational expectations and nominal rigidities," European Economic Review, Elsevier, vol. 49(5), pages 1081-1104, July.
    2. Andrei Polbin & Sergey Drobyshevsky, 2014. "Developing a Dynamic Stochastic Model of General Equilibrium for the Russian Economy," Research Paper Series, Gaidar Institute for Economic Policy, issue 166P, pages 156-156.
    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. Michael D. Bordo & Christopher J. Erceg & Andrew T. Levin & Ryan Michaels, 2007. "Three great American disinflations," Proceedings, Federal Reserve Bank of San Francisco.
    5. Gunter Coenen & Volker Wieland, 2000. "A Simple Estimated Euro Area Model With Rational Expectations And Nominal Rigidities," Computing in Economics and Finance 2000 187, Society for Computational Economics.
    6. Avouyi-Dovi, S. & Matheron, J., 2005. "Technology Shocks and Monetary Policy in an Estimated Sticky Price Model of the US Economy," Working papers 123, Banque de France.
    7. Fève, Patrick & Matheron, Julien & Sahuc, Jean-Guillaume, 2007. "Optimal Monetary Policy and Technological Shocks in the Post-War US Business Cycle," IDEI Working Papers 484, Institut d'Économie Industrielle (IDEI), Toulouse.
    8. Coenen, Gunter & Wieland, Volker, 2003. "The zero-interest-rate bound and the role of the exchange rate for monetary policy in Japan," Journal of Monetary Economics, Elsevier, vol. 50(5), pages 1071-1101, July.
    9. Erceg, Christopher J. & Lindé, Jesper, 2013. "Fiscal consolidation in a currency union: Spending cuts vs. tax hikes," Journal of Economic Dynamics and Control, Elsevier, vol. 37(2), pages 422-445.
    10. 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.
    11. Christopher J. Erceg & Luca Guerrieri & Christopher Gust, 2006. "SIGMA: A New Open Economy Model for Policy Analysis," International Journal of Central Banking, International Journal of Central Banking, vol. 2(1), March.
    12. Martial Dupaigne & Patrick Feve & Julien Matheron, 2007. "Technology Shocks, Non-stationary Hours and DSVAR," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 10(2), pages 238-255, April.
    13. Coenen Günter & Orphanides Athanasios & Wieland Volker, 2004. "Price Stability and Monetary Policy Effectiveness when Nominal Interest Rates are Bounded at Zero," The B.E. Journal of Macroeconomics, De Gruyter, vol. 4(1), pages 1-25, February.
    14. Dupaigne, M. & Fève, P. & Matheron, J., 2005. "Technology Shock and Employment: Do We Really Need DSGE Models with a Fall in Hours?," Working papers 124, Banque de France.
    15. V. Lewis & C. Poilly, 2011. "Firm Entry, Inflation and the Monetary Transmission Mechanism," Working Papers of Faculty of Economics and Business Administration, Ghent University, Belgium 11/705, Ghent University, Faculty of Economics and Business Administration.
    16. Erceg, Christopher J. & Levin, Andrew T., 2003. "Imperfect credibility and inflation persistence," Journal of Monetary Economics, Elsevier, vol. 50(4), pages 915-944, May.
    17. Christoffel, Kai & Linzert, Tobias, 2005. "The Role of Real Wage Rigidity and Labor Market Frictions for Unemployment and Inflation Dynamics," IZA Discussion Papers 1896, Institute of Labor Economics (IZA).
    18. Rochelle M. Edge & Thomas Laubach & John C. Williams, 2003. "The responses of wages and prices to technology shocks," Finance and Economics Discussion Series 2003-65, Board of Governors of the Federal Reserve System (U.S.).
    19. Poilly, Céline, 2010. "Does money matter for the identification of monetary policy shocks: A DSGE perspective," Journal of Economic Dynamics and Control, Elsevier, vol. 34(10), pages 2159-2178, October.
    20. Lemoine, Matthieu & Lindé, Jesper, 2016. "Fiscal consolidation under imperfect credibility," European Economic Review, Elsevier, vol. 88(C), pages 108-141.

    More about this item

    Keywords

    Econometric models; Equilibrium (Economics);

    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:fip:fedgif:920. 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: Ryan Wolfslayer ; Keisha Fournillier (email available below). General contact details of provider: https://edirc.repec.org/data/frbgvus.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.