EKONOMETRIKA Dummy Susi

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

TIKET MASUK EKONOMETRIKA

MODEL REGRESI LOGISTIK

Oleh
Nama :Susi Ardiani Rahmayanti
NIM : C1G015201

FAKULTAS PERTANIAN
UNIVERSITAS MATARAM
2018
Data hipotesis yang di gunakan

Keputusa Pendidika
No n Lokasi Keluarga n
1 0 1 3 0
2 1 1 3 1
3 1 0 2 1
4 0 0 4 0
5 1 1 3 1
6 0 1 2 0
7 0 0 3 0
8 1 1 3 1
9 0 0 2 1
10 1 0 2 1
11 0 0 3 0
12 1 0 4 0
13 0 1 3 1
14 1 0 1 0
15 1 0 1 1
16 0 1 3 0
17 0 0 6 0
18 1 1 2 1
19 0 0 2 0
20 1 1 3 1
21 0 1 5 0
22 0 0 2 0
23 1 1 3 1
24 1 1 2 1
25 1 1 3 1
26 1 1 2 1
27 1 1 3 1
28 0 1 2 0
29 1 1 2 1
30 1 1 3 1

Model Logit: In (Pi/1-Pi) = Zi = β0 + β1X1 + β2X2


dimana:
P = Probabilitas membeli Mobil
X1 = Lokasi ( 1 jika jauh dan 0 jika dekat)
X2 = Keluarga
X3 = Pendidikan ( 1 jika sarjana dan 0 jika diploma)
PENYELESAIAN:
Output SPSS

1. Logistic Regression

Notes

Output Created 29-MAY-2018 13:32:20


Comments
Input Active Dataset DataSet0
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 30
Missing Value Handling Definition of Missing User-defined missing values are treated as
missing
Syntax LOGISTIC REGRESSION VARIABLES
KEPUTUSAN
/METHOD=ENTER LOKASI KELUARGA
PENDIDIKAN
/PRINT=GOODFIT CI(95)
/CRITERIA=PIN(0.05) POUT(0.10)
ITERATE(20) CUT(0.5).
Resources Processor Time 00:00:00.02

Elapsed Time 00:00:00.06

1. Case Processing Summary

Unweighted Cases a
N Percent

Selected Cases Included in Analysis 30 100.0

Missing Cases 0 .0

Total 30 100.0
Unselected Cases 0 .0
Total 30 100.0

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

Dependent Variable Encoding

Original Value Internal Value

0 0
1 1
2. Block 0: Beginning Block

2. Classification Tablea,b

Predicted

KEPUTUSAN Percentage
Observed 0 1 Correct

Step 0 KEPUTUSAN 0 0 13 .0

1 0 17 100.0

Overall Percentage 56.7

a. Constant is included in the model.


b. The cut value is .500

3. Variables in the Equation

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

Step 0 Constant .268 .368 .530 1 .467 1.308

4. Variables not in the Equation

Score df Sig.

Step 0 Variables LOKASI 1.833 1 .176

KELUARGA 2.550 1 .110


PENDIDIKAN 15.922 1 .000

Overall Statistics 16.140 3 .001

3. Block 1: Method = Enter

5. Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 18.045 3 .000

Block 18.045 3 .000

Model 18.045 3 .000


6. Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 23.009 a
.452 .606

a. Estimation terminated at iteration number 5 because parameter


estimates changed by less than .001.

Hosmer and Lemeshow Test

Step Chi-square df Sig.

1 7.633 5 .178

Contingency Table for Hosmer and Lemeshow Test

KEPUTUSAN = 0 KEPUTUSAN = 1

Observed Expected Observed Expected Total

Step 1 1 3 3.639 1 .361 4

2 4 3.421 0 .579 4

3 4 3.220 0 .780 4

4 0 .721 1 .279 1

5 1 1.273 8 7.727 9

6 0 .413 4 3.587 4

7 1 .314 3 3.686 4

7. Classification Tablea

Predicted

KEPUTUSAN Percentage
Observed 0 1 Correct

Step 1 KEPUTUSAN 0 11 2 84.6

1 2 15 88.2

Overall Percentage 86.7

a. The cut value is .500


8. Variables in the Equation

95% C.I.for EXP(B)

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

Step 1a LOKASI -.222 1.295 .029 1 .864 .801 .063 10.147

KELUARGA -.359 .612 .344 1 .557 .698 .211 2.317

PENDIDIKAN 3.694 1.258 8.627 1 .003 40.200 3.418 472.835

Constant -.592 1.795 .109 1 .742 .553

a. Variable(s) entered on step 1: LOKASI, KELUARGA, PENDIDIKAN.

You might also like