All Projects → compops → pmh-tutorial

compops / pmh-tutorial

Licence: GPL-2.0 license
Source code and data for the tutorial: "Getting started with particle Metropolis-Hastings for inference in nonlinear models"

Programming Languages

r
7636 projects
python
139335 projects - #7 most used programming language
matlab
3953 projects

Projects that are alternatives of or similar to pmh-tutorial

PROJ Option Pricing Matlab
Quant Option Pricing - Exotic/Vanilla: Barrier, Asian, European, American, Parisian, Lookback, Cliquet, Variance Swap, Swing, Forward Starting, Step, Fader
Stars: ✭ 85 (+269.57%)
Mutual labels:  monte-carlo, stochastic-volatility-models
Birch
A probabilistic programming language that combines automatic differentiation, automatic marginalization, and automatic conditioning within Monte Carlo methods.
Stars: ✭ 80 (+247.83%)
Mutual labels:  monte-carlo, system-identification
cmna-pkg
Computational Methods for Numerical Analysis
Stars: ✭ 13 (-43.48%)
Mutual labels:  monte-carlo
pomp
R package for statistical inference using partially observed Markov processes
Stars: ✭ 88 (+282.61%)
Mutual labels:  particle-filter
ProjectReward
A software to shortlist and find the best options spread available for a given stock and help it visualise using payoff graphs.
Stars: ✭ 57 (+147.83%)
Mutual labels:  monte-carlo
sysidentpy
A Python Package For System Identification Using NARMAX Models
Stars: ✭ 139 (+504.35%)
Mutual labels:  system-identification
SpinMC.jl
Classical Monte Carlo simulations for lattice spin systems
Stars: ✭ 18 (-21.74%)
Mutual labels:  monte-carlo
LatticeQCD.jl
A native Julia code for lattice QCD with dynamical fermions in 4 dimension.
Stars: ✭ 85 (+269.57%)
Mutual labels:  monte-carlo
lattice mc
Lattice gas Monte Carlo simulation code
Stars: ✭ 24 (+4.35%)
Mutual labels:  monte-carlo
pylj
Teaching Utility for Classical Atomistic Simulation.
Stars: ✭ 23 (+0%)
Mutual labels:  monte-carlo
SLICOT-Reference
SLICOT - A Fortran subroutines library for systems and control
Stars: ✭ 19 (-17.39%)
Mutual labels:  system-identification
go-estimate
State estimation and filtering algorithms in Go
Stars: ✭ 98 (+326.09%)
Mutual labels:  particle-filter
mc-tools
Some Monte Carlo tools
Stars: ✭ 27 (+17.39%)
Mutual labels:  monte-carlo
nflfastR
A Set of Functions to Efficiently Scrape NFL Play by Play Data
Stars: ✭ 268 (+1065.22%)
Mutual labels:  cran-r
GA SLAM
🚀 SLAM for autonomous planetary rovers with global localization
Stars: ✭ 40 (+73.91%)
Mutual labels:  particle-filter
FARNN
Code that trains cancer soft-robot networks
Stars: ✭ 15 (-34.78%)
Mutual labels:  system-identification
kidnapped-vehicle
Implemented a C++ particle filter for real-time vehicle localization with only current visual observations and a map.
Stars: ✭ 18 (-21.74%)
Mutual labels:  particle-filter
rough bergomi
A Python implementation of the rough Bergomi model.
Stars: ✭ 63 (+173.91%)
Mutual labels:  monte-carlo
mcx
Monte Carlo eXtreme (MCX) - GPU-accelerated photon transport simulator
Stars: ✭ 77 (+234.78%)
Mutual labels:  monte-carlo
l2hmc-qcd
Application of the L2HMC algorithm to simulations in lattice QCD.
Stars: ✭ 33 (+43.48%)
Mutual labels:  monte-carlo

pmh-tutorial

This code was downloaded from https://github.com/compops/pmh-tutorial and contains the code used to produce the results in the tutorial:

J. Dahlin and T. B. Schön, Getting started with particle Metropolis-Hastings for inference in nonlinear dynamical models. Journal of Statistical Software, Code Snippets, Volume 88, Number 2, pp. 1-41, Foundation for Open Access Statistics, 2019.

The tutorial is available as open access from Journal of Statistical Software. An R package is also provided on CRAN with the implementation of the tutorial in R. The source code (almost identical to the code in the subdirectory R/) is found at pmh-tutorial-rpkg.

Included material

r/ This is the main implementation. The complete R code developed and implemented in the tutorial. This code was used to make all the numerical illustrations in the tutorial including the figures and tables. The workspaces for these runs are also provided as a zip-file in the latest release of the code to reproduce all the figures in the tutorial.

python/ Code for Python to implement the basic algorithms covered in the tutorial. Implementations for the advanced topics are not provided. Only simple plotting is implemented and no figures or saved data from runs are provided.

matlab/ Code for MATLAB to implement the basic algorithms covered in the tutorial. Implementations for the advanced topics are not provided. Only simple plotting is implemented and no figures or saved data from runs are provided.

Generalisations

There is source code available for Python that implements some of the generalisations discussed in the tutorial. See the README file under python/ for more information.

Copyright information

See LICENSE for more information.

##############################################################################
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].