E9.8 {SenSrivastava} | R Documentation |
Data on monthly rent, annual income and househould size
Description
The E9.8
data frame has 27 rows and 3 columns.
Usage
data(E9.8)
Format
This data frame contains the following columns:
- R
-
a numeric vector, Monthly rent in dollars.
- I
-
a numeric vector, annual income in
1000\$
. - S
-
a numeric vector, household size.
Details
Example 9.8 in Sen and Srivastava, page 201.
Source
Selected by one of the authors from a much larger data set, collected from several sources about 20 years ago.
Examples
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()
[Package SenSrivastava version 2015.6.25.1 Index]