Clustering multivariate time series using Hidden Markov Models

Int J Environ Res Public Health. 2014 Mar 6;11(3):2741-63. doi: 10.3390/ijerph110302741.

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.

Publication types

  • Validation Study

MeSH terms

  • Algorithms
  • Cluster Analysis*
  • Delivery of Health Care / statistics & numerical data*
  • Humans
  • Markov Chains*
  • Models, Statistical*
  • Multivariate Analysis*