Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Contingency Table for Hosmer and Lemeshow Test

Kebiasaan = Jarang Kebiasaan = Sering


Observed Expected Observed Expected Total
Step 1 1 1 ,794 0 ,206 1
2 1 ,783 0 ,217 1
3 0 ,747 1 ,253 1
4 0 ,727 1 ,273 1
5 1 ,693 0 ,307 1
6 1 ,662 0 ,338 1
7 1 ,655 0 ,345 1
8 1 ,632 0 ,368 1
9 1 ,617 0 ,383 1
10 2 2,689 3 2,311 5

Classification Tablea
Predicted
Kebiasaan Percentage
Observed Jarang Sering Correct
Step 1 Kebiasaan Jarang 8 1 88,9
Sering 5 0 ,0
Overall Percentage 57,1
a. The cut value is ,500

Variables in the Equation


B S.E. Wald df Sig. Exp(B)
a
Step 1 Tingkat -,536 1,155 ,215 1 ,643 ,585
Umur -,034 ,070 ,233 1 ,629 ,967
Constant 1,615 3,180 ,258 1 ,611 5,030
a. Variable(s) entered on step 1: Tingkat, Umur.
Contingency Table for Hosmer and Lemeshow Test
Tingkat = Rendah Tingkat = Tinggi
Observed Expected Observed Expected Total
Step 1 1 0 1,348 2 ,652 2
2 2 1,279 0 ,721 2
3 2 1,243 0 ,757 2
4 1 1,130 1 ,870 2
5 1 1,019 1 ,981 2
6 1 ,980 1 1,020 2
7 2 ,864 0 1,136 2
8 0 ,382 1 ,618 1
9 0 1,074 3 1,926 3
10 1 ,681 1 1,319 2

Classification Tablea
Predicted
Tingkat Percentage
Observed Rendah Tinggi Correct
Step 1 Tingkat Rendah 6 4 60,0
Tinggi 4 6 60,0
Overall Percentage 60,0
a. The cut value is ,500

Variables in the Equation


B S.E. Wald df Sig. Exp(B)
a
Step 1 Umur -,026 ,050 ,271 1 ,603 ,974
Kebiasaan -1,002 ,993 1,018 1 ,313 ,367
Constant 2,414 2,767 ,761 1 ,383 11,176
a. Variable(s) entered on step 1: Umur, Kebiasaan.

You might also like