Last data update: 2014.03.03

R: Multicollinear Data
E10.1R Documentation

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)

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

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)
}

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SenSrivastava)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SenSrivastava/E10.1.Rd_%03d_medium.png", width=480, height=480)
> ### Name: E10.1
> ### Title: Multicollinear Data
> ### Aliases: E10.1
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(E10.1)
> attach(E10.1)
> plot(x.1, x.2)
> names(E10.1)
[1] "x.1" "x.2" "y.1" "y.2" "y.3"
> hascar <- require(car)
Loading required package: car
> if (hascar) {
+    mod <- lm(y.1 ~ x.1+x.2, data=E10.1)
+    vif(mod)
+ }
     x.1      x.2 
5868.654 5868.654 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>