Published January 10, 2018 | Version v1
Conference paper Open

A tutorial on hidden Markov models using Stan

  • 1. Universidad Nacional de Rosario
  • 2. University of Washington
  • 3. Rice University

Description

We implement a standard Hidden Markov Model (HMM) and the Input-Output Hidden Markov Model for unsupervised learning of time series dynamics in Stan. We begin by reviewing three commonly-used algorithms for inference and parameter estimation, as well as a number of computational techniques and modeling strategies that make full Bayesian inference practical. For both models, we demonstrate the effectiveness of our proposed approach in simulations. Finally, we give an example of embedding a HMM within a larger model using an example from the econometrics literature.

Notes

Code and data available at github.com/stan-dev/stancon_talks

Files

main_pdf.pdf

Files (1.2 MB)

Name Size Download all
md5:1add4ba70f8a464d43f50b5397581396
1.2 MB Preview Download