Hidden Hybrid Markov/Semi-Markov Model Fitting
Overview
Develops algorithms for fitting, prediction, simulation and initialization of the following models (1)- hidden hybrid Markov/semi-Markov model, introduced by Guedon (2005) doi:10.1016/j.csda.2004.05.033, (2)- nonparametric mixture of B-splines emissions (Langrock et al., 2015 doi:10.1111/biom.12282), (3)- regime switching regression model (Kim et al., 2008 doi:10.1016/j.jeconom.2007.10.002) and auto-regressive hidden hybrid Markov/semi-Markov model, (4)- spline-based nonparametric estimation of additive state-switching models (Langrock et al., 2018 doi:10.1111/stan.12133) (5)- robust emission model proposed by Qin et al, 2024 doi:10.1007/s10479-024-05989-4 (6)- several emission distributions, including mixture of multivariate normal (which can also handle missing data using EM algorithm) and multi-nomial emission (for modeling polymer or DNA sequences) (7)- tools for prediction of future state sequence, computing the score of a new sequence, splitting the samples and sequences to train and test sets, computing the information measures of the models, computing the residual useful lifetime (reliability) and many other useful tools ... (read for more description: Amini et al., 2022 doi:10.1007/s00180-022-01248-x and its arxiv version: doi:10.48550/arXiv.2109.12489).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 38
- Examples that run
- 97%35 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 94%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 32% with Rdpack citation macros
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 15
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
Checks run against github.com/mortamini/hhsmm on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.2Latest
- 0.4.12024-09-03 · diff ↗
- 0.4.0
- 0.3.72024-05-01 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.3.62023-08-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.5
- 0.3.42023-01-07 · diff ↗
- 0.3.32022-08-05 · diff ↗
- 0.3.2
- RR 4.2.0 released · 2022-04-22
- 0.3.1
- 0.2.52022-02-08 · diff ↗
Show 11 earlier eventsHide 11 earlier events
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.12021-10-18 · diff ↗
- 0.2.0
- 0.1.32021-09-13 · diff ↗ ·
removed 19 exports
.add.states, .build_d, .check.hhsmmspec, .dlog, .dnbinom.hhsmm, .dpois.hhsmm, .gammafit, .ginv, .lnormfit, .logdistrfit, .ltr_clus2, .nbinomfit, .plog, .progress, .rlog, .rnbinom.hhsmm, .rpois.hhsmm, .simulate_markov, .weibullfitadded 1 export
mixdiagmvnorm_mstep - unarchivedReturned to CRAN2021-06-16
- 0.1.22021-06-16 · diff ↗
- archivedRemoved from CRAN2021-06-14check problems were not corrected in time
- 0.12021-05-31
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-05-31
- Total releases
- 19 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.3.0
- Download size
- 66 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("hhsmm")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.