You are on page 1of 6

Logistic Regression

Notes

Output Created 30-May-2019 15:10:48

Comments

Input Data C:\Users\ABDIL M\Documents\binery


logistc.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 102

Missing Value Handling Definition of Missing User-defined missing values are treated as
missing

Syntax LOGISTIC REGRESSION VARIABLES ILO


/METHOD=BSTEP(LR) Komorbid
ProsedurOperasi IntraoperativeBloodLoss
TransfusiDarahPerioperatif DurasiPmberian
/CONTRAST (ProsedurOperasi)=Indicator
/CONTRAST
(TransfusiDarahPerioperatif)=Indicator
/CONTRAST (Komorbid)=Indicator
/CONTRAST
(IntraoperativeBloodLoss)=Indicator
/CONTRAST (DurasiPmberian)=Indicator
/SAVE=PRED
/PRINT=GOODFIT CI(95)
/CRITERIA=PIN(0.05) POUT(0.10)
ITERATE(20) CUT(0.5).

Resources Processor Time 00:00:00.063

Elapsed Time 00:00:00.093

Variables Created or Modified PRE_2 Predicted probability

[DataSet1] C:\Users\ABDIL M\Documents\binery logistc.sav

Case Processing Summary

Unweighted Casesa N Percent


Selected Cases Included in Analysis 102 100.0

Missing Cases 0 .0

Total 102 100.0

Unselected Cases 0 .0

Total 102 100.0

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

Dependent Variable
Encoding

Original
Value Internal Value

Ya 0

Tidak 1

Categorical Variables Codings

Parameter coding

Frequency (1)

durasi pemberian <= 24 jam 43 1.000

> 24 jam 59 .000

prosedur operasi bersama Ya 57 1.000

Tidak 45 .000

intraoperative blood loss <1500 94 1.000

> 1500 8 .000

transfursi darah perioperatif ya 39 1.000

tidak 63 .000

Komorbid ada 71 1.000

tidak ada 31 .000

Block 0: Beginning Block

Classification Tablea,b

Predicted

Observed Infeksi Luka Operasi


Percentage
Ya Tidak Correct

Step 0 Infeksi Luka Operasi Ya 0 10 .0

Tidak 0 92 100.0

Overall Percentage 90.2

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 2.219 .333 44.420 1 .000 9.200

Variables not in the Equation

Score df Sig.

Step 0 Variables Komorbid(1) 4.841 1 .028

ProsedurOperasi(1) 5.235 1 .022

IntraoperativeBloodLoss(1) 27.260 1 .000

TransfusiDarahPerioperatif(1) 12.580 1 .000

DurasiPmberian(1) 3.525 1 .060

Overall Statistics 37.422 5 .000

Block 1: Method = Backward Stepwise (Likelihood Ratio)

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 34.505 5 .000

Block 34.505 5 .000

Model 34.505 5 .000

Step 2a Step -1.483 1 .223

Block 33.022 4 .000

Model 33.022 4 .000


a. A negative Chi-squares value indicates that the Chi-squares
value has decreased from the previous step.

Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 30.928a .287 .606

2 32.411a .277 .584

a. Estimation terminated at iteration number 20 because maximum


iterations has been reached. Final solution cannot be found.

Hosmer and Lemeshow Test

Step Chi-square df Sig.

1 3.642 8 .888

2 .317 6 .999

Contingency Table for Hosmer and Lemeshow Test

Infeksi Luka Operasi = Ya Infeksi Luka Operasi = Tidak Total

Observed Expected Observed Expected

Step 1 1 8 7.746 5 5.254 13

2 0 1.100 10 8.900 10

3 1 .576 7 7.424 8

4 1 .292 11 11.708 12

5 0 .116 6 5.884 6

6 0 .140 12 11.860 12

7 0 .030 10 9.970 10

8 0 .000 12 12.000 12

9 0 .000 10 10.000 10

10 0 .000 9 9.000 9

Step 2 1 5 5.000 1 1.000 6

2 3 3.284 8 7.716 11

3 1 .716 13 13.284 14
4 1 .861 17 17.139 18

5 0 .139 22 21.861 22

6 0 .000 8 8.000 8

7 0 .000 7 7.000 7

8 0 .000 16 16.000 16

Classification Tablea

Predicted

Infeksi Luka Operasi


Percentage
Observed Ya Tidak Correct

Step 1 Infeksi Luka Operasi Ya 5 5 50.0

Tidak 1 91 98.9

Overall Percentage 94.1

Step 2 Infeksi Luka Operasi Ya 5 5 50.0

Tidak 1 91 98.9

Overall Percentage 94.1

a. The cut value is ,500

Variables in the Equation

95,0% C.I.for EXP(B)

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

Step 1a Komorbid(1) -19.418 6.232E3 .000 1 .998 .000 .000 .

ProsedurOperasi(1) -1.373 1.216 1.273 1 .259 .253 .023 2.750

IntraoperativeBloodLoss(1) 3.466 1.487 5.433 1 .020 32.008 1.736 590.231

TransfusiDarahPerioperatif(1) -1.881 1.201 2.453 1 .117 .152 .014 1.604

DurasiPmberian(1) -2.119 1.162 3.328 1 .068 .120 .012 1.171

Constant 21.762 6.232E3 .000 1 .997 2.827E9

Step 2a Komorbid(1) -19.456 6.220E3 .000 1 .998 .000 .000 .

IntraoperativeBloodLoss(1) 3.839 1.459 6.922 1 .009 46.471 2.662 811.246

TransfusiDarahPerioperatif(1) -2.137 1.178 3.289 1 .070 .118 .012 1.188

DurasiPmberian(1) -2.066 1.151 3.223 1 .073 .127 .013 1.209

Constant 20.674 6.220E3 .000 1 .997 9.517E8


a. Variable(s) entered on step 1: Komorbid, ProsedurOperasi, IntraoperativeBloodLoss, TransfusiDarahPerioperatif, DurasiPmberian.

Model if Term Removed

Model Log Change in -2 Log


Variable Likelihood Likelihood df Sig. of the Change

Step 1 Komorbid -18.671 6.414 1 .011

ProsedurOperasi -16.206 1.483 1 .223

IntraoperativeBloodLoss -19.479 8.029 1 .005

TransfusiDarahPerioperatif -16.965 3.002 1 .083

DurasiPmberian -17.693 4.458 1 .035

Step 2 Komorbid -19.602 6.792 1 .009

IntraoperativeBloodLoss -21.634 10.856 1 .001

TransfusiDarahPerioperatif -18.314 4.217 1 .040

DurasiPmberian -18.371 4.331 1 .037

Variables not in the Equation

Score df Sig.

Step 2a Variables ProsedurOperasi(1) 1.403 1 .236

Overall Statistics 1.403 1 .236

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

You might also like