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 Centre for Economic Policy Research
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)
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 Centre for Economic Policy Research 33 Great Sutton Street, London EC1V 0DX, UK.
Bibliographic data for series maintained by CEPR ().