E10.1: Multicollinear Data

Description Usage Format Source Examples

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

1

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.

Source

The data were made up by the authors.

Examples

1
2
3
4
5
6
7
8
9
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)
}

Example output

[1] "x.1" "x.2" "y.1" "y.2" "y.3"
Loading required package: car
Loading required package: carData
     x.1      x.2 
5868.654 5868.654 

SenSrivastava documentation built on May 2, 2019, 7:29 a.m.