Differentiable State-Space Models and Hamiltonian Monte Carlo Estimation
David Childers,
Fernández-Villaverde, Jesús,
Jesse Perla,
Chris Rackauckas and
Peifan Wu
Authors registered in the RePEc Author Service: Jesus Fernandez-Villaverde
No 17576, CEPR Discussion Papers from C.E.P.R. Discussion Papers
Abstract:
We propose a methodology to take dynamic stochastic general equilibrium (DSGE) models to the data based on the combination of differentiable state-space models and the Hamiltonian Monte Carlo (HMC) sampler. First, we introduce a method for implicit automatic differentiation of perturbation solutions of DSGE models with respect to the model's parameters. We can use the resulting output for various tasks requiring gradients, such as building an HMC sampler, to estimate first- and second-order approximations of DSGE models. The availability of derivatives also enables a general filter-free method to estimate nonlinear, non-Gaussian DSGE models by sampling the joint likelihood of parameters and latent states. We show that the gradient-based joint likelihood sampling approach is superior in efficiency and robustness to standard Metropolis-Hastings samplers by estimating a canonical real business cycle model, a real small open economy model, and a medium-scale New Keynesian DSGE model.
JEL-codes: C10 C11 E10 (search for similar items in EconPapers)
Date: 2022-10
References: Add references at CitEc
Citations:
Downloads: (external link)
https://cepr.org/publications/DP17576 (application/pdf)
CEPR Discussion Papers are free to download for our researchers, subscribers and members. If you fall into one of these categories but have trouble downloading our papers, please contact us at subscribers@cepr.org
Related works:
Working Paper: Differentiable State-Space Models and Hamiltonian Monte Carlo Estimation (2022) 
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:cpr:ceprdp:17576
Ordering information: This working paper can be ordered from
https://cepr.org/publications/DP17576
Access Statistics for this paper
More papers in CEPR Discussion Papers from C.E.P.R. Discussion Papers Centre for Economic Policy Research, 33 Great Sutton Street, London EC1V 0DX.
Bibliographic data for series maintained by ().