IDEAS home Printed from https://ideas.repec.org/a/gam/jijerp/v11y2014i3p2741-2763d33778.html
   My bibliography  Save this article

Clustering Multivariate Time Series Using Hidden Markov Models

Author

Listed:
  • Shima Ghassempour

    (School of Computing, Engineering and Mathematics, University of Western Sydney, Campbelltown, NSW 2751 , Australia
    Centre for Health Research, University of Western Sydney, Campbelltown, NSW 2751 , Australia)

  • Federico Girosi

    (Centre for Health Research, University of Western Sydney, Campbelltown, NSW 2751 , Australia)

  • Anthony Maeder

    (School of Computing, Engineering and Mathematics, University of Western Sydney, Campbelltown, NSW 2751 , Australia
    Centre for Health Research, University of Western Sydney, Campbelltown, NSW 2751 , Australia)

Abstract

In this paper we describe an algorithm for clustering multivariate time series with variables taking both categorical and continuous values. Time series of this type are frequent in health care, where they represent the health trajectories of individuals. The problem is challenging because categorical variables make it difficult to define a meaningful distance between trajectories. We propose an approach based on Hidden Markov Models (HMMs), where we first map each trajectory into an HMM, then define a suitable distance between HMMs and finally proceed to cluster the HMMs with a method based on a distance matrix. We test our approach on a simulated, but realistic, data set of 1,255 trajectories of individuals of age 45 and over, on a synthetic validation set with known clustering structure, and on a smaller set of 268 trajectories extracted from the longitudinal Health and Retirement Survey. The proposed method can be implemented quite simply using standard packages in R and Matlab and may be a good candidate for solving the difficult problem of clustering multivariate time series with categorical variables using tools that do not require advanced statistic knowledge, and therefore are accessible to a wide range of researchers.

Suggested Citation

  • Shima Ghassempour & Federico Girosi & Anthony Maeder, 2014. "Clustering Multivariate Time Series Using Hidden Markov Models," IJERPH, MDPI, vol. 11(3), pages 1-23, March.
  • Handle: RePEc:gam:jijerp:v:11:y:2014:i:3:p:2741-2763:d:33778
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1660-4601/11/3/2741/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1660-4601/11/3/2741/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jeng‐Min Chiou & Pai‐Ling Li, 2007. "Functional clustering and identifying substructures of longitudinal data," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 69(4), pages 679-699, September.
    2. Konrad Banachewicz & André Lucas & Aad van der Vaart, 2008. "Modelling Portfolio Defaults Using Hidden Markov Models with Covariates," Econometrics Journal, Royal Economic Society, vol. 11(1), pages 155-171, March.
    3. Visser, Ingmar & Speekenbrink, Maarten, 2010. "depmixS4: An R Package for Hidden Markov Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i07).
    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. Yaqi Liu & Xiaoyuan Wang, 2020. "Differences in Driving Intention Transitions Caused by Driver’s Emotion Evolutions," IJERPH, MDPI, vol. 17(19), pages 1-22, September.
    2. Pavel S. Stashevsky & Irina N. Yakovina & Tania M. Alarcon Falconi & Elena N. Naumova, 2019. "Agglomerative Clustering of Enteric Infections and Weather Parameters to Identify Seasonal Outbreaks in Cold Climates," IJERPH, MDPI, vol. 16(12), pages 1-19, June.

    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. Li, Pai-Ling & Chiou, Jeng-Min, 2011. "Identifying cluster number for subspace projected functional data clustering," Computational Statistics & Data Analysis, Elsevier, vol. 55(6), pages 2090-2103, June.
    2. Yaeji Lim & Hee-Seok Oh & Ying Kuen Cheung, 2019. "Multiscale Clustering for Functional Data," Journal of Classification, Springer;The Classification Society, vol. 36(2), pages 368-391, July.
    3. Li, Pai-Ling & Chiou, Jeng-Min & Shyr, Yu, 2017. "Functional data classification using covariate-adjusted subspace projection," Computational Statistics & Data Analysis, Elsevier, vol. 115(C), pages 21-34.
    4. Poskitt, D.S. & Sengarapillai, Arivalzahan, 2013. "Description length and dimensionality reduction in functional data analysis," Computational Statistics & Data Analysis, Elsevier, vol. 58(C), pages 98-113.
    5. Spezia, L. & Cooksley, S.L. & Brewer, M.J. & Donnelly, D. & Tree, A., 2014. "Modelling species abundance in a river by Negative Binomial hidden Markov models," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 599-614.
    6. Sylvia Frühwirth‐Schnatter & Christoph Pamminger & Andrea Weber & Rudolf Winter‐Ebmer, 2012. "Labor market entry and earnings dynamics: Bayesian inference using mixtures‐of‐experts Markov chain clustering," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(7), pages 1116-1137, November.
    7. Denis S Willett & Justin George & Nora S Willett & Lukasz L Stelinski & Stephen L Lapointe, 2016. "Machine Learning for Characterization of Insect Vector Feeding," PLOS Computational Biology, Public Library of Science, vol. 12(11), pages 1-14, November.
    8. Yao-Zhi Xu & Jian-Lin Zhang & Ying Hua & Lin-Yue Wang, 2019. "Dynamic Credit Risk Evaluation Method for E-Commerce Sellers Based on a Hybrid Artificial Intelligence Model," Sustainability, MDPI, vol. 11(19), pages 1-17, October.
    9. Davey, Calum & Dirawo, Jeffrey & Mushati, Phillis & Magutshwa, Sitholubuhle & Hargreaves, James R. & Cowan, Frances M., 2019. "Mobility and sex work: why, where, when? A typology of female-sex-worker mobility in Zimbabwe," Social Science & Medicine, Elsevier, vol. 220(C), pages 322-330.
    10. Georges Dionne & Amir Saissi Hassani, 2015. "Endogenous Hidden Markov Regimes in Operational Loss Data: Application to the Recent Financial Crisis," Cahiers de recherche 1516, CIRPEE.
    11. Elliott, Robert J. & Chen, Zhiping & Duan, Qihong, 2009. "Insurance claims modulated by a hidden Brownian marked point process," Insurance: Mathematics and Economics, Elsevier, vol. 45(2), pages 163-172, October.
    12. Dimitris Gavalas & Theodore Syriopoulos, 2014. "Bank Credit Risk Management and Migration Analysis; Conditioning Transition Matrices on the Stage of the Business Cycle," International Advances in Economic Research, Springer;International Atlantic Economic Society, vol. 20(2), pages 151-166, May.
    13. Rob Hayward & Jens Hölscher, 2017. "The Forward-Discount Puzzle in Central and Eastern Europe," Comparative Economic Studies, Palgrave Macmillan;Association for Comparative Economic Studies, vol. 59(4), pages 472-497, December.
    14. Cody Carroll & Hans‐Georg Müller, 2023. "Latent deformation models for multivariate functional data and time‐warping separability," Biometrics, The International Biometric Society, vol. 79(4), pages 3345-3358, December.
    15. Fang, Kuangnan & Chen, Yuanxing & Ma, Shuangge & Zhang, Qingzhao, 2022. "Biclustering analysis of functionals via penalized fusion," Journal of Multivariate Analysis, Elsevier, vol. 189(C).
    16. 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.
    17. Wu, Zizhen & Hitchcock, David B., 2016. "A Bayesian method for simultaneous registration and clustering of functional observations," Computational Statistics & Data Analysis, Elsevier, vol. 101(C), pages 121-136.
    18. Ja‐Yoon Jang & Hee‐Seok Oh & Yaeji Lim & Ying Kuen Cheung, 2021. "Ensemble clustering for step data via binning," Biometrics, The International Biometric Society, vol. 77(1), pages 293-304, March.
    19. Ahmet Akca & Ethem Çanakoğlu, 2021. "Adaptive stochastic risk estimation of firm operating profit," Economia e Politica Industriale: Journal of Industrial and Business Economics, Springer;Associazione Amici di Economia e Politica Industriale, vol. 48(3), pages 463-504, September.
    20. Stefan Kerbl & Michael Sigmund, 2011. "What Drives Aggregate Credit Risk?," Financial Stability Report, Oesterreichische Nationalbank (Austrian Central Bank), issue 22, pages 72-87.

    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:gam:jijerp:v:11:y:2014:i:3:p:2741-2763:d:33778. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.