Package: HMMextra0s 1.1.0

Ting Wang

HMMextra0s: Hidden Markov Models with Extra Zeros

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.

Authors:Ting Wang, Wolfgang Hayek, and Alexander Pletzer

HMMextra0s_1.1.0.tar.gz
HMMextra0s_1.1.0.tar.gz(r-4.5-noble)HMMextra0s_1.1.0.tar.gz(r-4.4-noble)
HMMextra0s_1.1.0.tgz(r-4.4-emscripten)HMMextra0s_1.1.0.tgz(r-4.3-emscripten)
HMMextra0s.pdf |HMMextra0s.html
HMMextra0s/json (API)

# Install 'HMMextra0s' in R:
install.packages('HMMextra0s', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • Kii - Tremor data in the Kii region in 2002 and 2003 for use in function hmm0norm2d

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

9 exports 0.00 score 2 dependencies 9 scripts 149 downloads

Last updated 3 years agofrom:9f95d60c0d. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-linux-x86_64OKAug 20 2024

Exports:cumdist.hmm0normhmm0normhmm0norm2dplotVitloc2dplotVitpath2dsim.hmm0normsim.hmm0norm2dViterbi.hmm0normViterbi.hmm0norm2d

Dependencies:ellipsemvtnorm