NIM : PO714203181013
PRODI : D4 TLM
1. Berikut ini adalah data kadar kolesterol darah dalam mg % yang selanjutnya dianggap
sebagai variabel Y dan berat badan dalam kg yang selanjutnya dianggap sebagai variabel
X. Kedua variabel diukur dari 10 orang laki-laki.
No. Kolesterol BB Y2 X2 XY
(Y) (X)
1 150 45 22500 2025 6750
2 175 50 30625 2500 8750
3 180 45 32400 2025 8100
4 250 65 62500 4225 16250
5 225 75 50625 5625 16875
6 200 60 40000 3600 12000
7 175 75 30625 5625 13125
8 275 80 75625 6400 22000
9 160 50 25600 2500 8000
10 190 55 36100 3025 10450
11 200 60 40000 3600 12000
12 175 75 30625 5625 13125
13 275 80 75625 6400 22000
14 160 50 25600 2500 8000
15 190 55 36100 3025 10450
2980 920 614550 58700 187875
n ΣY ΣX ΣY2 ΣX2 ΣXY
r=
∑ XY −(∑ X )( ∑ Y ) /n
√[ {∑ X −(∑ X ) /n}{∑ Y −(∑ Y ) /n }]
2 2 2 2
Descriptive Statistics
N Mean Std. Deviation
KOLESTER 15 198.67 40.110
BB 15 61.33 12.743
Valid N (listwise) 15
Correlations
KOLESTER BB
KOLESTER Pearson Correlation 1 .713**
Sig. (2-tailed) .003
N 15 15
**
BB Pearson Correlation .713 1
Sig. (2-tailed) .003
N 15 15
**. Correlation is significant at the 0.01 level (2-tailed).
Praktek
PERINGKAT
Pengetahuan (Variabel 2)
di di2
(variabel 1) Variabel Variabel 2
1
82 42 2 3 -1 1
98 46 6 4 2 4
87 39 5 2 3 9
40 37 1 1 0 0
116 65 9 7 2 4
113 88 8 9 -1 1
111 86 7 8 -1 1
83 56 3 5 -2 4
85 62 4 6 -2 4
126 92 10 10 0 0
∑ d 2i =28
N
6 ∑ d2i
i =1
r s =1− 3
N −N
6 x 28
3
=0 , 830
rs = 1 - 10 −10
rs tabel (α = 0,05 uji dua arah) dan N = 10 = 0,564
Karena 0,830 > 0,564 maka Ho ditolak artinya ada hubungan antara pengetahuan dan praktek.
Berikut hasil perhitungan dengan komputer program SPSS :
Correlations
1 2
Spearman's rho 1 Correlation Coefficient 1.000 .830**
Sig. (2-tailed) . .003
N 10 10
**
2 Correlation Coefficient .830 1.000
Sig. (2-tailed) .003 .
N 10 10
**. Correlation is significant at the 0.01 level (2-tailed).