statsmodels.tsa.vector_ar.var_model.VAR.select_order#
- VAR.select_order(maxlags=None, trend='c')[source]#
Compute lag order selections based on each of the available information criteria
- Parameters:
- maxlags
int,optional if None, defaults to 12 * (nobs/100.)**(1./4)
- trend{“n”, “c”, “ct”, “ctt”},
optional “n” - no deterministic terms
“c” - constant term
“ct” - constant and linear term
“ctt” - constant, linear, and quadratic term
- maxlags
- Returns:
- selections
LagOrderResults
- selections