Professional Documents
Culture Documents
Logistic Regression
Notes
Output Created 28-NOV-2023 11:01:22
Comments
Input Data D:\Kuliah\UB\06. Aplikasi
Komputer Statistik\Sesi 14\
latihan kelas.sav
Active Dataset DataSet3
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 200
Missing Value Handling Definition of Missing User-defined missing values are
treated as missing
Syntax LOGISTIC REGRESSION
VARIABLES Y
/METHOD=ENTER X1 X2
/SAVE=PRED PGROUP
RESID SRESID
/CLASSPLOT
/CASEWISE OUTLIER(2)
/PRINT=GOODFIT CORR
ITER(1) CI(95)
/CRITERIA=PIN(0.05)
POUT(0.10) ITERATE(20)
CUT(0.5).
Resources Processor Time 00:00:00.03
Elapsed Time 00:00:01.34
Variables Created or Modified PRE_1 Predicted probability
PGR_1 Predicted group
RES_1 Difference between observed
and predicted probabilities
SRE_1 Standard residual
[DataSet3] D:\Kuliah\UB\06. Aplikasi Komputer Statistik\Sesi 14\latihan
kelas.sav
Iteration Historya,b,c
Coefficients
Iteration -2 Log likelihood Constant
Step 0 1 276.939 .080
2 276.939 .080
a. Constant is included in the model.
b. Initial -2 Log Likelihood: 276.939
c. Estimation terminated at iteration number 2 because
parameter estimates changed by less than .001.
Classification Tablea,b
Predicted
Kanker Paru
Tidak mengalami Mengalami Percentage
Observed kanker kanker Correct
Step 0 Kanker Paru Tidak mengalami kanker 0 96 .0
Mengalami kanker 0 104 100.0
Overall Percentage 52.0
a. Constant is included in the model.
b. The cut value is .500
Iteration Historya,b,c,d
Coefficients
Iteration -2 Log likelihood Constant Merokok Riwayat Keluarga
Step 1 1 208.765 -1.077 1.621 .790
2 207.580 -1.208 1.823 .962
3 207.575 -1.214 1.837 .973
4 207.575 -1.214 1.837 .973
a. Method: Enter
b. Constant is included in the model.
c. Initial -2 Log Likelihood: 276.939
d. Estimation terminated at iteration number 4 because parameter estimates changed
by less than .001.
Model Summary
Cox & Snell R Nagelkerke R
Step -2 Log likelihood Square Square
a
1 207.575 .293 .391
a. Estimation terminated at iteration number 4 because parameter
estimates changed by less than .001.
Classification Tablea
Observed Predicted
Kanker Paru
Tidak mengalami Mengalami Percentage
kanker kanker Correct
Step 1 Kanker Paru Tidak mengalami kanker 78 18 81.3
Mengalami kanker 27 77 74.0
Overall Percentage 77.5
a. The cut value is .500
Correlation Matrix
Constant Merokok Riwayat Keluarga
Step 1 Constant 1.000 -.255 -.333
Merokok -.255 1.000 -.643
Riwayat Keluarga -.333 -.643 1.000
Step number: 1
160 +
+
I
I
I
I
F I
I
R 120 +
+
E I
I
Q I
I
U I M
I
E 80 + M
M +
N I T
M I
C I T
M I
Y I T
M I
40 + T
M +
I T
M I
I T
M I
I T T T
T I
Predicted ---------+---------+---------+---------+---------+---------
+---------+---------+---------+----------
Prob:
0 .1 .2 .3 .4 .5 .6 .7
.8 .9 1
Group:
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMM
Casewise Lista