vif_reg {AFR}R Documentation

VIF by variable

Description

Calculates the variation inflation factors of all predictors in regression models

Usage

vif_reg(model)

Arguments

model

is a linear regression model

References

Petrie, Adam. Published 2020-02-21. regclass package

Examples

data(macroKZ)
model <- lm(real_gdp ~ imp + exp + poil + eurkzt + tonia_rate, data = macroKZ)
vif_reg(model)

[Package AFR version 0.3.5 Index]