powered by
Barplot of the VIF is produced
vifx(X)
A design matrix
vector with VIF's
The VIF are the diagonal elements in the inverse \(t(X*) X*\), where X* is the rescaled design matrix.
Marquardt, D. W. (1970). Generalized Inverses, Ridge Regression, Biased Linear Estimation, and Nonlinear Estimation. Technometrics 12(3), 591-612.
# NOT RUN { data(mcdonald) vifx(mcdonald[, -ncol(mcdonald)]) # }
Run the code above in your browser using DataLab