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:
maxlagsint

if None, defaults to 12 * (nobs/100.)**(1./4)

trendstr {“n”, “c”, “ct”, “ctt”}
  • “n” - no deterministic terms

  • “c” - constant term

  • “ct” - constant and linear term

  • “ctt” - constant, linear, and quadratic term

Returns:
selectionsLagOrderResults

Last update: Dec 16, 2024