You are on page 1of 9

Tinggi (cm) Berat (kg)

(x) (y) 𝒙𝒚 𝒙𝟐 𝒚𝟐
155 53 8215 24025 2809

156 48 7488 24336 2304

165 62 10230 27225 3844

142 47 6674 20164 2209

157 54 8478 24649 2916

161 64 10304 25921 4096

155 55 8525 24025 3025

153 52 7956 23409 2704

156 54 8424 24336 2916

166 64 10624 27556 4096

154 53 8162 23716 2809

156 50 7800 24336 2500

159 55 8745 25281 3025

160 60 9600 25600 3600

147 44 6468 21609 1936

∑ 𝑥 = 2342 ∑ 𝑦 = 815 ∑ 𝑥 𝑦 =127693 ∑ 𝑥 2 = 366188 ∑ 𝑦 2 = 44789

a) Kolerasi antara pembolehubah

𝑛(∑ 𝑥𝑦)−(∑ 𝑥)(∑ 𝑦)


r=
√[𝑛(∑ 𝑥 2 )− (∑ 𝑥)2 ][𝑛(∑ 𝑦 2 )− (∑ 𝑦)2 ]

15(127693)−(2342)(815)
r=
√[15(366188)−(2342)2 ][15(44789)−(815)2 ]

r = 0.862
b) Gambar rajah serakan

70

60

50
BERAT (KG)

40

30

20

10

0
140 145 150 155 160 165 170
TINGGI (CM)

c) Pekali-pekali regrasi

(∑ 𝒚)(∑ 𝒙𝟐 )− (∑ 𝒙)(∑ 𝒙𝒚) (815)(366188)−(2342)(127693)


𝒂= = = -78.12958
𝒏(∑ 𝒙𝟐 )− (∑ 𝒙)𝟐 15(366188)− (2342)2

𝒏(∑ 𝒙𝒚)−(∑ 𝒙)(∑ 𝒚) 15(127693)−(2342)(815)


𝒃= = = 0.8484
𝒏(∑ 𝒙𝟐 )− (∑ 𝒙)𝟐 15(366188)−(2342)2

𝑦’ = 𝑎 + 𝑏𝑥

𝑦’ = −78.12958 + 0.8484𝑥

d) Pekali penentu

𝑒𝑥𝑝𝑙𝑎𝑖𝑛𝑒𝑑 𝑣𝑎𝑟𝑖𝑎𝑡𝑖𝑜𝑛
𝑟2 =
𝐽𝑢𝑚𝑙𝑎ℎ 𝑣𝑎𝑟𝑖𝑎𝑠𝑖

Total varation = explained variation + unexplained varation

𝑦’ = −78.12958 + 0.8484𝑥
𝑥 = 155 𝑦’ = −78.12958 + 0.8484 (155)
= 53.37242

𝑥 = 156 𝑦’ = −78.12958 + 0.8484 (156)


= 54.22082

𝑥 = 165 𝑦’ = −78.12958 + 0.8484 (165)


= 61.85642

𝑥 = 142 𝑦’ = −78.12958 + 0.8484 (142)


= 42.34322

𝑥 = 157 𝑦’ = −78.12958 + 0.8484 (157)


= 55.06922

𝑥 = 161 𝑦’ = −78.12958 + 0.8484 (161)


= 54.46282

𝑥 = 155 𝑦’ = −78.12958 + 0.8484 (155)


= 53.37242

𝑥 = 153 𝑦’ = −78.12958 + 0.8484 (153)


= 51.67562

𝑥 = 156 𝑦’ = −78.12958 + 0.8484 (156)


= 54.22082
𝑥 = 166 𝑦’ = −78.12958 + 0.8484 (166)
= 62.70482

𝑥 = 154 𝑦’ = −78.12958 + 0.8484 (154)


= 52.52402

𝑥 = 156 𝑦’ = −78.12958 + 0.8484 (156)


= 54.22082

𝑥 = 159 𝑦’ = −78.12958 + 0.8484 (159)


= 56.76602

𝑥 = 160 𝑦’ = −78.12958 + 0.8484 (160)


= 57.61442

𝑥 = 147 𝑦’ = −78.12958 + 0.8484 (147)


= 46.58522

53+48+62+47+54+64+55+52+54+64+53+50+55+60+44
𝑦̅ =
15

= 54.3333
Tinggi Berat
y’ (𝐲′ − 𝐲̅)𝟐 (𝒚 − 𝒚′ )𝟐
(cm)(x) (kg)(y) (𝐲 − 𝐲̅)𝟐

155 53 53.37242 1.7776888900 0.91695946 0.1387

156 48 54.22082 40.1106888900 0.01192027 38.6986

165 62 61.85642 58.7782888900 56.64699802 0.0206

142 47 42.34322 53.7772888900 143.68289477 21.6856

157 54 55.06922 0.1110888900 0.54644621 1.1432

161 64 58.46282 93.4450888900 17.08020115 30.6604

155 55 53.37242 0.4444888900 0.91695946 2.6490

153 52 51.67562 5.4442888900 7.04573318 0.1052

156 54 54.22082 0.1110888900 0.01192027 0.0488

166 64 62.70482 93.4450888900 70.13761003 1.6775

154 53 52.52402 1.7776888900 3.26156376 0.2266

156 50 54.22082 18.7774888900 0.01192027 17.8153

159 55 56.76602 0.4444888900 5.93419344 3.1188

160 60 57.61442 32.1114888900 10.78741474 5.6910

147 44 46.58522 106.7770888900 59.98161725 6.6834

𝟐
∑𝑥 = ̅ 𝟐=
∑(𝒚 − 𝒚) ̅ 𝟐=
∑(𝒚′ − 𝒚) ∑(𝒚 − 𝒚′ ) =
∑ 𝑦 = 815 ∑ 𝐲’ = 1908.82322
2342 507.3371 376.9744 130.3627
Total variation = explained variation + unexplained varation

= 376.97435 + 130.3627
= 507.3371

𝑒𝑥𝑝𝑙𝑎𝑖𝑛𝑒𝑑 𝑣𝑎𝑟𝑖𝑎𝑡𝑖𝑜𝑛
𝑟2 = 𝑡𝑜𝑡𝑎𝑙 𝑣𝑎𝑟𝑖𝑎𝑡𝑖𝑜𝑛

376.97435
𝑟 2 = 507.33705 = 0.7430

Analisis reja
̂𝒊
𝒆𝒊 = 𝒀𝒊− 𝒀

Tinggi (cm) Berat (kg)


y' y-y'
(x) (y)
155 53 53.37242 -0.37242
156 48 54.22082 -6.22082
165 62 61.85642 0.14358
142 47 42.34322 4.65678
157 54 55.06922 -1.06922
161 64 58.46282 5.53718
155 55 53.37242 1.62758
153 52 51.67562 0.32438
156 54 54.22082 -0.22082
166 64 62.70482 1.29518
154 53 52.52402 0.47598
156 50 54.22082 -4.22082
159 55 56.76602 -1.76602
160 60 57.61442 2.38558
147 44 46.58522 -2.58522

∑ 𝑥= 2342 ∑ 𝑦 = 815 ∑ 𝐲’ = 815.0091 ∑ 𝜀𝑖 = 0.0000


Plot reja ketinggian badan(x) terhadap berat badan (y)
8

2
Residuals

0
140 145 150 155 160 165 170
-2

-4

-6

-8
Tinggi (cm)

Ujian T