Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Analyzing State Sequences with Probabilistic Suffix Trees: The PST R Package | Gabadinho | Journal of Statistical Software
Authors: Alexis Gabadinho, Gilbert Ritschard
Title: Analyzing State Sequences with Probabilistic Suffix Trees: The PST R Package
Abstract: This article presents the PST R package for categorical sequence analysis with probabilistic suffix trees (PSTs), i.e., structures that store variable-length Markov chains (VLMCs). VLMCs allow to model high-order dependencies in categorical sequences with parsimonious models based on simple estimation procedures. The package is specifically adapted to the field of social sciences, as it allows for VLMC models to be learned from sets of individual sequences possibly containing missing values; in addition, the package is extended to account for case weights. This article describes how a VLMC model is learned from one or more categorical sequences and stored in a PST. The PST can then be used for sequence prediction, i.e., to assign a probability to whole observed or artificial sequences. This feature supports data mining applications such as the extraction of typical patterns and outliers. This article also introduces original visualization tools for both the model and the outcomes of sequence prediction. Other features such as functions for pattern mining and artificial sequence generation are described as well. The PST package also allows for the computation of probabilistic divergence between two models and the fitting of segmented VLMCs, where sub-models fitted to distinct strata of the learning sample are stored in a single PST.

Page views:: 1331. Submitted: 2012-11-13. Published: 2016-08-16.
Paper: Analyzing State Sequences with Probabilistic Suffix Trees: The PST R Package     Download PDF (Downloads: 1022)
Supplements:
PST_0.90.tar.gz: R source package Download (Downloads: 53; 82KB)
v72i03.R: R replication code Download (Downloads: 59; 21KB)

DOI: 10.18637/jss.v072.i03

by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.