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

Listed:
  • Houtan Bastani
  • Luca Guerrieri

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. repec:eee:macchp:v2-527 is not listed on IDEAS
    2. Fernández-Villaverde, J. & Rubio-Ramírez, J.F. & Schorfheide, F., 2016. "Solution and Estimation Methods for DSGE Models," Handbook of Macroeconomics, Elsevier.
    3. 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.
    4. 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).
    5. 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.
    6. Cristian Homescu, 2011. "Adjoints and Automatic (Algorithmic) Differentiation in Computational Finance," Papers 1107.1831, arXiv.org.

    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: (Franz Osorio). General contact details of provider: http://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 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.

    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.