Package: BCT 1.3

BCT: Bayesian Context Trees for Discrete Time Series

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: <doi:10.48550/arXiv.2007.14900> [stat.ME], July 2020] and [Lungu et al. 'Change-point Detection and Segmentation of Discrete Data using Bayesian Context Trees' <doi:10.48550/arXiv.2203.04341> [stat.ME], March 2022].

Authors:Ioannis Papageorgiou [aut], Valentinian Mihai Lungu [aut, cre], Ioannis Kontoyiannis [aut]

BCT_1.3.tar.gz
BCT_1.3.zip(r-4.7-x86_64)BCT_1.3.zip(r-4.7-arm64)BCT_1.3.zip(r-4.6-x86_64)BCT_1.3.zip(r-4.6-arm64)BCT_1.3.zip(r-4.5-x86_64)
BCT_1.3.tgz(r-4.6-x86_64)BCT_1.3.tgz(r-4.6-arm64)BCT_1.3.tgz(r-4.5-x86_64)BCT_1.3.tgz(r-4.5-arm64)
BCT_1.3.tar.gz(r-4.7-arm64)BCT_1.3.tar.gz(r-4.7-x86_64)BCT_1.3.tar.gz(r-4.6-arm64)BCT_1.3.tar.gz(r-4.6-x86_64)
BCT_1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
BCT/json (API)

# Install 'BCT' in R:
install.packages('BCT', repos = c('https://valentinian22.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.00 score 9 scripts 380 downloads 51 mentions 17 exports 14 dependencies

Last updated from:7256534c16. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK91
linux-devel-x86_64OK115
source / vignettesOK171
linux-release-arm64OK97
linux-release-x86_64OK109
macos-release-arm64OK253
macos-release-x86_64OK266
macos-oldrel-arm64OK338
macos-oldrel-x86_64OK304
windows-devel-arm64OK324
windows-devel-x86_64OK130
windows-release-arm64OK314
windows-release-x86_64OK101
windows-oldrel-x86_64OK91
wasm-releaseOK90

Exports:BCTcalculate_exact_changepoint_posteriorcompute_countsCTWdraw_modelsgenerate_datainfer_fixed_changepointsinfer_unknown_changepointskBCTlog_lossMAP_parametersMLplot_changepoint_posteriorplot_individual_changepoint_posteriorpredictionshow_treezero_one_loss

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcpprlangstringistringrvctrs