R/diagnostics.R
compute_vif.Rd
For each column j of X, regresses column j on the remaining columns (plus an intercept) and returns 1/(1 - R^2).
compute_vif(X, column_names = NULL)
Design matrix (without intercept).
Optional character vector of names.
Named numeric vector of VIFs.