Learn R Programming

MPV (version 1.27)

table.b1: Table B1

Description

The table.b1 data frame has 28 observations on National Football League 1976 Team Performance.

Usage

data(table.b1)

Arguments

source

Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.

Examples

Run this code
data(table.b1)
attach(table.b1)
y.lm <- lm(y ~ x2 + x7 + x8)
summary(y.lm)
# over-all F-test:
y.null <- lm(y ~ 1)
anova(y.null, y.lm)
# partial F-test for x7:
y7.lm <- lm(y ~ x2 + x8)
anova(y7.lm, y.lm)
detach(table.b1)

Run the code above in your browser using DataLab