IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1511.01707.html
   My bibliography  Save this paper

Getting Started with Particle Metropolis-Hastings for Inference in Nonlinear Dynamical Models

Author

Listed:
  • Johan Dahlin
  • Thomas B. Schon

Abstract

This tutorial provides a gentle introduction to the particle Metropolis-Hastings (PMH) algorithm for parameter inference in nonlinear state-space models together with a software implementation in the statistical programming language R. We employ a step-by-step approach to develop an implementation of the PMH algorithm (and the particle filter within) together with the reader. This final implementation is also available as the package pmhtutorial in the CRAN repository. Throughout the tutorial, we provide some intuition as to how the algorithm operates and discuss some solutions to problems that might occur in practice. To illustrate the use of PMH, we consider parameter inference in a linear Gaussian state-space model with synthetic data and a nonlinear stochastic volatility model with real-world data.

Suggested Citation

  • Johan Dahlin & Thomas B. Schon, 2015. "Getting Started with Particle Metropolis-Hastings for Inference in Nonlinear Dynamical Models," Papers 1511.01707, arXiv.org, revised Mar 2019.
  • Handle: RePEc:arx:papers:1511.01707
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1511.01707
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Pierre Del Moral & Arnaud Doucet & Ajay Jasra, 2006. "Sequential Monte Carlo samplers," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 68(3), pages 411-436, June.
    2. Malik, Sheheryar & Pitt, Michael K., 2011. "Particle filters for continuous likelihood evaluation and maximisation," Journal of Econometrics, Elsevier, vol. 165(2), pages 190-209.
    3. Michael Pitt & Sheheryar Malik & Arnaud Doucet, 2014. "Simulated likelihood inference for stochastic volatility models using continuous particle filtering," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 66(3), pages 527-552, June.
    4. Pitt, Michael K. & Silva, Ralph dos Santos & Giordani, Paolo & Kohn, Robert, 2012. "On some properties of Markov chain Monte Carlo simulation methods based on the particle filter," Journal of Econometrics, Elsevier, vol. 171(2), pages 134-151.
    5. Roland Langrock, 2011. "Some applications of nonlinear and non-Gaussian state--space modelling by means of hidden Markov models," Journal of Applied Statistics, Taylor & Francis Journals, vol. 38(12), pages 2955-2970, March.
    6. A. Doucet & M. K. Pitt & G. Deligiannidis & R. Kohn, 2015. "Efficient implementation of Markov chain Monte Carlo when using an unbiased likelihood estimator," Biometrika, Biometrika Trust, vol. 102(2), pages 295-313.
    7. Durbin, James & Koopman, Siem Jan, 2012. "Time Series Analysis by State Space Methods," OUP Catalogue, Oxford University Press, edition 2, number 9780199641178.
    8. Rong Chen & Jun S. Liu, 2000. "Mixture Kalman filters," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 62(3), pages 493-508.
    9. Christophe Andrieu & Arnaud Doucet & Roman Holenstein, 2010. "Particle Markov chain Monte Carlo methods," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 72(3), pages 269-342, June.
    10. Hull, John C & White, Alan D, 1987. "The Pricing of Options on Assets with Stochastic Volatilities," Journal of Finance, American Finance Association, vol. 42(2), pages 281-300, June.
    Full references (including those not matched with items on IDEAS)

    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. Matti Vihola & Jouni Helske & Jordan Franks, 2020. "Importance sampling type estimators based on approximate marginal Markov chain Monte Carlo," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 47(4), pages 1339-1376, December.
    2. James M. Nason & Gregor W. Smith, 2021. "Measuring the slowly evolving trend in US inflation with professional forecasts," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(1), pages 1-17, January.
    3. Mengheng Li & Siem Jan Koopman, 2021. "Unobserved components with stochastic volatility: Simulation‐based estimation and signal extraction," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 36(5), pages 614-627, August.
    4. Fulop, Andras & Li, Junye, 2019. "Bayesian estimation of dynamic asset pricing models with informative observations," Journal of Econometrics, Elsevier, vol. 209(1), pages 114-138.
    5. 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.
    6. Lux, Thomas, 2020. "Bayesian estimation of agent-based models via adaptive particle Markov chain Monte Carlo," Economics Working Papers 2020-01, Christian-Albrechts-University of Kiel, Department of Economics.
    7. Matias Quiroz & Robert Kohn & Mattias Villani & Minh-Ngoc Tran, 2019. "Speeding Up MCMC by Efficient Data Subsampling," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 114(526), pages 831-843, April.
    8. Bretó, Carles, 2014. "On idiosyncratic stochasticity of financial leverage effects," Statistics & Probability Letters, Elsevier, vol. 91(C), pages 20-26.
    9. Karamé, Frédéric, 2018. "A new particle filtering approach to estimate stochastic volatility models with Markov-switching," Econometrics and Statistics, Elsevier, vol. 8(C), pages 204-230.
    10. Fulop, Andras & Heng, Jeremy & Li, Junye & Liu, Hening, 2022. "Bayesian estimation of long-run risk models using sequential Monte Carlo," Journal of Econometrics, Elsevier, vol. 228(1), pages 62-84.
    11. Chris Sherlock, 2016. "Optimal Scaling for the Pseudo-Marginal Random Walk Metropolis: Insensitivity to the Noise Generating Mechanism," Methodology and Computing in Applied Probability, Springer, vol. 18(3), pages 869-884, September.
    12. Scharth, Marcel & Kohn, Robert, 2016. "Particle efficient importance sampling," Journal of Econometrics, Elsevier, vol. 190(1), pages 133-147.
    13. Herbst, Edward & Schorfheide, Frank, 2019. "Tempered particle filtering," Journal of Econometrics, Elsevier, vol. 210(1), pages 26-44.
    14. Neil Shephard, 2013. "Martingale unobserved component models," Economics Papers 2013-W01, Economics Group, Nuffield College, University of Oxford.
    15. Arnaud Doucet & Neil Shephard, 2012. "Robust inference on parameters via particle filters and sandwich covariance matrices," Economics Papers 2012-W05, Economics Group, Nuffield College, University of Oxford.
    16. Andras Fulop & Jeremy Heng & Junye Li, 2022. "Efficient Likelihood-based Estimation via Annealing for Dynamic Structural Macrofinance Models," Papers 2201.01094, arXiv.org.
    17. Antonio A. F. Santos, 2021. "Bayesian Estimation for High-Frequency Volatility Models in a Time Deformed Framework," Computational Economics, Springer;Society for Computational Economics, vol. 57(2), pages 455-479, February.
    18. Douc, Randal & Olsson, Jimmy & Roueff, François, 2020. "Posterior consistency for partially observed Markov models," Stochastic Processes and their Applications, Elsevier, vol. 130(2), pages 733-759.
    19. Golightly, Andrew & Bradley, Emma & Lowe, Tom & Gillespie, Colin S., 2019. "Correlated pseudo-marginal schemes for time-discretised stochastic kinetic models," Computational Statistics & Data Analysis, Elsevier, vol. 136(C), pages 92-107.
    20. Thomas Lux, 2022. "Bayesian Estimation of Agent-Based Models via Adaptive Particle Markov Chain Monte Carlo," Computational Economics, Springer;Society for Computational Economics, vol. 60(2), pages 451-477, August.

    More about this item

    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:arx:papers:1511.01707. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.