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.

Version: | 1.1.0 |

Depends: | methods |

Imports: | mvtnorm, ellipse |

Suggests: | HiddenMarkov |

Published: | 2021-08-03 |

Author: | Ting Wang, Wolfgang Hayek, and Alexander Pletzer |

Maintainer: | Ting Wang <ting.wang at otago.ac.nz> |

License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |

URL: | https://www.stats.otago.ac.nz/?people=ting_wang |

NeedsCompilation: | yes |

CRAN checks: | HMMextra0s results |

Reference manual: | HMMextra0s.pdf |

Package source: | HMMextra0s_1.1.0.tar.gz |

Windows binaries: | r-devel: HMMextra0s_1.1.0.zip, r-devel-UCRT: HMMextra0s_1.1.0.zip, r-release: HMMextra0s_1.1.0.zip, r-oldrel: HMMextra0s_1.1.0.zip |

macOS binaries: | r-release (arm64): HMMextra0s_1.1.0.tgz, r-release (x86_64): HMMextra0s_1.1.0.tgz, r-oldrel: HMMextra0s_1.1.0.tgz |

Old sources: | HMMextra0s archive |

Please use the canonical form
`https://CRAN.R-project.org/package=HMMextra0s`
to link to this page.