Skip to main content
. 2020 Oct 19;23(12):1878–1903. doi: 10.1111/ele.13610

Table 2.

Features of HMM packages available in the R environment for statistical computing, including capabilities for multiple observation sequences (‘Multiple sequences’), multivariate HMMs (‘Multivariate’), mixed HMMs (‘Mixed’), hierarchical HMMs (‘Hierarchical’), hidden semi‐Markov models (‘Semi‐Markov’), parameter covariate modelling (‘Covariates’), parameter constraints (‘Constraints’), missing observations (‘Missing data’) and state‐dependent probability distributions

Package Multiple sequences Multivariate Mixed Hierarchical Semi‐Markov Covariates Constraints Missing data Reference
aphid Wilkinson (2019)
depmixS4
δ,f,γ
δ,f,γ
Visser and Speenkenbrink (2010)
HiddenMarkov
f
Harte (2017)
HMM Himmelmann (2010)
hsmm Bulla and Bulla (2013)
LMest f or δ,γ Bartolucci et al., (2017)
mhsmm O'Connell and Hojsgaard (2011)
momentuHMM
δ,f,γ,π
δ,f,γ,π
McClintock and Michelot (2018)
msm
f,γ
f,γ
Jackson (2011)
RcppHMM Cardenas‐Ovando et al., (2017)
seqHMM
π
δ,γ
Helske and Helske (2019)
State‐dependent probability distributions
Bernoulli Beta Binomial Categorical Custom Exponential Gamma Lognormal Logistic Negative binomial Normal Multivariate normal Truncated normal Poisson Student's t Von Mises Weibull Wrapped Cauchy
aphid
depmixS4
HiddenMarkov
HMM
hsmm
LMest
mhsmm
momentuHMM
msm
RcppHMM
seqHMM

‘Covariates’ and ‘Constraints’ can pertain to initial distribution δ, state‐dependent probability distribution f, state transition probability γ and/or mixture probability π parameters. Several packages facilitate extensions for user‐specified state‐dependent probability distributions that require no modifications to the package source code (‘custom’).

*

Covariates are only permitted on state‐dependent distribution location parameters for the binomial, gamma, normal and Poisson distributions.

Covariates are only permitted on state‐dependent categorical distribution parameters.

Covariates are only permitted on state‐dependent distribution location parameters.

[Corrections added on 10 November 2020, after first online publication: Table 2 has been updated.]