R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(SenSrivastava)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SenSrivastava/E9.8.Rd_%03d_medium.png", width=480, height=480)
> ### Name: E9.8
> ### Title: Data on monthly rent, annual income and househould size
> ### Aliases: E9.8
> ### Keywords: datasets
>
> ### ** Examples
>
> data(E9.8)
> attach(E9.8)
> E9.8.m1 <- lm(R ~ I + S, data=E9.8)
> summary(E9.8.m1)
Call:
lm(formula = R ~ I + S, data = E9.8)
Residuals:
Min 1Q Median 3Q Max
-144.09 -49.81 10.60 45.49 125.38
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -95.299 35.263 -2.703 0.0124 *
I 15.261 1.422 10.734 1.21e-10 ***
S 121.565 9.681 12.558 4.85e-12 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 69.17 on 24 degrees of freedom
Multiple R-squared: 0.9341, Adjusted R-squared: 0.9287
F-statistic: 170.2 on 2 and 24 DF, p-value: 6.655e-15
> plot(I, resid(E9.8.m1, type="partial")[,"I"])
> plot(S, resid(E9.8.m1, type="partial")[,"S"])
> detach()
>
>
>
>
>
> dev.off()
null device
1
>