Professional Documents
Culture Documents
NIM : 211910958
KELAS : 2ST4
𝑖: 11 12 13 14 15 16 17 18 19 20
𝑋𝑖1 : 17 12 6 12 8 15 17 21 6 11
𝑋𝑖2 : 11,02 9,51 3,79 6,45 4,6 13,86 13,03 15,21 3,64 9,57
𝑌𝑖 : 121 112 50 82 48 127 140 155 39 90
Assume that regression model (7.1) with independent normal error terms is appropriate.
a. Obtain the estimated regression function. How is 𝑏1 here interpreted? How is 𝑏2 here
interpreted?
JAWAB:
𝑌: Lama waktu yang diperlukan untuk menangani pengiriman (menit)
𝑋1 : jumlah drum dalam pengiriman
𝑋2 : berat total kiriman (100 pounds)
𝑏0 , 𝑏1 , dan 𝑏2 masing-masing mengestimasi 𝛽0 , 𝛽1 dan 𝛽2 .
1 7 5,11
58
1 18 16,72
3,2 152
1 5 41
7,03
1 14 93
1 11 10,98 101
1 5 4,04 38
1 23 22,07 203
1 9 7,03 78
1 16 10,62 𝑏0 117
4,76
𝑿= 1 5 𝒃 = [𝑏1 ] 𝒀 = 44
1 17 11,02 121
𝑏2
1 12 9,51 112
1 6 3,79 50
1 12 6,45 82
1 8 4,6 48
1 15 13,86 127
1 17 13,03 1400
1 21 15,21 155
1 6 39
3,64 [ 90 ]
[1 11 9,57 ]
0,306662 −0,03295 0,014867
(𝑿′ 𝑿)−𝟏 = [−0,03295 0,011956 −0,012 ]
0,014867 −0,012 0,014037
1889
′
𝑿 𝒀 = [ 27246 ]
21648,81
b. Test whether there is a regression relation, using a level of significance of .05. State the
alternatives, decision rule, and conclusion. What does your test result imply about 𝛽1 and
𝛽2 ? What is the 𝑃-value of the test?
JAWAB:
Uji F simultan
𝐻0 : 𝛽1 = 𝛽2 = 0
𝐻1 : minimal ada satu 𝛽𝑘 ≠ 0 untuk 𝑘 = 1, 2
Tingkat signifikansi: 0,05
Perhitungan:
1889 3,325
′ ′
𝑿 𝒀 = [ 27246 ] 𝒀 𝒀 = [219449] 𝒃 = [3,768] 𝑛 = 20
21648,81 5,080
1889
𝑆𝑆𝐸 = 𝒀′ 𝒀 − 𝒃′ 𝑿′ 𝒀 = [219449] − [3,325 3,768 5,080] [ 27246 ] = 536,4682
21648,81
1889
1 1
𝑆𝑆𝑅 = 𝒃′ 𝑿′ 𝒀 − (𝑛) 𝒀′ 𝟏𝟏′ 𝒀 = [3,325 3,768 5,080] [ 27246 ] − (20) 3568321
21648,81
𝑆𝑆𝑅 = 40496,48
Sumber Keragaman SS df MS
Regresi 40496,48 2 20248,24
Error 536,4682 17 31,55696
Total 41032,9482 19
𝑀𝑆𝑅 20248,24
𝐹 ∗ = 𝑀𝑆𝐸 = 31,55696 = 641,6411
b. For the observations in Problem 7.12, would you consider a shipment of 20 drums with
a weight of 5 hundred pounds to be within the scope of the model? What about a
shipment of 20 drums with a weight of 19 hundred pounds? Support your answer by
preparing a relevant plot.
JAWAB:
Estimasi garis regresi: 𝑌̂ = 3,325 + 3,768𝑋1 + 5,0080𝑋2
Gambar 1. Plot regresi linear berganda
Gambar 2. Plot regresi linear berganda jika nilai 𝑿𝟏 = 𝟐𝟎 dan 𝑿𝟐 =5 masuk ke dalam
model
Gambar 3. Plot regresi linear berganda jika nilai 𝑿𝟏 = 𝟐𝟎 dan 𝑿𝟐 = 𝟏𝟗 masuk ke dalam
model
Ketiga gambar di atas menunjukkan bahwa tidak jauh berbeda jika terdapat nilai amatan
baru untuk 𝑋1 = 20 dan 𝑋2 = 5 masuk ke dalam model serta jika 𝑋1 = 20 dan 𝑋2 = 19
masuk ke dalam model. Terlihat jika tidak terdapat perubahan berarti secara visual. Jadi,
tidak apa apa memasukkan kedua keadaan 𝑋1 dan 𝑋2 ke dalam batas model yang
diajukan.
3. 7.14. Refer to Chemical shipment Problem 7.12. Four separate shipments with the following
characteristics will arrive in next day or two:
1 2 3 4
𝑋1 9 12 15 18
𝑋2 7,20 9,00 12,50 16,50
Management desires predictions of the handling times for these shipments so that the actual
handling times can be compared with the predicted times to determine whether any are “out
of line”. Develop the needed predictions using the most efficient approach and a family
confidence coefficient of 95 percent.
JAWAB:
Untuk menentukan prediksi interval simultan yang terbaik, ditentukan terlebih dahulu nilai
𝑆 dan 𝐵 untuk 𝑔 = 2 untuk keluarga selang kepercayaan 0,95.
𝑆 2 = 2𝐹(0,95; 2,17) = 7,183 atau 𝑆 = 2,68
dan
𝐵 = 𝑡(0,9875; 17) = 2,458
Maka prediksi interval simultan Bonferroni dengan kelompok selang kepercayaan 95%
adalah
73,81 ± 2,458(5,808) atau 59,53 ≤ 𝑌1(𝑛𝑒𝑤) ≤ 88,09
94,26 ± 2,458(5,75) atau 80,1265 ≤ 𝑌2(𝑛𝑒𝑤) ≤ 108,39
123,34 ± 2,458(5,73) atau 109,256 ≤ 𝑌3(𝑛𝑒𝑤) ≤ 137,42
154,96 ± 2,458(5,72) atau 140,90 ≤ 𝑌4(𝑛𝑒𝑤) ≤ 169,02
4. 7.16. Refer to Chemical shipment Problem 7.12. three new shipments are to be received, each
with 𝑋ℎ1 = 7 and 𝑋ℎ2 = 6.
a. Obtain a 95 percent prediction interval for the mean handling time for these shipments.
JAWAB:
Ingin diestimasi selang kepercayaan 95% untuk rata-rata lama waktu yang diperlukan
untuk menangani pengiriman.
𝑚=3 𝑌̂ℎ = 𝑿′𝒉 𝒃 = 60,179 𝑡0,975;17 = 2,110
1 0,306662 −0,03295 0,014867
𝑿 𝒉 = [ 7] 𝑀𝑆𝐸 = 31,55696 (𝑿′ 𝑿)−𝟏 = [−0,03295 0,011956 −0,012 ]
6 0,014867 −0,012 0,014037
1
𝑠 2 (𝑌̅ℎ(𝑛𝑒𝑤) ) = 𝑀𝑆𝐸 (𝑚 + 𝑿′𝒉 (𝑿′ 𝑿)−𝟏 𝑿𝒉 )
0,306662 −0,03295 0,014867 1
1
𝑠 2 (𝑌̅ℎ(𝑛𝑒𝑤) ) = 31,55696(3 + [1 7 6] [−0,03295 0,011956 −0,012 ] [7]
0,014867 −0,012 0,014037 6
𝑠 2 (𝑌̅ℎ(𝑛𝑒𝑤) ) = 13,899
Estimasi selang kepercayaan 95% untuk rata-rata lama waktu yang diperlukan untuk
menangani pengiriman.
60.179 ± 2,110 × √13,899 = [52,31; 68,05] atau 52,31 ≤ 𝑌̅ℎ 𝑛𝑒𝑤 ≤ 68,05
Dengan tingkat kepercayaan 95% dapat dinyatakan bahwa rata-rata waktu yang
diperlukan untuk menangani pengiriman saat 3 kapal diterima berada di antara 52,31
menit sampai 68,05.
b. Convert the interval obtained in part (a) into a 95 percent prediction interval for the total
handling time for the three shipments.
JAWAB:
𝑃(52,31(3) ≤ 𝑌̅ℎ(𝑛𝑒𝑤) ≤ 68,05(3)) = 0,95
𝑃(156,93 ≤ 𝑌̅ℎ(𝑛𝑒𝑤) ≤ 204,15) = 0,95
5. 7.17. Patient satisfaction. A hospital administrator wished to study the relation between
patient satisfaction (𝑌) and patient’s age (𝑋1 , in years), severity of illness (𝑋2 , an index), and
anxiety level (𝑋3 , an index). She randomly selected 23 patients and collected the data
presented below, where larger values of 𝑌, 𝑋2 , and 𝑋3 are, respectively, associated with more
satisfaction, increased severity of illness, and more anxiety.
𝑖: 1 2 3 4 5 6 7 8 9 10 11 12
𝑋𝑖1 : 50 36 40 41 28 49 42 45 52 29 29 43
𝑋𝑖2 : 51 46 48 44 43 54 50 48 62 50 48 53
𝑋𝑖3 : 2,3 2,3 2,2 1,8 1,8 2,9 2,2 2,4 2,9 2,1 2,4 2,4
𝑌𝑖 : 48 57 66 70 89 36 46 54 26 77 89 67
𝑖: 13 14 15 16 17 18 19 20 21 22 23
𝑋𝑖1 : 38 34 53 36 33 29 33 55 29 44 43
𝑋𝑖2 : 55 51 54 49 56 46 49 51 52 58 50
𝑋𝑖3 : 2,2 2,3 2,2 2 2,5 1,9 2,1 2,4 2,3 2,9 2,3
𝑌𝑖 : 47 51 57 66 79 88 60 49 77 52 60
Assume that regression model (7.5) for three independent variables with independent
normal error terms is appropriate.
a. Obtain the estimated regression function.
JAWAB:
𝑌: Tingkat kepuasan pasien
𝑋1 : Umur pasien (dalam tahun)
𝑋2 : Indeks keparahan penyakit
𝑋3 : Indeks tingkat kecemasan
Model: 𝑌 = 𝛽0 + 𝛽1 𝑋1 + 𝛽2 𝑋2 + 𝛽3 𝑋3 + 𝜖
Estimasi parameter regresi 𝛽0 , 𝛽1 , 𝛽2 , dan 𝛽3 oleh 𝑏0 , 𝑏1 , 𝑏2 , 𝑏3
2,3
1 50 51 48
2,3
1 36 46 57
48 2,2
1 40 66
44 1,8
1 41 70
1 28 43 1,8 89
1 49 54 2,9 36
1 42 50 2,2 46
1 45 48 2,4 54
1 52 62 2,9 26
1 29 50 2,1 𝑏0 77
1 29 48 2,4 89
𝑏
𝑿= 1 43 53 2,4 𝒃 = [ 1] 𝒀 = 67
1 38 55 𝑏2 47
2,2
1 34 51 𝑏3 51
2,3
1 53 54 2,2 57
1 36 49 2 66
1 33 56 2,5 79
1 29 46 1,9 88
1 33 49 2,1 60
1 55 51 2,4 49
1 29 52 77
2,3
1 44 58 52
2,9 [60]
[1 43 50 2,3]
b. Test whether there is a regression relation; use a .10 level of significance. State the
alternatives, decision rule, and conclusion. What does your test imply about 𝛽1 , 𝛽2 , and
𝛽3 ? What is the 𝑃-value of the test?
JAWAB:
Uji F simultan
𝐻0 : 𝛽1 = 𝛽2 = 𝛽3 = 0
𝐻1 : minimal ada satu 𝛽𝑘 ≠ 0 untuk 𝑘 = 1, 2,3
Tingkat signifikansi: 0,1
Perhitungan:
1411 162,876
53479 −1,21032
𝑿′ 𝒀 = [ 70695 ] 𝒀′ 𝒀 = [92707] 𝒃=[ ] 𝑛 = 23
−0,66591
3171,9 −8,61303
𝑆𝑆𝐸 = 𝒀′ 𝒀 − 𝒃′ 𝑿′ 𝒀
1411
53479
𝑆𝑆𝐸 = [92707] − [162,876 −1,21032 −0,66591 −8,61303] [
70695 ]
3171,9
𝑆𝑆𝐸 = 2011,6
1
𝑆𝑆𝑅 = 𝒃′ 𝑿′ 𝒀 − ( ) 𝒀′ 𝟏𝟏′ 𝒀
𝑛
1411
53479 1
𝑆𝑆𝑅 = [162,876 −1,21032 −0,66591 −8,61303] [ − ( ) 1990921
70695 ] 23
3171,9
𝑆𝑆𝑅 = 4133,6
Sumber Keragaman SS df MS
Regresi 4133,6 3 1377,867
Error 2011,6 19 105,874
Total 6145,2 22
𝑀𝑆𝑅
𝐹 ∗ = 𝑀𝑆𝐸 = 13,014
162,876
−1,21032
Diketahui juga 𝒃 = [ ], 𝑡 𝛼 = 𝑡0,0167;19 = 2,294
−0,66591 1−2𝑔;𝑛−𝑝
−8,61303
Maka, Bonferroni 90% joint confidence interval untuk 𝛽1 , 𝛽2 , dan 𝛽3 adalah
−1,21032 ± 2,294 × √0,0909 = (−1,902; −0,519)
−0,66591 ± 2,294 × √0,674 = (−2,549; 1,217)
−8,61303 ± 2,294 × √149,85 = (−36,695; 19,47)
Interpretasi:
Dengan tingkat kepercayaan 90% selang kepercayaan bersama untuk nilai 𝛽1 berada di
antara −1,902 sampai −0,519, untuk nilai 𝛽2 berada di antara −2,549 sampai 1,217, dan
untuk nilai 𝛽3 berada di antara −36,695 sampai 19,47.
d. Calculate the coefficient of multiple correlation. What does it indicate here?
JAWAB:
𝑆𝑆𝑅 4133,6
𝑅 = √𝑅 = √𝑆𝑆𝑇 = √6145,2 = 0,82
Nilai koefisien korelasi berganda disini menunjukkan keeratan hubungan antara variabel
tingkat kepuasan pasien dengan variabel umur pasien, variabel indeks keparahan
penyakitnya, dan variabel indeks tingkat kecemasan secara bersama-sama. Nilai sebesar
0,82 menunjukkan bahwa terdapat hubungan yang kuat kuat antara variabel tingkat
kepuasan pasien dengan variabel umur pasien, variabel indeks keparahan penyakitnya,
dan variabel indeks tingkat kecemasan secara bersama-sama.