CRAN/E | BCT

BCT

Bayesian Context Trees for Discrete Time Series

Installation

About

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

System requirements C++11

Key Metrics

Version 1.2
R ≥ 4.0
Published 2022-05-12 715 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks BCT results

Downloads

Yesterday 9 0%
Last 7 days 32 -53%
Last 30 days 223 -6%
Last 90 days 648 -25%
Last 365 days 2.859 +1%

Maintainer

Maintainer

Valentinian Mihai Lungu

valentinian.mihai@gmail.com

Authors

Ioannis Papageorgiou
Valentinian Mihai Lungu
Ioannis Kontoyiannis

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

BCT archive

Depends

R ≥ 4.0

Imports

Rcpp ≥ 1.0.5
stringr
igraph
grDevices
graphics

LinkingTo

Rcpp