You are on page 1of 6

Logistic Regression

Notes

Output Created 02-APR-2017 14:32:04


Comments
C:\Users\acer\Documents\IUD - SARAH
Data
Untitled1.sav
Active Dataset DataSet1
Input Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 38
User-defined missing values are treated as
Missing Value Handling Definition of Missing
missing
LOGISTIC REGRESSION VARIABLES KB
/METHOD=BSTEP(LR) Usia
Tingkat_Pendidikan Pekerjaan Paritas
/CONTRAST (Usia)=Indicator
/CONTRAST
(Tingkat_Pendidikan)=Indicator
Syntax
/CONTRAST (Pekerjaan)=Indicator
/CONTRAST (Paritas)=Indicator
/SAVE=PRED
/PRINT=GOODFIT CI(95)
/CRITERIA=PIN(0.05) POUT(0.10)
ITERATE(20) CUT(0.5).
Processor Time 00:00:00.05
Resources
Elapsed Time 00:00:00.09
Variables Created or Modified PRE_8 Predicted probability

[DataSet1] C:\Users\acer\Documents\IUD - SARAH Untitled1.sav

Case Processing Summary

Unweighted Casesa N Percent


Included in Analysis 38 100.0

Selected Cases Missing Cases 0 .0

Total 38 100.0
Unselected Cases 0 .0
Total 38 100.0

a. If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding

Original Value Internal Value

NON-IUD 0
IUD 1

Categorical Variables Codings

Frequency Parameter coding

(1) (2)

Dasar 6 1.000 .000

Tingkat_Pendidikan Menengah 19 .000 1.000

Tinggi 13 .000 .000


<2 21 1.000
Paritas
>=2 17 .000
Tidak Bekerja 25 1.000
Pekerjaan
Bekerja 13 .000
20 - 35 th 24 1.000
Usia
> 35 th 14 .000

Block 0: Beginning Block

Classification Tablea,b

Observed Predicted

KB Percentage

NON-IUD IUD Correct

NON-IUD 25 0 100.0
KB
Step 0 IUD 13 0 .0

Overall Percentage 65.8


a. Constant is included in the model.
b. The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)

Step 0 Constant -.654 .342 3.657 1 .056 .520

Variables not in the Equation

Score df Sig.

Usia(1) 19.381 1 .000

Tingkat_Pendidikan 3.574 2 .167

Tingkat_Pendidikan(1) .974 1 .324


Variables
Step 0 Tingkat_Pendidikan(2) 1.052 1 .305

Pekerjaan(1) 1.252 1 .263

Paritas(1) 18.087 1 .000

Overall Statistics 25.199 5 .000

Block 1: Method = Backward Stepwise (Likelihood Ratio)

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 32.405 5 .000

Step 1 Block 32.405 5 .000

Model 32.405 5 .000


Step -1.316 2 .518
Step 2a Block 31.089 3 .000
Model 31.089 4 .000
Step -1.007 1 .316

Step 3a Block 30.082 2 .000

Model 30.082 2 .000

a. A negative Chi-squares value indicates that the Chi-squares


value has decreased from the previous step.
Model Summary

Step -2 Log likelihood Cox & Snell R Nagelkerke R


Square Square

1 16.419a .574 .793


2 17.735a .559 .772
3 18.742b .547 .756

a. Estimation terminated at iteration number 7 because parameter


estimates changed by less than .001.
b. Estimation terminated at iteration number 6 because parameter
estimates changed by less than .001.

Hosmer and Lemeshow Test

Step Chi-square df Sig.

1 4.048 7 .774
2 .528 4 .971
3 .382 2 .826

Contingency Table for Hosmer and Lemeshow Test

KB = NON-IUD KB = IUD Total

Observed Expected Observed Expected

1 8 7.989 0 .011 8

2 4 3.976 0 .024 4
3 4 3.973 0 .027 4

4 4 3.811 0 .189 4

Step 1 5 3 3.063 1 .937 4

6 1 1.717 4 3.283 5

7 0 .191 3 2.809 3

8 1 .214 3 3.786 4

9 0 .067 2 1.933 2
1 14 13.939 0 .061 14
2 4 3.939 0 .061 4
3 3 3.313 1 .687 4
Step 2
4 3 2.932 2 2.068 5
5 1 .748 6 6.252 7
6 0 .130 4 3.870 4
Step 3 1 18 17.790 0 .210 18
2 2 2.210 1 .790 3

3 4 4.210 2 1.790 6

4 1 .790 10 10.210 11

Classification Tablea

Observed Predicted

KB Percentage

NON-IUD IUD Correct

NON-IUD 23 2 92.0
KB
Step 1 IUD 1 12 92.3

Overall Percentage 92.1


NON-IUD 24 1 96.0
KB
Step 2 IUD 3 10 76.9
Overall Percentage 89.5
NON-IUD 24 1 96.0
KB
Step 3 IUD 3 10 76.9

Overall Percentage 89.5

a. The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B) 95% C.I.for EXP(B)

Lower Upper
Usia(1) -3.994 1.530 6.809 1 .009 .018 .001 .370

Tingkat_Pendidikan 1.166 2 .558

Tingkat_Pendidikan(1) .019 3.340 .000 1 .996 1.019 .001 710.442

Step 1a Tingkat_Pendidikan(2) -1.534 1.440 1.135 1 .287 .216 .013 3.629

Pekerjaan(1) -1.352 1.405 .926 1 .336 .259 .016 4.063

Paritas(1) -3.891 1.735 5.027 1 .025 .020 .001 .613

Constant 4.225 1.740 5.899 1 .015 68.390


Usia(1) -3.623 1.391 6.786 1 .009 .027 .002 .408
Pekerjaan(1) -1.274 1.338 .906 1 .341 .280 .020 3.854
Step 2a
Paritas(1) -3.935 1.612 5.956 1 .015 .020 .001 .461
Constant 3.397 1.473 5.316 1 .021 29.870
Usia(1) -3.413 1.274 7.176 1 .007 .033 .003 .400

Step 3a Paritas(1) -3.586 1.411 6.462 1 .011 .028 .002 .440

Constant 2.558 1.072 5.694 1 .017 12.916

a. Variable(s) entered on step 1: Usia, Tingkat_Pendidikan, Pekerjaan, Paritas.


Model if Term Removed

Variable Model Log Change in -2 Log df Sig. of the


Likelihood Likelihood Change

Usia -13.818 11.217 1 .001

Tingkat_Pendidikan -8.868 1.316 2 .518


Step 1
Pekerjaan -8.721 1.024 1 .312

Paritas -12.260 8.100 1 .004


Usia -14.032 10.329 1 .001
Step 2 Pekerjaan -9.371 1.007 1 .316
Paritas -13.903 10.070 1 .002
Usia -14.319 9.895 1 .002
Step 3
Paritas -14.158 9.574 1 .002

Variables not in the Equation

Score df Sig.

Tingkat_Pendidikan 1.282 2 .527

Variables Tingkat_Pendidikan(1) .047 1 .828


Step 2a
Tingkat_Pendidikan(2) 1.282 1 .258

Overall Statistics 1.282 2 .527


Tingkat_Pendidikan 1.255 2 .534

Tingkat_Pendidikan(1) .002 1 .968


Variables
Step 3b Tingkat_Pendidikan(2) 1.210 1 .271

Pekerjaan(1) .975 1 .324

Overall Statistics 2.222 3 .528

a. Variable(s) removed on step 2: Tingkat_Pendidikan.


b. Variable(s) removed on step 3: Pekerjaan.

You might also like