Anda di halaman 1dari 2

1.Kerjakan dengan metode Kolerasi dan Regresi Linier.

X Y X2 Y2 XY n 10
4 3 16 9 12 ∑x 61
5 4 25 16 20 ∑y 52
4 3 16 9 12 X2 403
6 5 36 25 30 Y2 298
4 4 16 16 16 XY 345
6 6 36 36 36 ∑ (x)2 3721
7 5 49 25 35 ∑x 6,1
8 7 64 49 56 ∑y 5,2
8 7 64 49 56
9 8 81 64 72
𝛴 61 52 403 298 345

Dengan cara Kolerasi Dengan cara Regresi Linier

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


r= 𝛽1 =
√(𝑛∑ 𝑥 2 − ∑𝑥 2)((𝑛∑ 𝑦 2 − ∑𝑦 2) 𝑛 ∑𝑥2 − ∑𝑥 2

10 (345) − 61 (52)
10 345 − 61 (52) 𝛽1 =
r= 2 10 403 − 61 2
√ 10 403 − 61 √[ 10 345 − 52 2]
3450 − 3172
3450 −(3172) 𝛽1 =
r= ( 4030) − (3721)
√ 4030 −3721 √[3450 −2704 ]
278
3450 −(3172) 𝛽1 =
r= 309
√(309)(746)
𝛽1 = 0,899676
278
r=
(17,57)(27,3)
𝛽0 = y-(bxx)
278
r= 𝛽0 = -0,28803
479,8

r= 0,579408087 ~ 57,94% y= 𝛽0 + 𝛽1x1

y= -0,288 + 0,89968
2.Suatu sample Random sebanyka 10 keluarga bertujuan untuk melihat hubungan antara
pengeluaran konsumsi (ribuan) dengan pendapatan keluarga (ribuan).

Keluarga Pendapatan (x) Konsumsi (y) x2 y2 xy n 10


1 80 70 6400 4900 5600 ∑x 1700
2 100 65 10000 4225 6500 ∑y 1110
2
3 120 90 14400 8100 10800 X 322000
4 140 95 19600 9025 13300 Y2 132100
5 160 110 25600 12100 17600 XY 205500
6 180 115 32400 13225 20700 ∑ (x)2 2890000
7 200 120 40000 14400 24000 ∑x 170
8 220 140 48400 19600 30800 ∑y 111
9 240 155 57600 24025 37200
10 260 150 67600 22500 39000
∑ n = 10 1700 1110 322000 132100 205500

Dengan cara kolerasi Dengan Cara Regresi Linier

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


r= 2 2 2 2 𝛽1 =
√(𝑛∑ 𝑥 − ∑𝑥 )((𝑛∑ 𝑦 − ∑𝑦 ) 𝑛 ∑𝑥2 − ∑𝑥 2

10 20550 − 1700 (1110) 10 (205500) − 1700 (1110)


r= 2 2 𝛽1 =
√ 10 322000 − 1700 √[ 10 132100 − 1110 ] 10 322000 − 1700 2

2055000 −(1887000) 20550000 − 1887000


r = √ 3220000 −2890000 √[1321000 −1232100] 𝛽1 =
( 3220000) − (2890000)

2055000 −(1887000) = 18663000
r= 𝛽1 =
√(330000)√(88900)
330000
168000
r= 𝛽1 = 56,55455
(574,4)(298,1)

168000
r = 171229 𝛽0 = y-(bxx)

𝛽0 = -9503,27
r= 0,981142213 ~ 98,11%
y= 𝛽0 + 𝛽1x1

y= -9503,3 + 56,5545

Anda mungkin juga menyukai