get_ic_vals: Calculates the Information Criteria for a VAR, VARX, VARMA...

View source: R/information_criteria.R

get_ic_valsR Documentation

Calculates the Information Criteria for a VAR, VARX, VARMA model

Description

The number of non-zero coefficients are taken as the degrees of freedom. Use with care for VARMA.

Usage

get_ic_vals(mod, verbose = TRUE)

Arguments

mod

Model estimated Model estimated using sparseVAR, sparseVARX, or sparseVARMA

verbose

Should information about the optimal selection be printed?

Examples

dat <- simVAR(periods=200, k=2, p=5, decay = 0.01)
mod <- sparseVAR(Y=scale(dat$Y))
ics <- get_ic_vals(mod)

ineswilms/bigtime documentation built on Aug. 24, 2023, 6:57 a.m.