| Line 1... |
Line 1... |
| 1 |
|
1 |
|
| 2 |
R : Copyright 2003, The R Development Core Team
|
2 |
R : Copyright 2003, The R Foundation for Statistical Computing
|
| 3 |
Version 1.7.0 Patched (2003-05-20)
|
3 |
Version 1.9.0 Under development (unstable) (2003-11-18), ISBN 3-900051-00-3
|
| 4 |
|
4 |
|
| 5 |
R is free software and comes with ABSOLUTELY NO WARRANTY.
|
5 |
R is free software and comes with ABSOLUTELY NO WARRANTY.
|
| 6 |
You are welcome to redistribute it under certain conditions.
|
6 |
You are welcome to redistribute it under certain conditions.
|
| 7 |
Type `license()' or `licence()' for distribution details.
|
7 |
Type 'license()' or 'licence()' for distribution details.
|
| 8 |
|
8 |
|
| 9 |
R is a collaborative project with many contributors.
|
9 |
R is a collaborative project with many contributors.
|
| 10 |
Type `contributors()' for more information.
|
10 |
Type 'contributors()' for more information and
|
| - |
|
11 |
'citation()' on how to cite R in publications.
|
| 11 |
|
12 |
|
| 12 |
Type `demo()' for some demos, `help()' for on-line help, or
|
13 |
Type 'demo()' for some demos, 'help()' for on-line help, or
|
| 13 |
`help.start()' for a HTML browser interface to help.
|
14 |
'help.start()' for a HTML browser interface to help.
|
| 14 |
Type `q()' to quit R.
|
15 |
Type 'q()' to quit R.
|
| 15 |
|
16 |
|
| 16 |
> ###-- Linear Models, basic functionality -- weights included.
|
17 |
> ###-- Linear Models, basic functionality -- weights included.
|
| 17 |
>
|
18 |
>
|
| 18 |
> ## From John Maindonald :
|
19 |
> ## From John Maindonald :
|
| 19 |
> roller <- data.frame(
|
20 |
> roller <- data.frame(
|
| Line 67... |
Line 68... |
| 67 |
>
|
68 |
>
|
| 68 |
> (im.lm0 <- influence.measures(roller.lm0))
|
69 |
> (im.lm0 <- influence.measures(roller.lm0))
|
| 69 |
Influence measures of
|
70 |
Influence measures of
|
| 70 |
lm(formula = weight ~ depression, data = roller, weights = 0:9) :
|
71 |
lm(formula = weight ~ depression, data = roller, weights = 0:9) :
|
| 71 |
|
72 |
|
| 72 |
dfb.1. dfb.dprs dffit cov.r cook.d hat inf
|
73 |
dfb.1_ dfb.dprs dffit cov.r cook.d hat inf
|
| 73 |
2 -0.0530 0.0482 -0.0530 1.551 0.001635 0.1277
|
74 |
2 -0.0530 0.0482 -0.0530 1.551 0.001635 0.1277
|
| 74 |
3 -0.1769 0.1538 -0.1782 1.569 0.018065 0.1742
|
75 |
3 -0.1769 0.1538 -0.1782 1.569 0.018065 0.1742
|
| 75 |
4 0.0130 -0.0113 0.0131 1.842 0.000100 0.2613
|
76 |
4 0.0130 -0.0113 0.0131 1.842 0.000100 0.2613
|
| 76 |
5 -0.1174 -0.0185 -0.3370 1.049 0.055523 0.0892
|
77 |
5 -0.1174 -0.0185 -0.3370 1.049 0.055523 0.0892
|
| 77 |
6 -0.1031 -0.0162 -0.2960 1.229 0.045771 0.1114
|
78 |
6 -0.1031 -0.0162 -0.2960 1.229 0.045771 0.1114
|
| Line 124... |
Line 125... |
| 124 |
> lm.SR <- lm(sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings)
|
125 |
> lm.SR <- lm(sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings)
|
| 125 |
> (IM <- influence.measures(lm.SR))
|
126 |
> (IM <- influence.measures(lm.SR))
|
| 126 |
Influence measures of
|
127 |
Influence measures of
|
| 127 |
lm(formula = sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings) :
|
128 |
lm(formula = sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings) :
|
| 128 |
|
129 |
|
| 129 |
dfb.1. dfb.pp15 dfb.pp75 dfb.dpi dfb.ddpi dffit cov.r
|
130 |
dfb.1_ dfb.pp15 dfb.pp75 dfb.dpi dfb.ddpi dffit cov.r
|
| 130 |
Australia 0.01232 -0.010436 -0.02653 0.04534 -0.000159 0.0627 1.193
|
131 |
Australia 0.01232 -0.010436 -0.02653 0.04534 -0.000159 0.0627 1.193
|
| 131 |
Austria -0.01005 0.005944 0.04084 -0.03672 -0.008182 0.0632 1.268
|
132 |
Austria -0.01005 0.005944 0.04084 -0.03672 -0.008182 0.0632 1.268
|
| 132 |
Belgium -0.06416 0.051496 0.12070 -0.03472 -0.007265 0.1878 1.176
|
133 |
Belgium -0.06416 0.051496 0.12070 -0.03472 -0.007265 0.1878 1.176
|
| 133 |
Bolivia 0.00578 -0.012703 -0.02253 0.03185 0.040642 -0.0597 1.224
|
134 |
Bolivia 0.00578 -0.012703 -0.02253 0.03185 0.040642 -0.0597 1.224
|
| 134 |
Brazil 0.08973 -0.061626 -0.17907 0.11997 0.068457 0.2646 1.082
|
135 |
Brazil 0.08973 -0.061626 -0.17907 0.11997 0.068457 0.2646 1.082
|