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) – if None, defaults to 12 * (nobs/100.)**(1./4)

  • trend (str {"n", "c", "ct", "ctt"}) –

    • “n” - no deterministic terms

    • ”c” - constant term

    • ”ct” - constant and linear term

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

Returns:

selections

Return type:

LagOrderResults