powered by
The E9.8 data frame has 27 rows and 3 columns.
E9.8
data(E9.8)
This data frame contains the following columns:
a numeric vector, Monthly rent in dollars.
a numeric vector, annual income in \(1000\$\).
a numeric vector, household size.
Example 9.8 in Sen and Srivastava, page 201.
data(E9.8) attach(E9.8) E9.8.m1 <- lm(R ~ I + S, data=E9.8) summary(E9.8.m1) plot(I, resid(E9.8.m1, type="partial")[,"I"]) plot(S, resid(E9.8.m1, type="partial")[,"S"]) detach()
Run the code above in your browser using DataLab