Vous êtes sur la page 1sur 22

> RyM

R Age S Ed Ex0 Ex1 LF M N NW U1 U2 W X


1 79.1 151 si 91 58 56 510 950 33 301 108 41 394 261
2 163.5 143 no 113 103 95 583 1012 13 102 96 36 557 194
3 57.8 142 si 89 45 44 533 969 18 219 94 33 318 250
4 196.9 136 no 121 149 141 577 994 157 80 102 39 673 167
5 123.4 141 no 121 109 101 591 985 18 30 91 20 578 174
6 68.2 121 no 110 118 115 547 964 25 44 84 29 689 126
7 96.3 127 si 111 82 79 519 982 4 139 97 38 620 168
8 155.5 131 si 109 115 109 542 969 50 179 79 35 472 206
9 85.6 157 si 90 65 62 553 955 39 286 81 28 421 239
10 70.5 140 no 118 71 68 632 1029 7 15 100 24 526 174
11 167.4 124 no 105 121 116 580 966 101 106 77 35 657 170
12 84.9 134 no 108 75 71 595 972 47 59 83 31 580 172
13 51.1 128 no 113 67 60 624 972 28 10 77 25 507 206
14 66.4 135 no 117 62 61 595 986 22 46 77 27 529 190
15 79.8 152 si 87 57 53 530 986 30 72 92 43 405 264
16 94.6 142 si 88 81 77 497 956 33 321 116 47 427 247
17 53.9 143 no 110 66 63 537 977 10 6 114 35 487 166
18 92.9 135 si 104 123 115 537 978 31 170 89 34 631 165
19 75.0 130 no 116 128 128 536 934 51 24 78 34 627 135
20 122.5 125 no 108 113 105 567 985 78 94 130 58 626 166
21 74.2 126 no 108 74 67 602 984 34 12 102 33 557 195
22 43.9 157 si 89 47 44 512 962 22 423 97 34 288 276
23 121.6 132 no 96 87 83 564 953 43 92 83 32 513 227
24 96.8 131 no 116 78 73 574 1038 7 36 142 42 540 176
25 52.3 130 no 116 63 57 641 984 14 26 70 21 486 196
26 199.3 131 no 121 160 143 631 1071 3 77 102 41 674 152
27 34.2 135 no 109 69 71 540 965 6 4 80 22 564 139
28 121.6 152 no 112 82 76 571 1018 10 79 103 28 537 215
29 104.3 119 no 107 166 157 521 938 168 89 92 36 637 154
30 69.6 166 si 89 58 54 521 973 46 254 72 26 396 237
31 37.3 140 no 93 55 54 535 1045 6 20 135 40 453 200
32 75.4 125 no 109 90 81 586 964 97 82 105 43 617 163
33 107.2 147 si 104 63 64 560 972 23 95 76 24 462 233
34 92.3 126 no 118 97 97 542 990 18 21 102 35 589 166
35 65.3 123 no 102 97 87 526 948 113 76 124 50 572 158
36 127.2 150 no 100 109 98 531 964 9 24 87 38 559 153
37 83.1 177 si 87 58 56 638 974 24 349 76 28 382 254
38 56.6 133 no 104 51 47 599 1024 7 40 99 27 425 225
39 82.6 149 si 88 61 54 515 953 36 165 86 35 395 251
40 115.1 145 si 104 82 74 560 981 96 126 88 31 488 228
41 88.0 148 no 122 72 66 601 998 9 19 84 20 590 144
42 54.2 141 no 109 56 54 523 968 4 2 107 37 489 170
43 82.3 162 si 99 75 70 522 996 40 208 73 27 496 224
44 103.0 136 no 121 95 96 574 1012 29 36 111 37 622 162
45 45.5 139 si 88 46 41 480 968 19 49 135 53 457 249
46 50.8 126 no 104 106 97 599 989 40 24 78 25 593 171
47 84.9 130 no 121 90 91 623 1049 3 22 113 40 588 160
> summary(RyM)

R
Age
S
Ed
Ex0
Min. : 34.20 Min. :119.0 no:31 Min. : 87.0 Min. : 45.0
1st Qu.: 65.85 1st Qu.:130.0 si:16 1st Qu.: 97.5 1st Qu.: 62.5
Median : 83.10 Median :136.0
Median :108.0 Median : 78.0
Mean : 90.51 Mean :138.6
Mean :105.6 Mean : 85.0
3rd Qu.:105.75 3rd Qu.:146.0
3rd Qu.:114.5 3rd Qu.:104.5
Max. :199.30 Max. :177.0
Max. :122.0 Max. :166.0
Ex1
LF
M
N
Min. : 41.00 Min. :480.0 Min. : 934.0 Min. : 3.00
1st Qu.: 58.50 1st Qu.:530.5 1st Qu.: 964.5 1st Qu.: 10.00
Median : 73.00 Median :560.0 Median : 977.0 Median : 25.00
Mean : 80.23 Mean :561.2 Mean : 983.0 Mean : 36.62
3rd Qu.: 97.00 3rd Qu.:593.0 3rd Qu.: 992.0 3rd Qu.: 41.50
Max. :157.00 Max. :641.0 Max. :1071.0 Max. :168.00
NW
U1
U2
W
Min. : 2.0 Min. : 70.00 Min. :20.00 Min. :288.0
1st Qu.: 24.0 1st Qu.: 80.50 1st Qu.:27.50 1st Qu.:459.5
Median : 76.0 Median : 92.00 Median :34.00 Median :537.0
Mean :101.1 Mean : 95.47 Mean :33.98 Mean :525.4
3rd Qu.:132.5 3rd Qu.:104.00 3rd Qu.:38.50 3rd Qu.:591.5
Max. :423.0 Max. :142.00 Max. :58.00 Max. :689.0
X
Min. :126.0
1st Qu.:165.5
Median :176.0
Mean :194.0
3rd Qu.:227.5
Max. :276.0
> attach(RyM)
>R
[1] 79.1 163.5 57.8 196.9 123.4 68.2 96.3 155.5 85.6 70.5 167.4 84.9
[13] 51.1 66.4 79.8 94.6 53.9 92.9 75.0 122.5 74.2 43.9 121.6 96.8
[25] 52.3 199.3 34.2 121.6 104.3 69.6 37.3 75.4 107.2 92.3 65.3 127.2
[37] 83.1 56.6 82.6 115.1 88.0 54.2 82.3 103.0 45.5 50.8 84.9
> Age
[1] 151 143 142 136 141 121 127 131 157 140 124 134 128 135 152 142 143 135 130
[20] 125 126 157 132 131 130 131 135 152 119 166 140 125 147 126 123 150 177 133
[39] 149 145 148 141 162 136 139 126 130
>S
[1] si no si no no no si si si no no no no no si si no si no no no si no no no
[26] no no no no si no no si no no no si no si si no no si no si no no
Levels: no si
> Ed
[1] 91 113 89 121 121 110 111 109 90 118 105 108 113 117 87 88 110 104 116
[20] 108 108 89 96 116 116 121 109 112 107 89 93 109 104 118 102 100 87 104
[39] 88 104 122 109 99 121 88 104 121
> Ex0
[1] 58 103 45 149 109 118 82 115 65 71 121 75 67 62 57 81 66 123 128
[20] 113 74 47 87 78 63 160 69 82 166 58 55 90 63 97 97 109 58 51
[39] 61 82 72 56 75 95 46 106 90

> Ex1
[1] 56 95 44 141 101 115 79 109 62 68 116 71 60 61 53 77 63 115 128
[20] 105 67 44 83 73 57 143 71 76 157 54 54 81 64 97 87 98 56 47
[39] 54 74 66 54 70 96 41 97 91
> LF
[1] 510 583 533 577 591 547 519 542 553 632 580 595 624 595 530 497 537 537 536
[20] 567 602 512 564 574 641 631 540 571 521 521 535 586 560 542 526 531 638 599
[39] 515 560 601 523 522 574 480 599 623
>M
[1] 950 1012 969 994 985 964 982 969 955 1029 966 972 972 986 986
[16] 956 977 978 934 985 984 962 953 1038 984 1071 965 1018 938 973
[31] 1045 964 972 990 948 964 974 1024 953 981 998 968 996 1012 968
[46] 989 1049
>N
[1] 33 13 18 157 18 25 4 50 39 7 101 47 28 22 30 33 10 31 51
[20] 78 34 22 43 7 14 3 6 10 168 46 6 97 23 18 113 9 24 7
[39] 36 96 9 4 40 29 19 40 3
> NW
[1] 301 102 219 80 30 44 139 179 286 15 106 59 10 46 72 321 6 170 24
[20] 94 12 423 92 36 26 77 4 79 89 254 20 82 95 21 76 24 349 40
[39] 165 126 19 2 208 36 49 24 22
> U1
[1] 108 96 94 102 91 84 97 79 81 100 77 83 77 77 92 116 114 89 78
[20] 130 102 97 83 142 70 102 80 103 92 72 135 105 76 102 124 87 76 99
[39] 86 88 84 107 73 111 135 78 113
> U2
[1] 41 36 33 39 20 29 38 35 28 24 35 31 25 27 43 47 35 34 34 58 33 34 32 42 21
[26] 41 22 28 36 26 40 43 24 35 50 38 28 27 35 31 20 37 27 37 53 25 40
>W
[1] 394 557 318 673 578 689 620 472 421 526 657 580 507 529 405 427 487 631 627
[20] 626 557 288 513 540 486 674 564 537 637 396 453 617 462 589 572 559 382 425
[39] 395 488 590 489 496 622 457 593 588
>X
[1] 261 194 250 167 174 126 168 206 239 174 170 172 206 190 264 247 166 165 135
[20] 166 195 276 227 176 196 152 139 215 154 237 200 163 233 166 158 153 254 225
[39] 251 228 144 170 224 162 249 171 160
> na.omit(RyM)
R Age S Ed Ex0 Ex1 LF M N NW U1 U2 W X
1 79.1 151 si 91 58 56 510 950 33 301 108 41 394 261
2 163.5 143 no 113 103 95 583 1012 13 102 96 36 557 194
3 57.8 142 si 89 45 44 533 969 18 219 94 33 318 250
4 196.9 136 no 121 149 141 577 994 157 80 102 39 673 167
5 123.4 141 no 121 109 101 591 985 18 30 91 20 578 174
6 68.2 121 no 110 118 115 547 964 25 44 84 29 689 126
7 96.3 127 si 111 82 79 519 982 4 139 97 38 620 168
8 155.5 131 si 109 115 109 542 969 50 179 79 35 472 206
9 85.6 157 si 90 65 62 553 955 39 286 81 28 421 239
10 70.5 140 no 118 71 68 632 1029 7 15 100 24 526 174
11 167.4 124 no 105 121 116 580 966 101 106 77 35 657 170
12 84.9 134 no 108 75 71 595 972 47 59 83 31 580 172

13 51.1 128 no 113 67 60 624 972 28 10 77 25 507 206


14 66.4 135 no 117 62 61 595 986 22 46 77 27 529 190
15 79.8 152 si 87 57 53 530 986 30 72 92 43 405 264
16 94.6 142 si 88 81 77 497 956 33 321 116 47 427 247
17 53.9 143 no 110 66 63 537 977 10 6 114 35 487 166
18 92.9 135 si 104 123 115 537 978 31 170 89 34 631 165
19 75.0 130 no 116 128 128 536 934 51 24 78 34 627 135
20 122.5 125 no 108 113 105 567 985 78 94 130 58 626 166
21 74.2 126 no 108 74 67 602 984 34 12 102 33 557 195
22 43.9 157 si 89 47 44 512 962 22 423 97 34 288 276
23 121.6 132 no 96 87 83 564 953 43 92 83 32 513 227
24 96.8 131 no 116 78 73 574 1038 7 36 142 42 540 176
25 52.3 130 no 116 63 57 641 984 14 26 70 21 486 196
26 199.3 131 no 121 160 143 631 1071 3 77 102 41 674 152
27 34.2 135 no 109 69 71 540 965 6 4 80 22 564 139
28 121.6 152 no 112 82 76 571 1018 10 79 103 28 537 215
29 104.3 119 no 107 166 157 521 938 168 89 92 36 637 154
30 69.6 166 si 89 58 54 521 973 46 254 72 26 396 237
31 37.3 140 no 93 55 54 535 1045 6 20 135 40 453 200
32 75.4 125 no 109 90 81 586 964 97 82 105 43 617 163
33 107.2 147 si 104 63 64 560 972 23 95 76 24 462 233
34 92.3 126 no 118 97 97 542 990 18 21 102 35 589 166
35 65.3 123 no 102 97 87 526 948 113 76 124 50 572 158
36 127.2 150 no 100 109 98 531 964 9 24 87 38 559 153
37 83.1 177 si 87 58 56 638 974 24 349 76 28 382 254
38 56.6 133 no 104 51 47 599 1024 7 40 99 27 425 225
39 82.6 149 si 88 61 54 515 953 36 165 86 35 395 251
40 115.1 145 si 104 82 74 560 981 96 126 88 31 488 228
41 88.0 148 no 122 72 66 601 998 9 19 84 20 590 144
42 54.2 141 no 109 56 54 523 968 4 2 107 37 489 170
43 82.3 162 si 99 75 70 522 996 40 208 73 27 496 224
44 103.0 136 no 121 95 96 574 1012 29 36 111 37 622 162
45 45.5 139 si 88 46 41 480 968 19 49 135 53 457 249
46 50.8 126 no 104 106 97 599 989 40 24 78 25 593 171
47 84.9 130 no 121 90 91 623 1049 3 22 113 40 588 160
> RyM<-na.omit(RyM)
> RyM
R Age S Ed Ex0 Ex1 LF M N NW U1 U2 W X
1 79.1 151 si 91 58 56 510 950 33 301 108 41 394 261
2 163.5 143 no 113 103 95 583 1012 13 102 96 36 557 194
3 57.8 142 si 89 45 44 533 969 18 219 94 33 318 250
4 196.9 136 no 121 149 141 577 994 157 80 102 39 673 167
5 123.4 141 no 121 109 101 591 985 18 30 91 20 578 174
6 68.2 121 no 110 118 115 547 964 25 44 84 29 689 126
7 96.3 127 si 111 82 79 519 982 4 139 97 38 620 168
8 155.5 131 si 109 115 109 542 969 50 179 79 35 472 206
9 85.6 157 si 90 65 62 553 955 39 286 81 28 421 239
10 70.5 140 no 118 71 68 632 1029 7 15 100 24 526 174
11 167.4 124 no 105 121 116 580 966 101 106 77 35 657 170
12 84.9 134 no 108 75 71 595 972 47 59 83 31 580 172

13 51.1 128 no 113 67 60 624 972 28 10 77 25 507 206


14 66.4 135 no 117 62 61 595 986 22 46 77 27 529 190
15 79.8 152 si 87 57 53 530 986 30 72 92 43 405 264
16 94.6 142 si 88 81 77 497 956 33 321 116 47 427 247
17 53.9 143 no 110 66 63 537 977 10 6 114 35 487 166
18 92.9 135 si 104 123 115 537 978 31 170 89 34 631 165
19 75.0 130 no 116 128 128 536 934 51 24 78 34 627 135
20 122.5 125 no 108 113 105 567 985 78 94 130 58 626 166
21 74.2 126 no 108 74 67 602 984 34 12 102 33 557 195
22 43.9 157 si 89 47 44 512 962 22 423 97 34 288 276
23 121.6 132 no 96 87 83 564 953 43 92 83 32 513 227
24 96.8 131 no 116 78 73 574 1038 7 36 142 42 540 176
25 52.3 130 no 116 63 57 641 984 14 26 70 21 486 196
26 199.3 131 no 121 160 143 631 1071 3 77 102 41 674 152
27 34.2 135 no 109 69 71 540 965 6 4 80 22 564 139
28 121.6 152 no 112 82 76 571 1018 10 79 103 28 537 215
29 104.3 119 no 107 166 157 521 938 168 89 92 36 637 154
30 69.6 166 si 89 58 54 521 973 46 254 72 26 396 237
31 37.3 140 no 93 55 54 535 1045 6 20 135 40 453 200
32 75.4 125 no 109 90 81 586 964 97 82 105 43 617 163
33 107.2 147 si 104 63 64 560 972 23 95 76 24 462 233
34 92.3 126 no 118 97 97 542 990 18 21 102 35 589 166
35 65.3 123 no 102 97 87 526 948 113 76 124 50 572 158
36 127.2 150 no 100 109 98 531 964 9 24 87 38 559 153
37 83.1 177 si 87 58 56 638 974 24 349 76 28 382 254
38 56.6 133 no 104 51 47 599 1024 7 40 99 27 425 225
39 82.6 149 si 88 61 54 515 953 36 165 86 35 395 251
40 115.1 145 si 104 82 74 560 981 96 126 88 31 488 228
41 88.0 148 no 122 72 66 601 998 9 19 84 20 590 144
42 54.2 141 no 109 56 54 523 968 4 2 107 37 489 170
43 82.3 162 si 99 75 70 522 996 40 208 73 27 496 224
44 103.0 136 no 121 95 96 574 1012 29 36 111 37 622 162
45 45.5 139 si 88 46 41 480 968 19 49 135 53 457 249
46 50.8 126 no 104 106 97 599 989 40 24 78 25 593 171
47 84.9 130 no 121 90 91 623 1049 3 22 113 40 588 160
>

> summary(lm(R~Age+Ed+Ex0+Ex1+LF+M+N+NW+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + Ex1 + LF + M + N + NW + U1 +
U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-34.751 -11.007 -1.078 12.787 52.787
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -6.830e+02 1.535e+02 -4.450 8.78e-05 ***
Age
1.035e+00 4.183e-01 2.474 0.01853 *
Ed
1.771e+00 6.407e-01 2.764 0.00916 **
Ex0
1.604e+00 1.048e+00 1.531 0.13507
Ex1
-6.352e-01 1.136e+00 -0.559 0.57959
LF
2.014e-03 1.313e-01 0.015 0.98785
M
1.408e-01 2.034e-01 0.692 0.49349
N
-3.569e-02 1.278e-01 -0.279 0.78173
NW
-9.820e-03 5.554e-02 -0.177 0.86070
U1
-5.119e-01 4.022e-01 -1.273 0.21178
U2
1.699e+00 8.309e-01 2.044 0.04873 *
W
1.270e-01 1.031e-01 1.232 0.22647
X
7.465e-01 2.176e-01 3.431 0.00160 **
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.71 on 34 degrees of freedom
Multiple R-squared: 0.7671, Adjusted R-squared: 0.6849
F-statistic: 9.33 on 12 and 34 DF, p-value: 1.334e-07
> hist(RyM$Age)
> hist(RyM$Ed)
> hist(RyM$Ex0)
> hist(RyM$Ex1)
> hist(RyM$LF)
> hist(RyM$M)
> hist(RyM$N)
> hist(RyM$NW)
> hist(RyM$U1)
> hist(RyM$U2)
> hist(RyM$W)
> hist(RyM$X)
> plot(R~S,RyM)
> shapiro.test(tambo$AreaBasal)
Shapiro-Wilk normality test
data: tambo$AreaBasal

W = 0.8754, p-value = 1.067e-05


> shapiro.test(RyM$Age)
Shapiro-Wilk normality test
data: RyM$Age
W = 0.948, p-value = 0.03608
> shapiro.test(RyM$Ed)
Shapiro-Wilk normality test
data: RyM$Ed
W = 0.9194, p-value = 0.003197
> shapiro.test(RyM$Ed)
Shapiro-Wilk normality test
data: RyM$Ed
W = 0.9194, p-value = 0.003197
> shapiro.test(RyM$Ex0)
Shapiro-Wilk normality test
data: RyM$Ex0
W = 0.9231, p-value = 0.004281
>
>
> shapiro.test(RyM$Ex1)
Shapiro-Wilk normality test
data: RyM$Ex1
W = 0.9283, p-value = 0.006581
> shapiro.test(RyM$LF)
Shapiro-Wilk normality test
data: RyM$LF
W = 0.9652, p-value = 0.172
> shapiro.test(RyM$M)
Shapiro-Wilk normality test

data: RyM$M
W = 0.9215, p-value = 0.003772
> shapiro.test(RyM$N)
Shapiro-Wilk normality test
data: RyM$N
W = 0.7622, p-value = 2.491e-07
> shapiro.test(RyM$NW)
Shapiro-Wilk normality test
data: RyM$NW
W = 0.8204, p-value = 4.687e-06
>
> shapiro.test(RyM$U1)
Shapiro-Wilk normality test
data: RyM$U1
W = 0.9315, p-value = 0.008617
> shapiro.test(RyM$U2)
Shapiro-Wilk normality test
data: RyM$U2
W = 0.9675, p-value = 0.2133
> shapiro.test(RyM$W)
Shapiro-Wilk normality test
data: RyM$W
W = 0.9728, p-value = 0.3375
> shapiro.test(RyM$X)
Shapiro-Wilk normality test
data: RyM$X
W = 0.9365, p-value = 0.01319
> plot(density(RyM$Age,na.rm=TRUE))
> plot(density(RyM$Ed,na.rm=TRUE))
> plot(density(RyM$Ex0,na.rm=TRUE))
> summary(lm(R~Age+Ed+Ex0+M+U1+U2+W+X,data=RyM))

Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-36.9357 -13.1677 0.7294 11.7858 49.9309
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -714.40473 133.13339 -5.366 4.21e-06 ***
Age
1.00832 0.36173 2.788 0.008248 **
Ed
1.74164 0.56912 3.060 0.004044 **
Ex0
0.97854 0.18614 5.257 5.94e-06 ***
M
0.18489 0.14546 1.271 0.211415
U1
-0.52958 0.36072 -1.468 0.150301
U2
1.70702 0.78582 2.172 0.036141 *
W
0.12714 0.09544 1.332 0.190732
X
0.73210 0.18921 3.869 0.000415 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.68 on 38 degrees of freedom
Multiple R-squared: 0.7638, Adjusted R-squared: 0.7141
F-statistic: 15.36 on 8 and 38 DF, p-value: 8.88e-10
> plot(density(RyM$Ex1,na.rm=TRUE))
> plot(density(RyM$LF,na.rm=TRUE))
> plot(density(RyM$M,na.rm=TRUE))
> plot(density(RyM$,na.rm=TRUE))
Error: unexpected ',' en "plot(density(RyM$,"
> plot(density(RyM$N,na.rm=TRUE))
> plot(density(RyM$NW,na.rm=TRUE))
> plot(density(RyM$U1,na.rm=TRUE))
> plot(density(RyM$U2,na.rm=TRUE))
> plot(density(RyM$W,na.rm=TRUE))
> plot(density(RyM$X,na.rm=TRUE))
> summary(lm(R~Age+Ed+Ex0+M+U1+U2+LF+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U1 + U2 + LF + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-36.7989 -13.1723 0.9248 12.0069 49.7822
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -712.37834 136.11355 -5.234 6.84e-06 ***
Age
1.01538 0.37194 2.730 0.009642 **

Ed
1.72296 0.60044 2.870 0.006757 **
Ex0
0.98123 0.19015 5.160 8.58e-06 ***
M
0.17596 0.16773 1.049 0.300978
U1
-0.51774 0.38059 -1.360 0.181947
U2
1.71086 0.79698 2.147 0.038441 *
LF
0.01320 0.11821 0.112 0.911716
W
0.12621 0.09707 1.300 0.201566
X
0.72875 0.19405 3.755 0.000595 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.95 on 37 degrees of freedom
Multiple R-squared: 0.7639, Adjusted R-squared: 0.7065
F-statistic: 13.3 on 9 and 37 DF, p-value: 3.627e-09
> summary(lm(R~Age+Ed+Ex0+M+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-36.9357 -13.1677 0.7294 11.7858 49.9309
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -714.40473 133.13339 -5.366 4.21e-06 ***
Age
1.00832 0.36173 2.788 0.008248 **
Ed
1.74164 0.56912 3.060 0.004044 **
Ex0
0.97854 0.18614 5.257 5.94e-06 ***
M
0.18489 0.14546 1.271 0.211415
U1
-0.52958 0.36072 -1.468 0.150301
U2
1.70702 0.78582 2.172 0.036141 *
W
0.12714 0.09544 1.332 0.190732
X
0.73210 0.18921 3.869 0.000415 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.68 on 38 degrees of freedom
Multiple R-squared: 0.7638, Adjusted R-squared: 0.7141
F-statistic: 15.36 on 8 and 38 DF, p-value: 8.88e-10
> modelo<-lm(R~.,data=RyM)
> modelo
Call:
lm(formula = R ~ ., data = RyM)
Coefficients:

(Intercept)
Age
Ssi
Ed
Ex0
Ex1
LF
M
N
-6.918e+02 1.040e+00 -8.308e+00 1.802e+00 1.608e+00 -6.673e-01 -4.103e02 1.648e-01 -4.128e-02
NW
U1
U2
W
X
7.175e-03 -6.017e-01 1.792e+00 1.374e-01 7.929e-01
> residuals(modelo)
1
2
3
4
5
6
7
8
9
10
11
-3.601427 20.703241 23.812536 16.234039 6.769323 -8.629911 15.800488
30.846233 13.295807 -1.134954 50.560240
12
13
14
15
16
17
18
19
20
21
22
13.695158 -26.383105 -14.784295 -17.822686 2.656652 3.530023 -19.692733
-34.883966 -1.692859 1.131804 -26.389597
23
24
25
26
27
28
29
30
31
32
33
28.063990 15.695220 -16.439532 -1.154943 10.089628 -4.461711 -28.190242
-4.915716 2.188015 -9.061109 26.103854
34
35
36
37
38
39
40
41
42
43
44
-4.906862 -1.811341 22.307237 -7.604416 2.355825 7.344073 8.582757
14.327655 7.231159 -31.014456 -8.958000
45
46
47
-17.401369 -33.296356 -19.093372
> shapiro.test(residuals(modelo))
Shapiro-Wilk normality test
data: residuals(modelo)
W = 0.9855, p-value = 0.8216
> summary(lm(R~Age+Ed+Ex0+Ex1+M+N+NW+U1+U2+LF+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + Ex1 + M + N + NW + U1 + U2 +
LF + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-34.751 -11.007 -1.078 12.787 52.787
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -6.830e+02 1.535e+02 -4.450 8.78e-05 ***
Age
1.035e+00 4.183e-01 2.474 0.01853 *
Ed
1.771e+00 6.407e-01 2.764 0.00916 **
Ex0
1.604e+00 1.048e+00 1.531 0.13507
Ex1
-6.352e-01 1.136e+00 -0.559 0.57959
M
1.408e-01 2.034e-01 0.692 0.49349

N
-3.569e-02 1.278e-01 -0.279 0.78173
NW
-9.820e-03 5.554e-02 -0.177 0.86070
U1
-5.119e-01 4.022e-01 -1.273 0.21178
U2
1.699e+00 8.309e-01 2.044 0.04873 *
LF
2.014e-03 1.313e-01 0.015 0.98785
W
1.270e-01 1.031e-01 1.232 0.22647
X
7.465e-01 2.176e-01 3.431 0.00160 **
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.71 on 34 degrees of freedom
Multiple R-squared: 0.7671, Adjusted R-squared: 0.6849
F-statistic: 9.33 on 12 and 34 DF, p-value: 1.334e-07
> summary(lm(R~Age+Ed+Ex0+Ex1+M+N+NW+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + Ex1 + M + N + NW + U1 + U2 +
W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-34.727 -10.914 -1.074 12.756 52.808
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -6.833e+02 1.494e+02 -4.574 5.77e-05 ***
Age
1.034e+00 4.047e-01 2.554 0.01516 *
Ed
1.774e+00 5.968e-01 2.972 0.00532 **
Ex0
1.608e+00 1.006e+00 1.598 0.11909
Ex1
-6.401e-01 1.074e+00 -0.596 0.55510
M
1.423e-01 1.738e-01 0.819 0.41838
N
-3.528e-02 1.231e-01 -0.286 0.77619
NW
-9.724e-03 5.439e-02 -0.179 0.85914
U1
-5.138e-01 3.770e-01 -1.363 0.18157
U2
1.698e+00 8.175e-01 2.077 0.04520 *
W
1.271e-01 1.015e-01 1.253 0.21842
X
7.466e-01 2.144e-01 3.483 0.00135 **
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.4 on 35 degrees of freedom
Multiple R-squared: 0.7671, Adjusted R-squared: 0.6939
F-statistic: 10.48 on 11 and 35 DF, p-value: 3.956e-08
> summary(lm(R~Age+Ed+Ex0+Ex1+M+N+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + Ex1 + M + N + U1 + U2 + W +
X, data = RyM)

Residuals:
Min
1Q Median
3Q
Max
-34.0182 -11.2195 -0.8874 11.8599 52.5393
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -684.05417 147.32307 -4.643 4.45e-05 ***
Age
1.00640 0.37011 2.719 0.010007 *
Ed
1.78630 0.58470 3.055 0.004220 **
Ex0
1.62259 0.98920 1.640 0.109650
Ex1
-0.67342 1.04366 -0.645 0.522861
M
0.14671 0.16974 0.864 0.393117
N
-0.03508 0.12148 -0.289 0.774428
U1
-0.51099 0.37153 -1.375 0.177519
U2
1.68428 0.80290 2.098 0.043011 *
W
0.12995 0.09888 1.314 0.197078
X
0.73636 0.20372 3.615 0.000913 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.11 on 36 degrees of freedom
Multiple R-squared: 0.7669, Adjusted R-squared: 0.7021
F-statistic: 11.84 on 10 and 36 DF, p-value: 1.119e-08
> summary(lm(R~Age+Ed+Ex0+Ex1+M+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + Ex1 + M + U1 + U2 + W + X,
data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-33.23031 -11.94910 0.04357 12.40591 51.55542
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -698.77923 136.49277 -5.120 9.74e-06 ***
Age
1.01331 0.36473 2.778 0.008534 **
Ed
1.78113 0.57715 3.086 0.003829 **
Ex0
1.57005 0.96019 1.635 0.110502
Ex1
-0.64438 1.02586 -0.628 0.533770
M
0.16933 0.14871 1.139 0.262178
U1
-0.52513 0.36370 -1.444 0.157191
U2
1.69086 0.79257 2.133 0.039590 *
W
0.12516 0.09626 1.300 0.201572
X
0.71872 0.19192 3.745 0.000613 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1

Residual standard error: 20.85 on 37 degrees of freedom


Multiple R-squared: 0.7663, Adjusted R-squared: 0.7095
F-statistic: 13.48 on 9 and 37 DF, p-value: 3.030e-09
> summary(lm(R~Age+Ed+Ex0+M+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-36.9357 -13.1677 0.7294 11.7858 49.9309
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -714.40473 133.13339 -5.366 4.21e-06 ***
Age
1.00832 0.36173 2.788 0.008248 **
Ed
1.74164 0.56912 3.060 0.004044 **
Ex0
0.97854 0.18614 5.257 5.94e-06 ***
M
0.18489 0.14546 1.271 0.211415
U1
-0.52958 0.36072 -1.468 0.150301
U2
1.70702 0.78582 2.172 0.036141 *
W
0.12714 0.09544 1.332 0.190732
X
0.73210 0.18921 3.869 0.000415 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.68 on 38 degrees of freedom
Multiple R-squared: 0.7638, Adjusted R-squared: 0.7141
F-statistic: 15.36 on 8 and 38 DF, p-value: 8.88e-10
> summary(lm(R~Age+Ed+Ex0+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-42.4673 -12.8154 -0.3834 11.4613 51.9505
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -614.66543 108.39833 -5.670 1.49e-06 ***
Age
1.13175 0.35119 3.223 0.002566 **
Ed
2.02739 0.52695 3.847 0.000431 ***
Ex0
0.98629 0.18751 5.260 5.50e-06 ***
U1
-0.30919 0.31880 -0.970 0.338105
U2
1.44156 0.76352 1.888 0.066475 .
W
0.14548 0.09509 1.530 0.134103
X
0.79609 0.18382 4.331 0.000101 ***

--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1


Residual standard error: 20.84 on 39 degrees of freedom
Multiple R-squared: 0.7538, Adjusted R-squared: 0.7096
F-statistic: 17.06 on 7 and 39 DF, p-value: 4.342e-10
> summary(lm(R~S+Age+Ed+Ex0+U1+U2+W+X,data=RyM))
Call:
lm(formula = R ~ S + Age + Ed + Ex0 + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-42.7650 -13.6648 0.1544 11.6103 49.7036
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -622.02180 109.63375 -5.674 1.60e-06 ***
Ssi
-7.66011 11.01066 -0.696 0.490851
Age
1.19667 0.36564 3.273 0.002272 **
Ed
1.96686 0.53756 3.659 0.000766 ***
Ex0
0.99155 0.18891 5.249 6.09e-06 ***
U1
-0.37358 0.33402 -1.118 0.270390
U2
1.57453 0.79203 1.988 0.054054 .
W
0.14593 0.09572 1.524 0.135666
X
0.83891 0.19502 4.302 0.000114 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.98 on 38 degrees of freedom
Multiple R-squared: 0.7569, Adjusted R-squared: 0.7057
F-statistic: 14.79 on 8 and 38 DF, p-value: 1.501e-09
> summary(lm(R~S+Age+Ed+Ex0+U2+W+X,data=RyM))
Call:
lm(formula = R ~ S + Age + Ed + Ex0 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-38.961 -10.358 -1.545 10.068 53.598
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -623.02481 109.98224 -5.665 1.51e-06 ***
Ssi
-4.24721 10.61338 -0.400 0.69121
Age
1.16042 0.36537 3.176 0.00292 **
Ed
1.76010 0.50640 3.476 0.00126 **
Ex0
1.06104 0.17897 5.928 6.51e-07 ***

U2
0.83106 0.43202 1.924 0.06172 .
W
0.16144 0.09502 1.699 0.09727 .
X
0.85049 0.19537 4.353 9.39e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.05 on 39 degrees of freedom
Multiple R-squared: 0.7489, Adjusted R-squared: 0.7038
F-statistic: 16.61 on 7 and 39 DF, p-value: 6.283e-10
> summary(lm(R~Age+Ed+Ex0+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-38.306 -10.209 -1.313 9.919 54.544
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -618.5028 108.2456 -5.714 1.19e-06 ***
Age
1.1252 0.3509 3.207 0.002640 **
Ed
1.8179 0.4803 3.785 0.000505 ***
Ex0
1.0507 0.1752 5.996 4.78e-07 ***
U2
0.8282 0.4274 1.938 0.059743 .
W
0.1596 0.0939 1.699 0.097028 .
X
0.8236 0.1815 4.538 5.10e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.83 on 40 degrees of freedom
Multiple R-squared: 0.7478, Adjusted R-squared: 0.71
F-statistic: 19.77 on 6 and 40 DF, p-value: 1.441e-10
> summary(lm(log(R)~Age+Ed+Ex0+U2+W+X,data=RyM))
Call:
lm(formula = log(R) ~ Age + Ed + Ex0 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-0.4158276 -0.1133161 -0.0001078 0.1617225 0.4501155
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -3.574678 1.185577 -3.015 0.00445 **
Age
0.013130 0.003843 3.417 0.00147 **
Ed
0.018607 0.005260 3.537 0.00104 **
Ex0
0.010146 0.001919 5.287 4.73e-06 ***

U2
0.008497 0.004681 1.815 0.07701 .
W
0.002319 0.001028 2.255 0.02970 *
X
0.009498 0.001988 4.778 2.39e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 0.2281 on 40 degrees of freedom
Multiple R-squared: 0.7322, Adjusted R-squared: 0.692
F-statistic: 18.23 on 6 and 40 DF, p-value: 4.613e-10
> > modelo<-lm(R~Age+Ed+Ex0+U1+U2+W+X,data=RyM)
Error: unexpected '>' en ">"
> > summary(modelo)
Error: unexpected '>' en ">"
> modelo<-lm(R~Age+Ed+Ex0+U1+U2+W+X,data=RyM)
> summary(modelo)
Call:
lm(formula = R ~ Age + Ed + Ex0 + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-42.4673 -12.8154 -0.3834 11.4613 51.9505
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -614.66543 108.39833 -5.670 1.49e-06 ***
Age
1.13175 0.35119 3.223 0.002566 **
Ed
2.02739 0.52695 3.847 0.000431 ***
Ex0
0.98629 0.18751 5.260 5.50e-06 ***
U1
-0.30919 0.31880 -0.970 0.338105
U2
1.44156 0.76352 1.888 0.066475 .
W
0.14548 0.09509 1.530 0.134103
X
0.79609 0.18382 4.331 0.000101 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.84 on 39 degrees of freedom
Multiple R-squared: 0.7538, Adjusted R-squared: 0.7096
F-statistic: 17.06 on 7 and 39 DF, p-value: 4.342e-10
> summary(lm(R~Age+Ed+Ex0+M+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-37.054 -9.703 -1.926 10.233 54.469

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -664.08693 130.53779 -5.087 9.50e-06 ***
Age
1.06819 0.36471 2.929 0.00566 **
Ed
1.62431 0.57177 2.841 0.00712 **
Ex0
1.06766 0.17855 5.980 5.53e-07 ***
M
0.08225 0.12943 0.635 0.52884
U2
0.75176 0.44709 1.681 0.10067
W
0.15588 0.09479 1.645 0.10811
X
0.80382 0.18548 4.334 9.97e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.98 on 39 degrees of freedom
Multiple R-squared: 0.7504, Adjusted R-squared: 0.7056
F-statistic: 16.75 on 7 and 39 DF, p-value: 5.594e-10
> summary (modelo)
Call:
lm(formula = R ~ Age + Ed + Ex0 + U1 + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median
3Q
Max
-42.4673 -12.8154 -0.3834 11.4613 51.9505
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -614.66543 108.39833 -5.670 1.49e-06 ***
Age
1.13175 0.35119 3.223 0.002566 **
Ed
2.02739 0.52695 3.847 0.000431 ***
Ex0
0.98629 0.18751 5.260 5.50e-06 ***
U1
-0.30919 0.31880 -0.970 0.338105
U2
1.44156 0.76352 1.888 0.066475 .
W
0.14548 0.09509 1.530 0.134103
X
0.79609 0.18382 4.331 0.000101 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.84 on 39 degrees of freedom
Multiple R-squared: 0.7538, Adjusted R-squared: 0.7096
F-statistic: 17.06 on 7 and 39 DF, p-value: 4.342e-10
> summary(lm(R~Age+Ed+Ex0+M+U2+W+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U2 + W + X, data = RyM)
Residuals:
Min
1Q Median

3Q

Max

-37.054 -9.703 -1.926 10.233 54.469


Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -664.08693 130.53779 -5.087 9.50e-06 ***
Age
1.06819 0.36471 2.929 0.00566 **
Ed
1.62431 0.57177 2.841 0.00712 **
Ex0
1.06766 0.17855 5.980 5.53e-07 ***
M
0.08225 0.12943 0.635 0.52884
U2
0.75176 0.44709 1.681 0.10067
W
0.15588 0.09479 1.645 0.10811
X
0.80382 0.18548 4.334 9.97e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 20.98 on 39 degrees of freedom
Multiple R-squared: 0.7504, Adjusted R-squared: 0.7056
F-statistic: 16.75 on 7 and 39 DF, p-value: 5.594e-10
> summary(lm(R~Age+Ed+Ex0+M+U2+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + M + U2 + X, data = RyM)
Residuals:
Min
1Q Median
3Q Max
-43.705 -9.465 -2.503 10.541 62.651
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -579.69981 122.55977 -4.730 2.79e-05 ***
Age
0.95662 0.36590 2.614 0.012539 *
Ed
1.80086 0.57344 3.140 0.003168 **
Ex0
1.24790 0.14393 8.670 9.99e-11 ***
M
0.09528 0.13191 0.722 0.474318
U2
0.82280 0.45438 1.811 0.077686 .
X
0.61710 0.14976 4.121 0.000185 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.43 on 40 degrees of freedom
Multiple R-squared: 0.7331, Adjusted R-squared: 0.6931
F-statistic: 18.31 on 6 and 40 DF, p-value: 4.32e-10
> summary(lm(R~Age+Ed+Ex0+U2+X,data=RyM))
Call:
lm(formula = R ~ Age + Ed + Ex0 + U2 + X, data = RyM)
Residuals:

Min
1Q Median
3Q Max
-45.344 -9.859 -1.807 10.603 62.964
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -524.3743 95.1156 -5.513 2.13e-06 ***
Age
1.0198 0.3532 2.887 0.006175 **
Ed
2.0308 0.4742 4.283 0.000109 ***
Ex0
1.2331 0.1416 8.706 7.26e-11 ***
U2
0.9136 0.4341 2.105 0.041496 *
X
0.6349 0.1468 4.324 9.56e-05 ***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 21.3 on 41 degrees of freedom
Multiple R-squared: 0.7296, Adjusted R-squared: 0.6967
F-statistic: 22.13 on 5 and 41 DF, p-value: 1.105e-10
> shapiro.test(residuals(modelo))
Shapiro-Wilk normality test
data: residuals(modelo)
W = 0.9916, p-value = 0.9805
> modelo<-(lm(R~Age+Ed+Ex0+U2+X,data=RyM))
> modelo
Call:
lm(formula = R ~ Age + Ed + Ex0 + U2 + X, data = RyM)
Coefficients:
(Intercept)
-524.3743

Age
1.0198

Ed
2.0308

> shapiro.test(residuals(modelo))
Shapiro-Wilk normality test
data: residuals(modelo)
W = 0.9715, p-value = 0.3017
>

Ex0
1.2331

U2
X
0.9136
0.6349

> plot(R ~ S,RyM)


> plot(R ~ Age,pima)
> plot(R ~ Age,RyM)
> plot(R ~ Ed,RyM)
> plot(R ~ Ex0,RyM)
> plot(R ~ Ex1,RyM)
> plot(R ~ LF,RyM)
> plot(R ~ M,RyM)
> plot(R ~ N,RyM)
> plot(R ~ NW,RyM)
> plot(R ~ U1,RyM)
> plot(R ~ U2,RyM)
> plot(R ~ W,RyM)
> plot(R ~ X,RyM)
> plot(R ~ W,RyM,stat500)
Error en eval(expr, envir, enclos) : objeto "stat500" no encontrado
> stat500 <- data.frame(scale(stat500))
Error en scale(stat500) : objeto "stat500" no encontrado
> stat500 <- data.frame(scale(stat 500))
Error: unexpected numeric constant en "stat500 <- data.frame(scale(stat 500"
> hist(RyM$R)
> data(stat500)
Warning message:
In data(stat500) : data set 'stat500' not found
> par(mfrow=c(1,3))
> hist(RyM$R)
> plot(density(RyM$R,na.rm=TRUE))
> plot(R ~ R,RyM,stat500)
Error en eval(expr, envir, enclos) : objeto "stat500" no encontrado
> plot(R ~ R,RyM)
> par(mfrow=c(1,3))
> hist(RyM$R)
> plot(R ~ R,RyM)
> par(mfrow=c(1,3))
> hist(RyM$R)
> plot(density(RyM$R,na.rm=TRUE))
> plot(sort(RyM$R),pch=".")
> abline(g$coef,lty=5)
Error en abline(g$coef, lty = 5) : objeto "g" no encontrado
> par(mfrow=c(1,2))
> plot(R~X1 ,RyM)
Error en eval(expr, envir, enclos) : objeto "X1" no encontrado
> plot(R~Ex1 ,RyM)
> plot(R~S ,RyM)
> RyM(stat500)
Error: no se pudo encontrar la funcin "RyM"
> data(stat47)
Warning message:
In data(stat47) : data set 'stat47' not found
>

> modelo<-lm(R~Ex1)
> modelo
Call:
lm(formula = R ~ Ex1)
Coefficients:
(Intercept)
Ex1
16.5164
0.9222
> cat("Y=",modelo$coefficients[1],"+",modelo$coefficients[2],"X","\n\n")
Y= 16.51642 + 0.9222031 X