SPSS1106

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 7

Input Data

Proses Analisis
Output SPSS
LOGISTIC REGRESSION VARIABLES Y
/METHOD=ENTER X1 X2 X3 X4
/PRINT=GOODFIT CORR
/CRITERIA=PIN(0.05) POUT(0.10) ITERATE(20) CUT(0.5).

Logistic Regression

Notes
Output Created 11-JUN-2024 07:42:50
Comments
Input Active Dataset DataSet2
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data 45
File
Missing Value Handling Definition of Missing User-defined missing values
are treated as missing
Syntax LOGISTIC REGRESSION
VARIABLES Y
/METHOD=ENTER X1 X2
X3 X4
/PRINT=GOODFIT CORR
/CRITERIA=PIN(0.05)
POUT(0.10) ITERATE(20)
CUT(0.5).
Resources Processor Time 00:00:00,02
Elapsed Time 00:00:00,05

Case Processing Summary


Unweighted Casesa N Percent
Selected Cases Included in Analysis 45 100.0
Missing Cases 0 .0
Total 45 100.0
Unselected Cases 0 .0
Total 45 100.0

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


cases.
Dependent Variable
Encoding
Original Value Internal Value
Tidak 0

Ya 1

Block 0: Beginning Block

Classification Tablea,b
Predicted
Y Percentage
Observed Tidak Ya Correct
Step 0 Y Tidak 26 0 100.0
Ya 19 0 .0
Overall Percentage 57.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 -.314 .302 1.080 1 .299 .731

Variables not in the Equation


Score df Sig.
Step 0 Variables X1 .028 1 .867
X2 .651 1 .420
X3 1.369 1 .242
X4 1.010 1 .315
Overall Statistics 3.973 4 .410

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 4.482 4 .345
Block 4.482 4 .345
Model 4.482 4 .345
Uji Chi Square
Nilai Chi Square sebesar 4,482 dengan nilai Sig
sebesar 0,345

Model Summary
Cox & Snell R Nagelkerke R
Step -2 Log likelihood Square Square
a
1 56.808 .095 .127

a. Estimation terminated at iteration number 5 because


parameter estimates changed by less than .001.

Interpretasi
Nilai -2Log likelihood sebesar 56,808.

Hosmer and Lemeshow Test


Step Chi-square df Sig.
1 5.949 7 .546

Interpretasi
Nilai Sig sebesar 0,546 > 0,05 maka tidak ada hubungan antara X1, X2, X3, X4 dan Y.

Contingency Table for Hosmer and Lemeshow Test


Y = Tidak Y = Ya
Observed Expected Observed Expected Total
Step 1 1 5 4.500 0 .500 5
2 3 3.585 2 1.415 5
3 1 2.989 4 2.011 5
4 3 2.895 2 2.105 5
5 3 2.839 2 2.161 5
6 4 2.695 1 2.305 5
7 3 2.362 2 2.638 5
8 2 2.205 3 2.795 5
9 2 1.931 3 3.069 5
Classification Tablea
Predicted
Y Percentage
Observed Tidak Ya Correct
Step 1 Y Tidak 19 7 73.1
Ya 12 7 36.8
Overall Percentage 57.8

a. The cut value is .500

Variables in the Equation


B S.E. Wald df Sig. Exp(B)
Step 1a X1 -.127 .357 .126 1 .723 .881
X2 .006 .005 1.726 1 .189 1.007
X3 -.297 .308 .930 1 .335 .743
X4 26.675 23.195 1.323 1 .250 384239019290.
539
Constant -15.653 12.955 1.460 1 .227 .000

a. Variable(s) entered on step 1: X1, X2, X3, X4.

Interpretasi
Persamaan regresi logistic
Y = -15,653 – 0,127X1 + 0,006X2 – 0,297X3 + 26,675X4
Nilai konstan Y sebesar -15,653 mengalami penurunan sebesar 0,127 saat X1 naik 1, mengalami
kenaikan sebesar 0,006 saat X2 naik 1, mengalami penurunan sebesar 0,297 saat X3 naik 1 dan
mengalami kenaikan sebesar 26,675 saat X4 naik 1.

You might also like