I\'m calculating variance inflation factors
from patsy import dmatrices from statsmodels.stats.outliers_influence import variance_inflation_factor y, X = dmat