vif_k: Ridge regression tables in the range of given lower and upper...

View source: R/vif_k.R

vif_kR Documentation

Ridge regression tables in the range of given lower and upper bounds of k values

Description

Ridge regression tables in the range of given lower and upper bounds of k values

Usage

vif_k(x, y, a, b)

Arguments

x

Explanatory variables (Dataframe, matrix)

y

Dependent variables (Dataframe, vector)

a

Lower bound of k

b

Upper bound of k

Value

A list of lists

Examples

library("mctest")
x <- Hald[,-1]
y <- Hald[,1]
vif_k(x,y,a=0,b=1)

library(isdals)
data(bodyfat)
x <- bodyfat[,-1]
y <- bodyfat[,1]
vif_k(x,y,a=0,b=1)

ridgregextra documentation built on Nov. 26, 2023, 1:07 a.m.