Dahlin, Johan, and Thomas B. Schön. “Getting Started With Particle Metropolis-Hastings for Inference in Nonlinear Dynamical Models”.
Journal of Statistical Software, Code Snippets
, vol. 88, no. 2, Mar. 2019, pp. 1-41, doi:10.18637/jss.v088.c02.