table.b1 | R Documentation |
The table.b1
data frame has 28 observations on National
Football League 1976 Team Performance.
data(table.b1)
This data frame contains the following columns:
Games won in a 14 game season
Rushing yards
Passing yards
Punting average (yards/punt)
Field Goal Percentage (FGs made/FGs attempted)
Turnover differential (turnovers acquired - turnovers lost)
Penalty yards
Percent rushing (rushing plays/total plays)
Opponents' rushing yards
Opponents' passing yards
Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.