SciencesPo (version 1.3.8)

vif: Variance Inflation Factor

Description

Extracts Variance Inflation Factor from a model of class lm

Usage

vif(model, ...)

Arguments

model
a model object
...
further arguments passed to or used by other methods.

Value

  • A numeric value indicating the variance inflation in the model #'

encoding

UTF-8

Examples

Run this code
data(mtcars)
m1 <- lm(mpg ~ qsec + hp, data=mtcars)
vif(m1)

Run the code above in your browser using DataLab