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. Christopher J. Erceg & Dale W. Henderson & Andrew T. Levin, 2019. "Optimal Monetary Policy with Staggered Wage and Price Contracts," Credit and Capital Markets, Credit and Capital Markets, vol. 52(4), pages 537-571.
    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. 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).
    2. 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.
    3. 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.
    4. Cristian Homescu, 2011. "Adjoints and Automatic (Algorithmic) Differentiation in Computational Finance," Papers 1107.1831, arXiv.org.
    5. Tore Selland Kleppe & Jun Yu & Hans J. Skaug, 2011. "Simulated Maximum Likelihood Estimation for Latent Diffusion Models," Working Papers CoFie-04-2011, Singapore Management University, Sim Kee Boon Institute for Financial Economics.

    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. 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.
    3. 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.
    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. repec:zbw:cfswop:wp200308 is not listed on IDEAS
    6. 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.
    7. repec:zbw:cfswop:wp200705 is not listed on IDEAS
    8. 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.
    9. Lemoine, Matthieu & Lindé, Jesper, 2016. "Fiscal consolidation under imperfect credibility," European Economic Review, Elsevier, vol. 88(C), pages 108-141.
    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. 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.
    12. Gust, Christopher & Leduc, Sylvain & Sheets, Nathan, 2009. "The adjustment of global external balances: Does partial exchange-rate pass-through to trade prices matter?," Journal of International Economics, Elsevier, vol. 79(2), pages 173-185, November.
    13. Davide Debortoli & Jinill Kim & Jesper Lindé & Ricardo Nunes, 2019. "Designing a Simple Loss Function for Central Banks: Does a Dual Mandate Make Sense?," Economic Journal, Royal Economic Society, vol. 129(621), pages 2010-2038.
    14. 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.
    15. Matheron, Julien & Poilly, Céline, 2009. "How well does a small structural model with sticky prices and wages fit postwar U.S. data?," Economic Modelling, Elsevier, vol. 26(1), pages 266-284, January.
    16. 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.
    17. 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.
    18. 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.
    19. Christoffel, Kai & Linzert, Tobias, 2005. "The role of real wage rigidity and labor market frictions for unemployment and inflation dynamics," Working Paper Series 556, European Central Bank.
    20. Jérôme Coffinet & Céline Poilly, 2009. "Une évaluation structurelle du ratio de sacrifice dans la zone euro," Revue d'économie politique, Dalloz, vol. 119(2), pages 273-299.
    21. 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.
    22. 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.

    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.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: https://edirc.repec.org/data/frbgvus.html .

    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: (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 hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.