Selects the optimal penalty parameter using information criteria
ic_selection(mod, ic = c("bic", "aic", "hq"), verbose = FALSE)
Returns a model that uses the optimal penalty
Model estimated Model estimated using sparseVAR
,
sparseVARX
, or sparseVARMA
Which information criteria should be used. Must be one of
"bic"
, "aic"
or "hq"
If true, some useful information will be printed during the process