README.md

Full Bayesian Inference for Hidden Markov Models

Travis build status

We create an R Package to run full Bayesian inference on Hidden Markov Models (HMM) using the probabilistic programming language Stan. By providing an intuitive, expressive yet flexible input interface, we enable non-technical users to carry out research using the Bayesian workflow. We provide the user with an expressive interface to mix and match a wide array of options for the observation and latent models, including ample choices of densities, priors, and link functions whenever covariates are present. The software enables users to fit HMM with time-homogeneous transitions as well as time-varying transition probabilities. Priors can be set for every model parameter. Implemented inference algorithms include forward (filtering), forward-backwards (smoothing), Viterbi (most likely hidden path), prior predictive sampling, and posterior predictive sampling. Graphs, tables and other convenience methods for convergence diagnosis, goodness of fit, and data analysis are provided.

Google Summer of Code 2018

Install

devtools::install_github("luisdamiano/BayesHMM")

Prerequisites

Examples

See the vignette, which may not reflect the latest changes in the current version. Note that you may also find examples in inst/examples, but these may not work with the last version in the repository.

Contributing

Reach out to us at #r-finance (freenode.net).

Authors

License

GPL (>=3)

Acknowledgments



luisdamiano/BayesHMM documentation built on May 20, 2019, 2:59 p.m.