Mixture Hidden Markov Models for Sequence Data: The seqHMM Package in R

Satu Helske, Jouni Helske
4/3/2017
130 citations
stat.COstat.AP

Official code: helske/seqHMM (106 stars, R, last commit 2026-10-23).

Abstract

Sequence analysis is being more and more widely used for the analysis of social sequences and other multivariate categorical time series data. However, it is often complex to describe, visualize, and compare large sequence data, especially when there are multiple parallel sequences per subject.

Show full abstract

Hidden (latent) Markov models (HMMs) are able to detect underlying latent structures and they can be used in various longitudinal settings: to account for measurement error, to detect unobservable states, or to compress information across several types of observations. Extending to mixture hidden Markov models (MHMMs) allows clustering data into homogeneous subsets, with or without external covariates. The seqHMM package in R is designed for the efficient modeling of sequences and other categorical time series data containing one or multiple subjects with one or multiple interdependent sequences using HMMs and MHMMs. Also other restricted variants of the MHMM can be fitted, e.g., latent class models, Markov models, mixture Markov models, or even ordinary multinomial regression models with suitable parameterization of the HMM. Good graphical presentations of data and models are useful during the whole analysis process from the first glimpse at the data to model fitting and presentation of results. The package provides easy options for plotting parallel sequence data, and proposes visualizing HMMs as directed graphs.

View on arXivView PDF

Code Implementations(1)

helske/seqHMMOfficial100%

Multivariate and Multichannel Discrete Hidden Markov Models for Categorical Sequences

10631R, C++Apr 5, 20141 months ago
categorical-dataem-algorithmhidden-markov-modelshmmmixture-markov-models+2 more

Similar Papers

Cite this paper

@article{helske2017mixture,
  title  = {Mixture Hidden Markov Models for Sequence Data: The seqHMM Package in R},
  author = {Satu Helske and Jouni Helske},
  year   = {2017},
  eprint = {1704.00543},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.00543}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1704.00543.svg)](https://codeofpaper.com/paper/1704.00543)

Discussion