Skip to content

HMMextra0s

Hidden Markov Models with Extra Zeros

v1.1.0 · Aug 2, 2021 · GPL (>= 2)

Description

Contains functions for hidden Markov models with observations having extra zeros as defined in the following two publications, Wang, T., Zhuang, J., Obara, K. and Tsuruoka, H. (2016) <doi:10.1111/rssc.12194>; Wang, T., Zhuang, J., Buckby, J., Obara, K. and Tsuruoka, H. (2018) <doi:10.1029/2017JB015360>. The observed response variable is either univariate or bivariate Gaussian conditioning on presence of events, and extra zeros mean that the response variable takes on the value zero if nothing is happening. Hence the response is modelled as a mixture distribution of a Bernoulli variable and a continuous variable. That is, if the Bernoulli variable takes on the value 1, then the response variable is Gaussian, and if the Bernoulli variable takes on the value 0, then the response is zero too. This package includes functions for simulation, parameter estimation, goodness-of-fit, the Viterbi algorithm, and plotting the classified 2-D data. Some of the functions in the package are based on those of the R package 'HiddenMarkov' by David Harte. This updated version has included an example dataset and R code examples to show how to transform the data into the objects needed in the main functions. We have also made changes to increase the speed of some of the functions.

Downloads

234

Last 30 days

19440th

543

Last 90 days

2.1K

Last year

Trend: +35.3% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ting",
                      family = "Wang",
                      role = c("aut", "cre"),
                      email = "ting.wang@otago.ac.nz"),
               person(given = "Wolfgang",
                      family = "Hayek",
                      role = "aut"),
               person(given = "Alexander",
                      family = "Pletzer",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ting",
                      family = "Wang",
                      role = c("aut", "cre"),
                      email = "ting.wang@otago.ac.nz"),
               person(given = "Wolfgang",
                      family = "Hayek",
                      role = "aut"),
               person(given = "Alexander",
                      family = "Pletzer",
                      role = "aut"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ting",
                      family = "Wang",
                      role = c("aut", "cre"),
                 
...[truncated]...
           person(given = "Wolfgang",
                      family = "Hayek",
                      role = "aut"),
               person(given = "Alexander",
                      family = "Pletzer",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Ting Wang <ting.wang@otago.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Ting",
                      family = "Wang",
                      role = c("aut", "cre"),
                 
...[truncated]...
           person(given = "Wolfgang",
                      family = "Hayek",
                      role = "aut"),
               person(given = "Alexander",
                      family = "Pletzer",
                      role = "aut"))
as necessary.

Dependency Network

Dependencies Reverse dependencies mvtnorm ellipse HMMextra0s

Version History

new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff Aug 2, 2021
new 1.0.0 Sep 16, 2018