Skip to content

Project to explore state space model inference including Kalman filters and hidden Markov models.

Notifications You must be signed in to change notification settings

smthzch/StateSpaceDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Space Demo

This repo contains scripts for exploring hidden markov models (HMM) and kalman filters (KF).

Kalman Filter

kalmanfilter.R demos using a kalman filter to filter a noisy sine wave. The signal in this case is the position along the y axis.

Kalman filter on noisy sin wave

HMM

hmm.R demos using a hidden markov model to detect a different drift regimes, as well as different noise regimes in brownian motion.

drift shift

HMM drift regime switch

variance shift

HMM variance regime switch

About

Project to explore state space model inference including Kalman filters and hidden Markov models.

Topics

Resources

Stars

Watchers

Forks

Languages