When to use it
Use when evaluating multiple regression models with correlated predictors.
Required Inputs
- Predictor matrix X
- Target variable Y
Calculate Variance Inflation Factor (VIF) and Tolerance to detect multicollinearity among predictors in multiple linear regression models.
Run this test live in StatLab npm i @statlab/coreUse when evaluating multiple regression models with correlated predictors.
VIF_j = 1 / (1 - R_j²)
from statsmodels.stats.outliers_influence import variance_inflation_factor
vif = [variance_inflation_factor(X.values, i) for i in range(X.shape[1])]
print(vif)
library(car)
vif(lm_model)
import { calcVif } from '@statlab/core';
const vifArr = calcVif(xMatrix);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.