Logistic Regression: Notes

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

LOGISTIC REGRESSION VARIABLES KATEGORI

/METHOD=ENTER JK FAK IPK


/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).

Logistic Regression

Notes

Output Created 26-Mar-2020 20:35:26

Comments

Input Active Dataset DataSet3

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 15

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

Syntax LOGISTIC REGRESSION VARIABLES


KATEGORI
/METHOD=ENTER JK FAK IPK
/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.031

Elapsed Time 00:00:00.029

Variables Created or Modified PRE_2 Predicted probability

PGR_2 Predicted group

RES_2 Difference between observed and predicted


probabilities

SRE_2 Standard residual

[DataSet3]
Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 15 100.0

Missing Cases 0 .0

Total 15 100.0

Unselected Cases 0 .0

Total 15 100.0

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

Dependent Variable Encoding

Original Value Internal Value

PEMAHAMAN TERHADAP
LITERASI KEUANGAN 0
SANGAT SEDIKIT

PEMAHAMAN TERHADAP
LITERASI KEUANGAN 1
SANGAT NAIK

Block 1: Method = Enter

Iteration Historya,b,c,d

Coefficients

Iteration -2 Log likelihood Constant JK FAK IPK

Step 1 1 19.739 -.132 .084 .627 .209

2 19.737 -.145 .095 .651 .227

3 19.737 -.145 .095 .651 .227

a. Method: Enter

b. Constant is included in the model.

c. Initial -2 Log Likelihood: 20,190

d. Estimation terminated at iteration number 3 because parameter estimates changed by less


than ,001.
Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step .453 3 .929

Block .453 3 .929

Model .453 3 .929

Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 19.737a .030 .040

a. Estimation terminated at iteration number 3 because parameter


estimates changed by less than ,001.

Hosmer and Lemeshow Test

Step Chi-square df Sig.

1 4.318 4 .365

Contingency Table for Hosmer and Lemeshow Test

KATEGORI = PEMAHAMAN KATEGORI = PEMAHAMAN


TERHADAP LITERASI KEUANGAN TERHADAP LITERASI KEUANGAN
SANGAT SEDIKIT SANGAT NAIK

Observed Expected Observed Expected Total

Step 1 1 1 1.561 2 1.439 3

2 2 1.439 1 1.561 3

3 0 .376 1 .624 1

4 2 1.062 1 1.938 3

5 1 .649 1 1.351 2

6 0 .912 3 2.088 3
Classification Tablea

Predicted

KATEGORI

PEMAHAMAN PEMAHAMAN
TERHADAP TERHADAP
LITERASI LITERASI
KEUANGAN KEUANGAN Percentage
Observed SANGAT SEDIKIT SANGAT NAIK Correct

Step 1 KATEGORI PEMAHAMAN TERHADAP


LITERASI KEUANGAN 1 5 16.7
SANGAT SEDIKIT

PEMAHAMAN TERHADAP
LITERASI KEUANGAN 2 7 77.8
SANGAT NAIK

Overall Percentage 53.3

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 JK .095 1.234 .006 1 .939 1.099 .098 12.349

FAK .651 1.162 .314 1 .575 1.918 .197 18.702

IPK .227 1.168 .038 1 .846 1.255 .127 12.375

Constant -.145 1.170 .015 1 .901 .865

a. Variable(s) entered on step 1: JK, FAK, IPK.

Correlation Matrix

Constant JK FAK IPK

Step 1 Constant 1.000 -.550 -.275 -.639

JK -.550 1.000 -.364 .396

FAK -.275 -.364 1.000 -.177

IPK -.639 .396 -.177 1.000


Step number: 1

Observed Groups and Predicted Probabilities

4 ┼ ┼
│ │
│ │
F │ │
R 3 ┼ 1 1 1 ┼
E │ 1 1 1 │
Q │ 1 1 1 │
U │ 1 1 1 │
E 2 ┼ 1 0 0 1 1 ┼
N │ 1 0 0 1 1 │
C │ 1 0 0 1 1 │
Y │ 1 0 0 1 1 │
1 ┼ 1 0 0 1 0 0 1 ┼
│ 1 0 0 1 0 0 1 │
│ 1 0 0 1 0 0 1 │
│ 1 0 0 1 0 0 1 │
Predicted ─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼──────────
Prob: 0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 1
Group: 0000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111

Predicted Probability is of Membership for PEMAHAMAN TERHADAP LITERASI KEUANGAN SANGAT NAIK
The Cut Value is ,50
Symbols: 0 - PEMAHAMAN TERHADAP LITERASI KEUANGAN SANGAT SEDIKIT
1 - PEMAHAMAN TERHADAP LITERASI KEUANGAN SANGAT NAIK

Each Symbol Represents ,25 Cases.

Block 0: Beginning Block

Iteration Historya,b,c

Coefficients

Iteration -2 Log likelihood Constant

Step 0 1 20.190 .400

2 20.190 .405

3 20.190 .405

a. Constant is included in the model.

b. Initial -2 Log Likelihood: 20,190

c. Estimation terminated at iteration number 3 because


parameter estimates changed by less than ,001.
Classification Tablea,b

Predicted

KATEGORI

PEMAHAMAN PEMAHAMAN
TERHADAP TERHADAP
LITERASI LITERASI
KEUANGAN KEUANGAN Percentage
Observed SANGAT SEDIKIT SANGAT NAIK Correct

Step 0 KATEGORI PEMAHAMAN TERHADAP


LITERASI KEUANGAN 0 6 .0
SANGAT SEDIKIT

PEMAHAMAN TERHADAP
LITERASI KEUANGAN 0 9 100.0
SANGAT NAIK

Overall Percentage 60.0

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 .405 .527 .592 1 .442 1.500

Variables not in the Equation

Score df Sig.

Step 0 Variables JK .045 1 .833

FAK .417 1 .519

IPK .045 1 .833

Overall Statistics .453 3 .929

You might also like