Skip to content

lvhoskovec/psbpHMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This folder contains code for the R package psbpHMM.

The main purpose of this package is to fit a covariate-dependent infinite hidden Markov model to multiple time series with or without missing data. The hidden state transition distribution is modeled via the probit stick-breaking process (psbp) which allows covariates to inform the transitions.

This package relies on the following R packages. Install these packages in the R environment by using the install.packages("") command.

Rcpp

RcppArmadillo

parallel

gdata

invgamma

gtools

mvtnorm

matrixcalc

tmvmixnorm

rlist

truncnorm

mvnfast

Then you can install psbpHMM by running the following lines in the R console:

library(devtools)

install_github( "lvhoskovec/psbpHMM", build_vignettes = TRUE)

library(psbpHMM)

vignette("psbpHMM_vignette")

About

Fit covariate-dependent infinite hidden Markov models via the probit stick-breaking process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published