Learn R Programming

VLMCX (version 1.0)

Variable Length Markov Chain with Exogenous Covariates

Description

Models categorical time series through a Markov Chain when a) covariates are predictors for transitioning into the next state/symbol and b) when the dependence in the past states has variable length. The probability of transitioning to the next state in the Markov Chain is defined by a multinomial regression whose parameters depend on the past states of the chain and, moreover, the number of states in the past needed to predict the next state also depends on the observed states themselves. See Zambom, Kim, and Garcia (2022) .

Copy Link

Version

Install

install.packages('VLMCX')

Monthly Downloads

98

Version

1.0

License

GPL (>= 2)

Maintainer

Adriano Zanin Zambom

Last Published

February 8th, 2024

Functions in VLMCX (1.0)

predict

Prediction of the next state of the Markov Chain/Categorical Time series
context.algorithm

Context Algorithm using exogenous covariates
BIC

Bayesian Information Criteria for for VLMCX objects that compose Variable Length Markov Chains with Exogenous Covariates
coef

Coefficients from a Variable Length Markov Chain with Exogenous Covariates
draw

Draw the Variable Length Markov Chain estimated model
LogLik

Log Likelihood for Variable Length Markov Chains with Exopgenous Covariates
AIC

Akaike Information Criteria for VLMCX objects that compose Variable Length Markov Chains with Exogenous Covariates
VLMCX

Variable Length Markov Chain with Exogenous Covariates
maximum.context

Maximum Context Tree
estimate

Estimation of Variable Length Markov Chain with Exogenous Covariates
simulate

Simulate a Variable Length Markov Chain with Exogenous covariates