E11.1: Artificially Created Data for an Example on Variable Search

Description Usage Format Source Examples

Description

The E11.1 data frame has 20 rows and 5 columns.

Usage

1

Format

This data frame contains the following columns:

x.1

a numeric vector, predictor 1.

x.2

a numeric vector, predictor 2.

x.3

a numeric vector, predictor 3.

x.4

a numeric vector, predictor 4.

y

a numeric vector, response.

Source

Data made up by the authors.

Examples

1
2
3
4
5
6
7
data(E11.1)
exleaps <- require("leaps", quietly=TRUE)
if (exleaps) {
   E11.1.m1 <- regsubsets(y ~x.1+x.2+x.3+x.4, data=E11.1)
   summary(E11.1.m1)
   plot(E11.1.m1)
}

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