vifmiqo: Eliminate Multicollinearity

Description Usage Arguments Value

View source: R/vifmiqo.R

Description

This function loads data in two pieces, X and y. Then it selects the subset of variables that minimize multicollinearity using a mixed-integer optimization framework.

Usage

1
vifmiqo(X, y, alpha = 5)

Arguments

X

Dataframe containing potential covariates and their values

y

Dataframe with output values corresponding to X

alpha

Optional- standard constraint > 1

Value

A list containing the optimal subset of parameters ("") and the corresponding total number selected ("S"), R^2 for linear regression ("Rsq"), and VIF value ("VIF_max")


egfried/Rvifmiqo documentation built on Dec. 23, 2021, 10:23 p.m.