MatrixHMM
Parsimonious Families of Hidden Markov Models for Matrix-Variate Longitudinal Data
Description
Implements three families of parsimonious hidden Markov models (HMMs) for matrix-variate longitudinal data using the Expectation-Conditional Maximization (ECM) algorithm. The package supports matrix-variate normal, t, and contaminated normal distributions as emission distributions. For each hidden state, parsimony is achieved through the eigen-decomposition of the covariance matrices associated with the emission distribution. This approach results in a comprehensive set of 98 parsimonious HMMs for each type of emission distribution. Atypical matrix detection is also supported, utilizing the fitted (heavy-tailed) models.
Downloads
214
Last 30 days
20988th
537
Last 90 days
2.6K
Last year
Trend: +52.9% (30d vs prior 30d)
9
Last 30 days
23
Last 90 days
100
Last year
Trend: -35.7% (30d vs prior 30d)
2
Last 7 days
5
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 31, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
examples
Running examples in ‘MatrixHMM-Ex.R’ failed The error most likely occurred in: > ### Name: Eigen.HMM_fit > ### Title: Fitting Parsimonious Hidden Markov Models for Matrix-Variate > ### Longitudinal Data > ### Aliases: Eigen.HMM_fit > > ### ** Exa ...[truncated]... RUE, : port 11064 cannot be opened Error in socketConnection(port = port, server = TRUE, blocking = TRUE, : cannot open the connection Calls: Eigen.HMM_init ... <Anonymous> -> makeSOCKcluster -> newSOCKnode -> socketConnection Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
examples
Running examples in 'MatrixHMM-Ex.R' failed The error most likely occurred in: > ### Name: Eigen.HMM_fit > ### Title: Fitting Parsimonious Hidden Markov Models for Matrix-Variate > ### Longitudinal Data > ### Aliases: Eigen.HMM_fit > > ### ** Exa ...[truncated]... RUE, : port 11690 cannot be opened Error in socketConnection(port = port, server = TRUE, blocking = TRUE, : cannot open the connection Calls: Eigen.HMM_init ... <Anonymous> -> makeSOCKcluster -> newSOCKnode -> socketConnection Execution halted
Dependency Network
Version History
1 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Aug 28, 2024. Releases before tracking aren’t shown.