pmhtutorial: Minimal Working Examples for Particle Metropolis-Hastings

Routines for state estimate in a linear Gaussian state space model and a simple stochastic volatility model using particle filtering. Parameter inference is also carried out in these models using the particle Metropolis-Hastings algorithm that includes the particle filter to provided an unbiased estimator of the likelihood. This package is a collection of minimal working examples of these algorithms and is only meant for educational use and as a start for learning to them on your own.

Install the latest version of this package by entering the following in R:
AuthorJohan Dahlin <>
Date of publication2016-01-19 18:04:57
MaintainerJohan Dahlin <>

View on CRAN

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.