This function computes AIC, FPE, BIC, and HQ up to p = lag_max
of VAR model.
Arguments
- y
Time series data of which columns indicate the variables
- lag_max
Maximum Var lag to explore (default = 5)
- include_mean
Add constant term (Default:
TRUE
) or not (FALSE
)- parallel
Parallel computation using
foreach::foreach()
? By default,FALSE
.