English

Bayesian Context Trees: Modelling and exact inference for discrete time series

Methodology 2022-02-08 v3 Information Theory math.IT Applications Computation

Abstract

We develop a new Bayesian modelling framework for the class of higher-order, variable-memory Markov chains, and introduce an associated collection of methodological tools for exact inference with discrete time series. We show that a version of the context tree weighting algorithm can compute the prior predictive likelihood exactly (averaged over both models and parameters), and two related algorithms are introduced, which identify the a posteriori most likely models and compute their exact posterior probabilities. All three algorithms are deterministic and have linear-time complexity. A family of variable-dimension Markov chain Monte Carlo samplers is also provided, facilitating further exploration of the posterior. The performance of the proposed methods in model selection, Markov order estimation and prediction is illustrated through simulation experiments and real-world applications with data from finance, genetics, neuroscience, and animal communication. The associated algorithms are implemented in the R package BCT.

Keywords

Cite

@article{arxiv.2007.14900,
  title  = {Bayesian Context Trees: Modelling and exact inference for discrete time series},
  author = {Ioannis Kontoyiannis and Lambros Mertzanis and Athina Panotopoulou and Ioannis Papageorgiou and Maria Skoularidou},
  journal= {arXiv preprint arXiv:2007.14900},
  year   = {2022}
}

Comments

53 pages, 22 figures, small stylistic changes. The associated R package "BCT" is available at CRAN.R-project.org/package=BCT

R2 v1 2026-06-23T17:29:49.326Z