Learn R Programming

ProSGPV (version 1.0.0)

gvif: gvif: Get GVIF for each variable

Description

Get generalized variance inflation factor (GVIF) for each variable. See Fox (1992) 10.1080/01621459.1992.10475190 for more details on how to calculate GVIF.

Usage

gvif(mod, family)

Arguments

mod

A model object with at least two explanatory variables

family

A description of the error distribution and link function to be used in the model. It can take the value of \code{gaussian}, \code{binomial}, \code{poisson}, and \code{cox}.

Value

A vector of GVIF for each variable in the model