vifx: Variance Inflation Factor for a Design Matrix

Description Usage Arguments Details Value Author(s) References Examples

View source: R/vifx.R

Description

Barplot of the VIF is produced

Usage

1
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

1
2

Example output

Loading required package: leaps
      PREC       JANT       JULT      OVR65       POPN       EDUC       HOUS 
  4.113888   6.143551   3.967774   7.470045   4.307618   4.860538   3.994781 
      DENS       NONW      WWDRK       POOR         HC        NOX        SOx 
  1.658281   6.779599   2.841582   8.717068  98.639935 104.982405   4.228929 
     HUMID 
  1.907092 

bestglm documentation built on March 26, 2020, 7:25 p.m.