Use this function to extract AR, MA, intercept, and exogenous coefficients from the VARMA estimation.
get.varma.params(
coef,
numAR = 1,
numMA = 0,
numExo = 0,
intercept = TRUE,
numAR_s = 0,
numMA_s = 0,
numSeasons = 1
)A list with the following items:
arList: A list containing the AR coefficients for each lag.
intercept: A numeric vector of length numEq containing the intercept, or NULL if intercept = FALSE.
exoCoef: A matrix of dimensions numEq x numExo containing the exogenous coefficients, or NULL if numExo = 0.
maList: A list containing the MA coefficients for each lag.
A matrix of coefficients with dimensions numEq x numAR * numEq + numMA * numEq + numExo + ifelse(intercept, 1, 0).
A non-negative integer scalar specifying the number of AR lags.
A non-negative integer scalar specifying the number of MA lags.
A non-negative integer scalar specifying the number of exogenous variables.
A logical scalar indicating whether an intercept is included in the model.
A non-negative integer scalar specifying the number of seasonal AR lags.
A non-negative integer scalar specifying the number of seasonal MA lags.
A non-negative integer scalar specifying the number of seasons.
estim.varma
# see 'search.varma' or 'estim.varma' functions.
Run the code above in your browser using DataLab