IDEAS home Printed from https://ideas.repec.org/a/eee/csdana/v54y2010i3p611-619.html
   My bibliography  Save this article

hsmm -- An R package for analyzing hidden semi-Markov models

Author

Listed:
  • Bulla, Jan
  • Bulla, Ingo
  • Nenadic, Oleg

Abstract

Hidden semi-Markov models are a generalization of the well-known hidden Markov model. They allow for a greater flexibility of sojourn time distributions, which implicitly follow a geometric distribution in the case of a hidden Markov chain. The aim of this paper is to describe hsmm, a new software package for the statistical computing environment R. This package allows for the simulation and maximum likelihood estimation of hidden semi-Markov models. The implemented Expectation Maximization algorithm assumes that the time spent in the last visited state is subject to right-censoring. It is therefore not subject to the common limitation that the last visited state terminates at the last observation. Additionally, hsmm permits the user to make inferences about the underlying state sequence via the Viterbi algorithm and smoothing probabilities.

Suggested Citation

  • Bulla, Jan & Bulla, Ingo & Nenadic, Oleg, 2010. "hsmm -- An R package for analyzing hidden semi-Markov models," Computational Statistics & Data Analysis, Elsevier, vol. 54(3), pages 611-619, March.
  • Handle: RePEc:eee:csdana:v:54:y:2010:i:3:p:611-619
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0167-9473(08)00426-X
    Download Restriction: Full text for ScienceDirect subscribers only.
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Bulla, Jan & Bulla, Ingo, 2006. "Stylized facts of financial time series and hidden semi-Markov models," Computational Statistics & Data Analysis, Elsevier, vol. 51(4), pages 2192-2209, December.
    2. Bulla, Jan, 2006. "Application of Hidden Markov Models and Hidden Semi-Markov Models to Financial Time Series," MPRA Paper 7675, University Library of Munich, Germany.
    3. Jan Bulla & Andreas Berzel, 2008. "Computational issues in parameter estimation for stationary hidden Markov models," Computational Statistics, Springer, vol. 23(1), pages 1-18, January.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Shi, Yue & Punzo, Antonio & Otneim, Håkon & Maruotti, Antonello, 2023. "Hidden semi-Markov models for rainfall-related insurance claims," Discussion Papers 2023/17, Norwegian School of Economics, Department of Business and Management Science.
    2. Valeriy Zakamulin, 2023. "Not all bull and bear markets are alike: insights from a five-state hidden semi-Markov model," Risk Management, Palgrave Macmillan, vol. 25(1), pages 1-25, March.
    3. Pohle, Jennifer & Adam, Timo & Beumer, Larissa T., 2022. "Flexible estimation of the state dwell-time distribution in hidden semi-Markov models," Computational Statistics & Data Analysis, Elsevier, vol. 172(C).
    4. Maruotti, Antonello & Petrella, Lea & Sposito, Luca, 2021. "Hidden semi-Markov-switching quantile regression for time series," Computational Statistics & Data Analysis, Elsevier, vol. 159(C).
    5. C. E. Pertsinidou & G. Tsaklidis & E. Papadimitriou & N. Limnios, 2017. "Application of hidden semi-Markov models for the seismic hazard assessment of the North and South Aegean Sea, Greece," Journal of Applied Statistics, Taylor & Francis Journals, vol. 44(6), pages 1064-1085, April.
    6. O'Connell, Jared & Højsgaard, Søren, 2011. "Hidden Semi Markov Models for Multiple Observation Sequences: The mhsmm Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 39(i04).
    7. Morteza Amini & Afarin Bayat & Reza Salehian, 2023. "hhsmm: an R package for hidden hybrid Markov/semi-Markov models," Computational Statistics, Springer, vol. 38(3), pages 1283-1335, September.
    8. Ting Wang & Jiancang Zhuang & Kazushige Obara & Hiroshi Tsuruoka, 2017. "Hidden Markov modelling of sparse time series from non-volcanic tremor observations," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 66(4), pages 691-715, August.
    9. Andriyas, Sanyogita & McKee, Mac, 2014. "Exploring irrigation behavior at Delta, Utah using hidden Markov models," Agricultural Water Management, Elsevier, vol. 143(C), pages 48-58.
    10. Hammer, Hugo & Tjelmeland, Håkon, 2011. "Approximate forward-backward algorithm for a switching linear Gaussian model," Computational Statistics & Data Analysis, Elsevier, vol. 55(1), pages 154-167, January.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Roland Langrock & Timo Adam & Vianey Leos‐Barajas & Sina Mews & David L. Miller & Yannis P. Papastamatiou, 2018. "Spline‐based nonparametric inference in general state‐switching models," Statistica Neerlandica, Netherlands Society for Statistics and Operations Research, vol. 72(3), pages 179-200, August.
    2. Wang, Ting & Bebbington, Mark, 2013. "Identifying anomalous signals in GPS data using HMMs: An increased likelihood of earthquakes?," Computational Statistics & Data Analysis, Elsevier, vol. 58(C), pages 27-44.
    3. Maruotti, Antonello & Petrella, Lea & Sposito, Luca, 2021. "Hidden semi-Markov-switching quantile regression for time series," Computational Statistics & Data Analysis, Elsevier, vol. 159(C).
    4. Jan Bulla & Sascha Mergner & Ingo Bulla & André Sesboüé & Christophe Chesneau, 2011. "Markov-switching asset allocation: Do profitable strategies exist?," Journal of Asset Management, Palgrave Macmillan, vol. 12(5), pages 310-321, November.
    5. Milan Kumar Das & Anindya Goswami, 2019. "Testing of binary regime switching models using squeeze duration analysis," International Journal of Financial Engineering (IJFE), World Scientific Publishing Co. Pte. Ltd., vol. 6(01), pages 1-20, March.
    6. Vlad Stefan Barbu & Guglielmo D’Amico & Thomas Gkelsinis, 2021. "Sequential Interval Reliability for Discrete-Time Homogeneous Semi-Markov Repairable Systems," Mathematics, MDPI, vol. 9(16), pages 1-18, August.
    7. Jan Bulla, 2010. "Hidden Markov models with t components. Increased persistence and other aspects," Quantitative Finance, Taylor & Francis Journals, vol. 11(3), pages 459-475.
    8. Kunal Saha & Vinodh Madhavan & Chandrashekhar G. R. & David McMillan, 2020. "Pitfalls in long memory research," Cogent Economics & Finance, Taylor & Francis Journals, vol. 8(1), pages 1733280-173, January.
    9. Andrea Arfè & Stefano Peluso & Pietro Muliere, 2021. "The semi-Markov beta-Stacy process: a Bayesian non-parametric prior for semi-Markov processes," Statistical Inference for Stochastic Processes, Springer, vol. 24(1), pages 1-15, April.
    10. Guglielmo D'Amico & Filippo Petroni, 2020. "A micro-to-macro approach to returns, volumes and waiting times," Papers 2007.06262, arXiv.org.
    11. Milan Kumar Das & Anindya Goswami & Sharan Rajani, 2019. "Inference of Binary Regime Models with Jump Discontinuities," Papers 1910.10606, arXiv.org, revised Mar 2022.
    12. Gallo, Giampiero M. & Otranto, Edoardo, 2008. "Volatility spillovers, interdependence and comovements: A Markov Switching approach," Computational Statistics & Data Analysis, Elsevier, vol. 52(6), pages 3011-3026, February.
    13. Milan Kumar Das & Anindya Goswami, 2018. "Testing of Binary Regime Switching Models using Squeeze Duration Analysis," Papers 1807.04393, arXiv.org, revised Aug 2018.
    14. Antonello Maruotti & Antonio Punzo, 2021. "Initialization of Hidden Markov and Semi‐Markov Models: A Critical Evaluation of Several Strategies," International Statistical Review, International Statistical Institute, vol. 89(3), pages 447-480, December.
    15. Haas Markus, 2010. "Skew-Normal Mixture and Markov-Switching GARCH Processes," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 14(4), pages 1-56, September.
    16. Elliott, Robert & Limnios, Nikolaos & Swishchuk, Anatoliy, 2013. "Filtering hidden semi-Markov chains," Statistics & Probability Letters, Elsevier, vol. 83(9), pages 2007-2014.
    17. Haas, Markus, 2009. "Persistence in volatility, conditional kurtosis, and the Taylor property in absolute value GARCH processes," Statistics & Probability Letters, Elsevier, vol. 79(15), pages 1674-1683, August.
    18. Bernardi, Mauro & Maruotti, Antonello & Petrella, Lea, 2017. "Multiple risk measures for multivariate dynamic heavy–tailed models," Journal of Empirical Finance, Elsevier, vol. 43(C), pages 1-32.
    19. Biswas, Arunangshu & Goswami, Anindya & Overbeck, Ludger, 2018. "Option pricing in a regime switching stochastic volatility model," Statistics & Probability Letters, Elsevier, vol. 138(C), pages 116-126.
    20. Arunangshu Biswas & Anindya Goswami & Ludger Overbeck, 2017. "Option Pricing in a Regime Switching Stochastic Volatility Model," Papers 1707.01237, arXiv.org, revised Jan 2018.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:csdana:v:54:y:2010:i:3:p:611-619. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/csda .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.