mixvlmc: Variable Length Markov Chains with Covariates

Estimates Variable Length Markov Chains (VLMC) and VLMC with covariates from discrete sequences. Supports model selection via information criteria, likelihood computation, prediction and simulation of new sequences from an estimated model. See Bühlmann, P. and Wyner, A. J. (1999) <doi:10.1214/aos/1018031204> for VLMC and Zanin Zambom, A., Kim, S. and Lopes Garcia, N. (2022) <doi:10.1111/jtsa.12615> for VLMC with covariates.

Version: 0.3.1
Depends: R (≥ 4.1.0)
Imports: assertthat, butcher, cli, lifecycle (≥ 1.0.3), methods, nnet, pROC, Rcpp (≥ 1.0.8.3), rlang (≥ 1.0.0), stats, stringr, VGAM, withr, xtable
LinkingTo: Rcpp
Suggests: data.table, foreach, geodist, ggplot2, knitr, rmarkdown, testthat (≥ 3.0.0), tibble, vdiffr, waldo
Published: 2026-11-27
DOI: 10.32614/CRAN.package.mixvlmc
Author: Fabrice Rossi ORCID iD [aut, cre, cph], Hugo Le Picard ORCID iD [ctb], Guénolé Joubioux [ctb]
Maintainer: Fabrice Rossi <Fabrice.Rossi at apiacoa.org>
BugReports: https://github.com/fabrice-rossi/mixvlmc/issues
License: GPL (≥ 3)
URL: https://github.com/fabrice-rossi/mixvlmc, https://fabrice-rossi.github.io/mixvlmc/
NeedsCompilation: yes
Language: en-GB
Materials: README, NEWS
CRAN checks: mixvlmc results

Documentation:

Reference manual: mixvlmc.html , mixvlmc.pdf
Vignettes: Context trees (source, R code)
Variable Length Markov Chains with Covariates (COVLMC) (source, R code)
Discrete time series and contexts of models (source, R code)
Likelihood calculation (source, R code)
Model selection in practice (source, R code)
Predicting with (CO)VLMC (source, R code)
Sampling from (CO)VLMC (source, R code)
Variable length Markov chains (VLMC) (source, R code)

Downloads:

Package source: mixvlmc_0.3.1.tar.gz
Windows binaries: r-devel: mixvlmc_0.2.2.zip, r-release: mixvlmc_0.2.2.zip, r-oldrel: mixvlmc_0.2.2.zip
macOS binaries: r-release (arm64): mixvlmc_0.2.2.tgz, r-oldrel (arm64): mixvlmc_0.2.2.tgz, r-release (x86_64): mixvlmc_0.2.2.tgz, r-oldrel (x86_64): mixvlmc_0.2.2.tgz
Old sources: mixvlmc archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mixvlmc to link to this page.