In: Statistics and Probability
Consider the Toluca data (it is in the le named Toluca.txt). Use
R to do the following.
(a) Read the data and t a linear model. Print the ANOVA
table.
(b) Compute 92% con dence interval for b0 and b1 using the
appropriate R com-
mand.
(c) Test the hypothesis H0 : b1 = 0 vs Ha : b1 =/= 0 with level =
.05. What is
the p-value.
(d) Can you create a con dence interval for the mean amount of time
to produce
a batch with Lot.Size = 85. What would it be if Lot.Size= 50. What
about
when Lot.Size = 150. Compute the width of each interval. Comment
on
their widths.
(e) Tomorrow the factory decides to produce a batch of size 85.
Compute a 97%
prediction interval for the time it will take to produce that
batch.
(Data)Toluca.txt
Lot.Size Work.Hours
80 399
30 121
50 221
90 376
70 361
60 224
120 546
80 352
100 353
50 157
40 160
70 252
90 389
20 113
110 435
100 420
30 212
50 268
90 377
110 421
30 273
90 468
40 244
80 342
70 323