Learn R Programming

AFR (version 0.3.6)

corsel: Multicollinearity test

Description

multicollinearity is the occurence of high interrelations among two or more independent variables in a multiple regression.

Usage

corsel(x, thrs, num)

Arguments

x

is a numeric vector or matrix

thrs

threshold set to calculate correlation above

num

logical

Examples

Run this code
data(macroKZ)
corsel(macroKZ,num=FALSE,thrs=0.65)

Run the code above in your browser using DataLab