Dummy Pendidikan: Categorical Variables Codings

You might also like

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

DUMMY PENDIDIKAN

Categorical Variables Codings


Parameter coding
Frequency (1) (2) (3)
PEND IBU PT 9 1,000 ,000 ,000
SD 6 ,000 1,000 ,000
SMA 67 ,000 ,000 1,000
SMP 29 ,000 ,000 ,000

Model Summary
Cox & Snell R Nagelkerke R
Step -2 Log likelihood Square Square
a
1 110,673 ,156 ,227
a. Estimation terminated at iteration number 20 because
maximum iterations has been reached. Final solution cannot
be found.

Omnibus Tests of Model Coefficients


Chi-square df Sig.
Step 1 Step 18,870 3 ,000
Block 18,870 3 ,000
Model 18,870 3 ,000

Classification Tablea
Predicted
DIAGNOSIS Percentage
Observed Negatif Positif Correct
Step 1 DIAGNOSIS Negatif 80 1 98,8
Positif 25 5 16,7
Overall Percentage 76,6
a. The cut value is ,500
Variables in the Equation
B S.E. Wald df Sig. Exp(B)
a
Step 1 PENDIBU 10,253 3 ,017
PENDIBU(1) -20,855 13397,657 ,000 1 ,999 ,000
PENDIBU(2) 1,958 1,159 2,856 1 ,091 7,083
PENDIBU(3) -1,076 ,487 4,870 1 ,027 ,341
Constant -,348 ,377 ,853 1 ,356 ,706
a. Variable(s) entered on step 1: PENDIBU.

CHISQUARE PENGETAHUAN

pengetahuan * DIAGNOSIS Crosstabulation


DIAGNOSIS
Negatif Positif Total
pengetahuan baik Count 61 5 66
Expected Count 48,0 18,0 66,0
kurang Count 19 25 44
Expected Count 32,0 12,0 44,0
Total Count 80 30 110
Expected Count 80,0 30,0 110,0

Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
a
Pearson Chi-Square 32,274 1 ,000
Continuity Correctionb 29,839 1 ,000
Likelihood Ratio 33,320 1 ,000
Fisher's Exact Test ,000 ,000
N of Valid Cases 110
a. 0 cells (0,0%) have expected count less than 5. The minimum expected count is 12,00.
b. Computed only for a 2x2 table

You might also like