# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "bacontrees" in publications use:' type: software license: GPL-3.0-or-later title: 'bacontrees: Bayesian Context Trees for Discrete Sequence Data' version: 1.0.0 doi: 10.32614/CRAN.package.bacontrees abstract: Models discrete sequential data using Bayesian Context Trees. Context trees, also known as Variable Length Markov Chains (VLMCs), are parsimonious Markov models where the order of dependence can vary with the observed past. Provides a generic 'R6' class structure that exposes the full tree for building custom algorithms, exact Bayesian inference via a bottom-up recursive algorithm (closed-form marginal likelihood, Maximum A Posteriori (MAP) tree, exact posterior probabilities, and exact sampling from the posterior), a frequentist estimator via the context algorithm with likelihood-ratio pruning, simulation utilities, and a Metropolis-Hastings sampler. See Paulichen and Freguglia (2026) . authors: - family-names: Freguglia given-names: Victor email: victorfreguglia@gmail.com orcid: https://orcid.org/0000-0002-6189-4453 repository: https://freguglia.r-universe.dev commit: 01e9bbbdc206491d9485ce134c1332d78f5362c9 date-released: '2026-05-07' contact: - family-names: Freguglia given-names: Victor email: victorfreguglia@gmail.com orcid: https://orcid.org/0000-0002-6189-4453