Skip to main content

build.vif()

Variance inflation factors: 1 / (1 - R²) of each column on a constant and the others.

Usage

Source

build.vif(X)

R² is centred, as in statsmodels’ variance_inflation_factor on a design with a constant. A column the others explain exactly has an infinite VIF.