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. Anderson, Gary & Moore, George, 1985. "A linear algebraic procedure for solving linear perfect foresight models," Economics Letters, Elsevier, vol. 17(3), pages 247-252.
    2. 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.
    3. 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.
    4. 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.
    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. Michael D. Bordo & Christopher J. Erceg & Andrew T. Levin & Ryan Michaels, 2007. "Three great American disinflations," Proceedings, Federal Reserve Bank of San Francisco.
    4. 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.
    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. 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.
    7. 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.
    8. 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.
    9. Erceg, Christopher J. & Levin, Andrew T., 2003. "Imperfect credibility and inflation persistence," Journal of Monetary Economics, Elsevier, vol. 50(4), pages 915-944, May.
    10. 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).
    11. 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.).
    12. Ida Wolden Bache, 2008. "Assessing estimates of the exchange rate pass-through," Working Paper 2007/12, Norges Bank.
    13. Andrew Hodge & Zoltan Jakab & Jesper Lindé & Vina Nguyen, 2022. "U.S. and Euro Area Monetary and Fiscal Interactions During the Pandemic: A Structural Analysis," IMF Working Papers 2022/222, International Monetary Fund.
    14. Bodenstein, Martin & Erceg, Christopher J. & Guerrieri, Luca, 2008. "Optimal monetary policy with distinct core and headline inflation rates," Journal of Monetary Economics, Elsevier, vol. 55(Supplemen), pages 18-33, October.
    15. 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.
    16. Christopher J. Gust & Robert J. Vigfusson, 2009. "The power of long-run structural VARs," International Finance Discussion Papers 978, Board of Governors of the Federal Reserve System (U.S.).
    17. Adolfson, Malin & Laséen, Stefan & Lindé, Jesper & Villani, Mattias, 2008. "Evaluating an estimated new Keynesian small open economy model," Journal of Economic Dynamics and Control, Elsevier, vol. 32(8), pages 2690-2721, August.
    18. Jeffrey C. Fuhrer, 2006. "Intrinsic and Inherited Inflation Persistence," International Journal of Central Banking, International Journal of Central Banking, vol. 2(3), September.
    19. Andrew Levin & Volker Wieland & John C. Williams, 2003. "The Performance of Forecast-Based Monetary Policy Rules Under Model Uncertainty," American Economic Review, American Economic Association, vol. 93(3), pages 622-645, June.
    20. Erceg, Christopher J. & Guerrieri, Luca & Gust, Christopher, 2008. "Trade adjustment and the composition of trade," Journal of Economic Dynamics and Control, Elsevier, vol. 32(8), pages 2622-2650, August.

    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.