Statistika
OLEH:
Nama : MUHAMMAD WILDAM
Nim : 1923041019
Jurusan/Kelas : PTO-02
∑ xy
r xy = Rumus 7.1
√∑ x 2 y 2
Dimana :
x =( x i−x )
y =( y i− y )
n ∑ x i y i−( ∑ x i )( ∑ yi )
r xy =¿ 2 2 2 2
Rumus 7.2
√( n ∑ x −( x ) )( n ∑ y −( y ) )
i i i i
Contoh :
x = 800 900 700 600 700 800 900 600 500 500 / bulan
y = 300 300 200 200 200 200 300 100 100 100 / bulan
Ho : ρ = 0
Ha : ρ ≠ 0
TABEL 7.2
Pendap Pengelu −¿ −¿
xy
atan/ aran/ x2 y2
( x i−x ) ( y i− y )
No bulan bulan
dalam dalam
x y
100000 10000
(x) (y)
1 8 3 1 1 1 1 1
2 9 3 2 1 4 1 2
3 7 2 0 0 0 0 0
4 6 2 -1 0 1 0 0
5 7 2 0 0 0 0 0
6 8 2 1 0 1 0 0
7 9 3 2 1 4 1 2
8 6 1 -1 -1 1 1 1
9 5 1 -2 -1 4 1 2
10 5 1 -2 -1 4 1 2
∑ ¿70 ∑ ¿20 0 0 20 6 10
−¿ −¿
x=7 y=2
Untuk perhitungan koefisien korelasi, maka data pendapatan dan
pengeluaran perlu dimasukkan ke dalam Tabel 7.2. Dari table
tersebut telah ditemulkan:
Rata-rata x = 70 : 10 = 7
Rata-rata y = 20 : 10 = 2
HAL. 230
∑ x 2 = 20
∑ y2 =6
∑ x 2 y 2 = 18
Dengan Rumus 7:1.r dapat dihitung:
∑ xy 10
r xy = √∑ x 2
y2
= √ 20.6 = 0 , 9129
0,9129 √ 10−2
t= =6,33
√ 1−0,9129 2
HAL. 231
TABEL 7.3
2. Korelasi Ganda