Learn R Programming

SenSrivastava (version 2015.6.25)

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

Format

This data frame contains the following columns:

x.1

a numeric vector, predictor 1.

x.2

a numeric vector, predictor 2.

y.1

a numeric vector, response 1.

y.2

a numeric vector, response 2.

y.3

a numeric vector, response 3.

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