Other packages > Find by keyword >

BCT  

Bayesian Context Trees for Discrete Time Series
View on CRAN: Click here


Download and install BCT package within the R console
Install from CRAN:
install.packages("BCT")

Install from Github:
library("remotes")
install_github("cran/BCT")

Install by package version:
library("remotes")
install_version("BCT", "1.3")



Attach the package and use:
library("BCT")
Maintained by
Valentinian Mihai Lungu
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-11-23
Latest Update: 2022-05-12
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: [stat.ME], July 2020] and [Lungu et al. 'Change-point Detection and Segmentation of Discrete Data using Bayesian Context Trees' [stat.ME], March 2022].
How to cite:
Valentinian Mihai Lungu (2020). BCT: Bayesian Context Trees for Discrete Time Series. R package version 1.3, https://cran.r-project.org/web/packages/BCT. Accessed 18 Sep. 2026.
Previous versions and publish date:
1.0 (2020-11-23 10:20), 1.1 (2020-12-07 23:30), 1.2 (2022-05-12 16:00), (2026-07-09 07:57)
Other packages that cited BCT R package
View BCT citation profile
Other R packages that BCT depends, imports, suggests or enhances
Complete documentation for BCT
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA