depictr.vif_plot#

depictr.vif_plot(model, title=None)#

Horizontal bar chart of the variance inflation factor per predictor.

The variance inflation factor (VIF) measures how much a coefficient’s variance is inflated by collinearity with the other predictors. A VIF of 1 means no collinearity; the reference line sits at 5, a common threshold above which collinearity is usually treated as a concern. The intercept is dropped, as its VIF is not interpretable in the usual way.

Parameters:
  • model (statsmodels results object) – A fitted OLS/GLM result with a design matrix of two or more predictors.

  • title (str, optional) – Plot title.

Return type:

plotnine.ggplot