Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vifx

Variance Inflation Factor for a Design Matrix


Description

Barplot of the VIF is produced

Usage

vifx(X)

Arguments

X

A design matrix

Details

The VIF are the diagonal elements in the inverse t(X*) X*, where X* is the rescaled design matrix.

Value

vector with VIF's

Author(s)

A. I. McLeod

References

Marquardt, D. W. (1970). Generalized Inverses, Ridge Regression, Biased Linear Estimation, and Nonlinear Estimation. Technometrics 12(3), 591-612.

Examples

data(mcdonald)
vifx(mcdonald[, -ncol(mcdonald)])

bestglm

Best Subset GLM and Regression Utilities

v0.37.3
GPL (>= 2)
Authors
A.I. McLeod, Changjiang Xu and Yuanhao Lai
Initial release
2020-03-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.