si_linear_exc_vif {compindexR}R Documentation

Calculate Si using linear method by excluding Xi using VIF

Description

Calculate Si using linear method by excluding Xi using VIF

Usage

si_linear_exc_vif(x, avg_type = "simple", vif_threshold = 4.5)

Arguments

x

A Dataframe

avg_type

Choosing average type. So far "simple", "geometric" and "harmonic" average are availableƧ

vif_threshold

Threshold for VIF. Based on this threshold variables from input data (x) are excluded for the calculations.

Value

A data frame

Examples

x <- data.frame(rnorm(20),rnorm(20),rnorm(20),rnorm(20))
si_linear_exc_vif(x,avg_type = "simple", vif_threshold = 4.5)

[Package compindexR version 0.1.3 Index]