<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>Bayesian Context Trees for Discrete Time Series</dc:title>
  <dc:title>R package BCT version 1.3</dc:title>
  <dc:description>An implementation of a collection of tools for exact Bayesian inference with discrete times series. This package contains functions that can be used for prediction, model selection, estimation, segmentation/change-point detection and other statistical tasks. Specifically, the functions provided can be used for the exact computation of the prior predictive likelihood of the data, for the identification of the a posteriori most likely (MAP) variable-memory Markov models, for calculating the exact posterior probabilities and the AIC and BIC scores of these models, for prediction with respect to log-loss and 0-1 loss and segmentation/change-point detection. Example data sets from finance, genetics, animal communication and meteorology are also provided. Detailed descriptions of the underlying theory and algorithms can be found in [Kontoyiannis et al. 'Bayesian Context Trees: Modelling and exact inference for discrete time series.' Journal of the Royal Statistical Society: Series B (Statistical Methodology), April 2022. Available at: &lt;doi:10.48550/arXiv.2007.14900&gt; [stat.ME], July 2020] and [Lungu et al. 'Change-point Detection and Segmentation of Discrete Data using Bayesian Context Trees' &lt;doi:10.48550/arXiv.2203.04341&gt; [stat.ME], March 2022]. </dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 4.0)</dc:relation>
  <dc:relation>Imports: Rcpp (&gt;= 1.0.5), stringr, igraph, grDevices, graphics</dc:relation>
  <dc:relation>LinkingTo: Rcpp</dc:relation>
  <dc:creator>Valentinian Mihai Lungu &lt;valentinian.mihai@gmail.com&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Ioannis Papageorgiou [aut],
  Valentinian Mihai Lungu [aut, cre],
  Ioannis Kontoyiannis [aut]</dc:contributor>
  <dc:rights>GPL (&gt;= 2)</dc:rights>
  <dc:date>2026-08-03</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=BCT</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.BCT</dc:identifier>
</oai_dc:dc>
