Learn R Programming

SenSrivastava (version 0.1-14)

E10.1: Multicollinear Data

Description

The E10.1 data frame has 10 rows and 5 columns. The responses were obtained by adding a N(0, 0.01) pseudorandom variate to x.1+0.5x.2. The data were made up by the authors.

Usage

data(E10.1)

Arguments

concept

  • Artificially multicollinear data
  • variance inflation factor

source

The data were made up by the authors.

Examples

Run this code
data(E10.1)
attach(E10.1)
plot(x.1, x.2)
names(E10.1)
hascar <- require(car)
if (hascar) {
   mod <- lm(y.1 ~ x.1+x.2, data=E10.1)
   vif(mod)
}

Run the code above in your browser using DataLab