statsmodels.regression.linear_model.OLSResults.aic

method

OLSResults.aic()

Akaike’s information criteria. For a model with a constant \(-2llf + 2(df\_model + 1)\). For a model without a constant \(-2llf + 2(df\_model)\).