Anda di halaman 1dari 7

Contoh Perhitungan

Tinggi n xy x y
y r
[n( x 2 ) ( x)2 ][n( y 2 ) ( y)2 ]

8(3142) (73)(321)

[8(713) (73)2 ][8(14111) (321)2 ]

0.886

r = 0.886 hubungan linier positif


relatif kuat antara var x dan y
Diameter, x
Uji Signifikansi untuk Korelasi
Hipotesis
H0: = 0 (tak ada korelasi)
HA: 0 (ada korelasi)

Uji Statistik
r
t
1 r 2
(dgn n 2 der. kebebasan)

n2
Lanjutan
Apakah hub. Linier antara diameter dan
tinggi tabung cukup signifikan pada taraf.
signifikansi 0,05?

H0: = 0 (tak berkorelasi)


H1: 0 (ada korelasi)
=.05 , df = 8 - 2 = 6
r .886
t 4.68
1 r 2 1 .886 2
n2 82
Solusi
r .886 Keputusan:
t 4.68
1 r 2 1 .886 2 Tolak H0

n2 82 Kesimpulan:
Ada hubungan
d.f. = 8-2 = 6
linier pada taraf
signifikansi 5%
/2=.025 /2=.025

Reject H0 Do not reject H0 Reject H0


-t/2 t/2
0
-2.4469 2.4469
4.68
RLS Populasi
y y 0 1x
Observed Value
of y for xi

i Slope = 1
Predicted Value Random Error
of y for xi
for this x value

Intercept = 0

xi x
Penaksiran Model RLS (sampel)

Estimated Estimate of Estimate of the


(or predicted) the regression regression slope
y value
intercept
Independent

y i b0 b1x variable

The individual random error terms ei have a mean of zero


Persamaan RLS
Rumus Mencari b1 dan b0 :

b1
( x x )( y y )
( x x ) 2

atau:
dan
xy x y
b1 n b0 y b1 x
x 2

( x ) 2

Anda mungkin juga menyukai