Git Product home page Git Product logo

particle-filtering's Introduction

PARTICLE FILTERING AND SMOOTHING EXAMPLE CODE

These example codes illustrate the methods used in Benjamin Born/Johannes Pfeifer (2014): "Policy Risk and the Business Cycle", Journal of Monetary Economics, 68, pp. 68-85.
Feel free to modify and adapt the codes to your needs, but please be fair and acknowledge the source. We ourselves have profited from the particle filter implementation of Andreasen, Martin M. (2011): "Non-Linear DSGE Models and The Optimized Central Difference Particle Filter", Journal of Economic Dynamics and Contol, 35(10), pp. 1671-1695

The following files do:

  1. Simulate AR1-Stochastic volatility process
  2. Run Metropolis-Hastings algorithm on AR1-stochastic volatility model using bootstrap (SIR) particle filter for evaluating the likelihood
  3. Run Doucet et. al. particle smoother

How to run

The main file to run is: run_filter_and_smoother_AR1.m

References:

The particle filter follows Arulampalam/Maskell/Gordon/Clapp (2002): "A Tutorial on Particle Filters for Online Nonlinear/Non-Gaussian Bayesian Tracking", IEEE Transactions on Signal Processing, 50(2)

The smoother is implemented according to Godsill/Doucet/West(2004) "Monte Carlo smoothing for nonlinear time series", Journal of the American Statistical Association, 2004, 99, 156-168

In case of questions or bugs, email us at [email protected] or [email protected]

particle-filtering's People

Contributors

benjaminborn avatar johannespfeifer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.