Use in R
case1102$ratio <- with(case1102,Brain/Liver)
SAS code
data case1102;
set case1102;
ratio=Brain/Liver;
run;
1. Create a plot of the logarithm of the ratio of brain to liver
antibodies
against the sacrfice time, using different colors to code the
treatment
categories. Comment on the relationship between the response
and
the design variables.
Brain
41081
|
Liver
1456164
|
Time
0.5
|
Treatment
BD
|
Day
10
|
Sex
Female
|
Weight
239
|
Loss
5.9
|
Tumor
221
|
44286
|
1602171
|
0.5
|
BD
|
10
|
Female
|
225
|
4.0
|
246
|
|
102926
|
1601936
|
0.5
|
BD
|
10
|
Female
|
224
|
-4.9
|
61
|
|
25927
|
1776411
|
0.5
|
BD
|
10
|
Female
|
184
|
9.8
|
168
|
|
42643
|
1351184
|
0.5
|
BD
|
10
|
Female
|
250
|
6.0
|
164
|
|
31342
|
1790863
|
0.5
|
NS
|
10
|
Female
|
196
|
7.7
|
260
|
|
22815
|
1633386
|
0.5
|
NS
|
10
|
Female
|
200
|
0.5
|
27
|
|
16629
|
1618757
|
0.5
|
NS
|
10
|
Female
|
273
|
4.0
|
308
|
|
22315
|
1567602
|
0.5
|
NS
|
10
|
Female
|
216
|
2.8
|
93
|
|
77961
|
1060057
|
3.0
|
BD
|
10
|
Female
|
267
|
2.6
|
73
|
|
73178
|
715581
|
3.0
|
BD
|
10
|
Female
|
263
|
1.1
|
25
|
|
76167
|
620145
|
3.0
|
BD
|
10
|
Female
|
228
|
0.0
|
133
|
|
123730
|
1068423
|
3.0
|
BD
|
9
|
Female
|
261
|
3.4
|
203
|
|
25569
|
721436
|
3.0
|
NS
|
9
|
Female
|
253
|
5.9
|
159
|
|
33803
|
1019352
|
3.0
|
NS
|
10
|
Female
|
234
|
0.1
|
264
|
|
24512
|
667785
|
3.0
|
NS
|
10
|
Female
|
238
|
0.8
|
34
|
|
50545
|
961097
|
3.0
|
NS
|
9
|
Female
|
230
|
7.0
|
146
|
|
50690
|
1220677
|
3.0
|
NS
|
10
|
Female
|
207
|
1.5
|
212
|
|
84616
|
48815
|
24.0
|
BD
|
10
|
Female
|
254
|
3.9
|
155
|
|
55153
|
16885
|
24.0
|
BD
|
10
|
Male
|
256
|
-4.7
|
190
|
|
48829
|
22395
|
24.0
|
BD
|
10
|
Male
|
247
|
-2.8
|
101
|
|
89454
|
83504
|
24.0
|
BD
|
11
|
Female
|
198
|
4.2
|
214
|
|
37928
|
20323
|
24.0
|
NS
|
10
|
Female
|
237
|
2.5
|
224
|
|
12816
|
15985
|
24.0
|
NS
|
10
|
Male
|
293
|
3.1
|
151
|
|
23734
|
25895
|
24.0
|
NS
|
10
|
Male
|
288
|
9.7
|
285
|
|
31097
|
33224
|
24.0
|
NS
|
11
|
Female
|
236
|
5.9
|
380
|
|
35395
|
4142
|
72.0
|
BD
|
11
|
Female
|
251
|
4.1
|
39
|
|
18270
|
2364
|
72.0
|
BD
|
10
|
Female
|
223
|
4.0
|
153
|
|
5625
|
1979
|
72.0
|
BD
|
10
|
Male
|
298
|
12.8
|
164
|
|
7497
|
1659
|
72.0
|
BD
|
10
|
Male
|
260
|
7.3
|
364
|
|
6250
|
928
|
72.0
|
NS
|
10
|
Male
|
272
|
11.0
|
484
|
|
11519
|
2423
|
72.0
|
NS
|
11
|
Female
|
226
|
2.2
|
168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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