collinearity {mosaicModel}R Documentation

Calculate measures of collinearity

Description

Calculate measures of collinearity

Usage

collinearity(formula, data, format = c("SeIF", "degrees", "radians", "VIF"))

Arguments

formula

a formula giving, on the right-hand side, the explanatory variables to be considered. Iteractions, etc. may also be specified.

data

a data frame from which to draw the variables in the formula

format

choice of "SeIF" for inflation of standard errors, "degrees" or "radians" for collinearity described as an angle or "VIF" for the variance inflation factor (which is the square of SeIF).

Examples

collinearity( ~ cyl * disp * hp, data = mtcars)
collinearity( ~ cyl * disp * hp, data = mtcars, format = "degrees")

[Package mosaicModel version 0.3.0 Index]