You are on page 1of 15

Nama : SHOFI NUR WERDAYA SAHDA

NIM : G42171943

Gol :D

TUGAS 1

LOGISTIC REGRESSION VARIABLES status
  /METHOD=ENTER pmt

  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

Logistic Regression

[DataSet0] 

Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 19 100.0

Missing Cases 0 .0

Total 19 100.0

Unselected Cases 0 .0

Total 19 100.0

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


cases.

Dependent Variable Encoding

Original Value Internal Value

status gizi kurang 0

status gizi normal 1


Block 0: Beginning Block

Classification Tablea,b

Predicted

STATUS GIZI

status gizi status gizi Percentage


Observed kurang normal Correct

Step 0 STATUS GIZI status gizi kurang 0 8 .0

status gizi normal 0 11 100.0

Overall Percentage 57.9

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 .318 .465 .470 1 .493 1.375

Variables not in the Equation

Score df Sig.

Step 0 Variables PMT 2.170 1 .141

Overall Statistics 2.170 1 .141

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 2.177 1 .140

Block 2.177 1 .140

Model 2.177 1 .140


Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 23.686a .108 .146

a. Estimation terminated at iteration number 3 because


parameter estimates changed by less than .001.

Classification Tablea

Predicted

STATUS GIZI

status gizi status gizi Percentage


Observed kurang normal Correct

Step 1 STATUS GIZI status gizi kurang 4 4 50.0

status gizi normal 2 9 81.8

Overall Percentage 68.4

a. The cut value is .500

Variables in the Equation

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

Step 1a PMT 1.504 1.054 2.036 1 .154 4.500

Constant -2.197 1.833 1.436 1 .231 .111

a. Variable(s) entered on step 1: PMT.


LOGISTIC REGRESSION VARIABLES status
  /METHOD=ENTER pmt

  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

Logistic Regression

[DataSet0] 

Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 19 100.0

Missing Cases 0 .0

Total 19 100.0

Unselected Cases 0 .0

Total 19 100.0

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


cases.

Dependent Variable Encoding

Original Value Internal Value

status gizi kurang 0

status gizi normal 1

Categorical Variables Codings

Parameter
coding

Frequency (1)

PMT Tidak Pmt 6 1.000

pmt 13 .000
Block 0: Beginning Block

Classification Tablea,b

Predicted

STATUS GIZI

status gizi status gizi Percentage


Observed kurang normal Correct

Step 0 STATUS GIZI status gizi kurang 0 8 .0

status gizi normal 0 11 100.0

Overall Percentage 57.9

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 .318 .465 .470 1 .493 1.375

Variables not in the Equation

Score df Sig.

Step 0 Variables PMT(1) 2.170 1 .141

Overall Statistics 2.170 1 .141

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 2.177 1 .140

Block 2.177 1 .140

Model 2.177 1 .140


Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 23.686a .108 .146

a. Estimation terminated at iteration number 3 because


parameter estimates changed by less than .001.

Variables in the Equation

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

Step 1a PMT(1) -1.504 1.054 2.036 1 .154 .222

Constant .811 .601 1.821 1 .177 2.250

a. Variable(s) entered on step 1: PMT.

LOGISTIC REGRESSION VARIABLES status
  /METHOD=ENTER pmt

  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

Logistic Regression

[DataSet0] 

Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 19 100.0

Missing Cases 0 .0

Total 19 100.0

Unselected Cases 0 .0

Total 19 100.0

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


cases.
Dependent Variable Encoding

Original Value Internal Value

status gizi kurang 0

status gizi normal 1

Categorical Variables Codings

Parameter
coding

Frequency (1)

PMT Tidak Pmt 6 1.000

pmt 13 .000

Block 0: Beginning Block

Classification Tablea,b,c

Predicted

STATUS GIZI

status gizi status gizi Percentage


Observed kurang normal Correct

Step 0 STATUS GIZI status gizi kurang 0 8 .0

status gizi normal 0 11 100.0

Overall Percentage 57.9

a. No terms in the model.

b. Initial Log-likelihood Function: -2 Log Likelihood = 26.340

c. The cut value is .500

Variables not in the Equation

Score df Sig.

Step 0 Variables PMT(1) .667 1 .414

Overall Statistics .667 1 .414


Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step .680 1 .410

Block .680 1 .410

Model .680 1 .410

Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 25.660a .035 .047

a. Estimation terminated at iteration number 3 because


parameter estimates changed by less than .001.

Classification Tablea

Predicted

STATUS GIZI

status gizi status gizi Percentage


Observed kurang normal Correct

Step 1 STATUS GIZI status gizi kurang 4 4 50.0

status gizi normal 2 9 81.8

Overall Percentage 68.4

a. The cut value is .500


Variables in the Equation

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

Step 1a PMT(1) -.693 .866 .641 1 .423 .500

a. Variable(s) entered on step 1: PMT.

TUGAS 2

GET DATA
  /TYPE=XLS
  /FILE='F:\SHOFI NUR\BIOSTATISTIK.xls'
  /SHEET=name 'Sheet1'
  /CELLRANGE=full
  /READNAMES=on
  /ASSUMEDSTRWIDTH=32767.
DATASET NAME DataSet1 WINDOW=FRONT.
LOGISTIC REGRESSION VARIABLES CaParu
  /METHOD=ENTER Perokok Usia Riwayatkeluarga Daerah
  /CONTRAST (Perokok)=Indicator
  /CONTRAST (Riwayatkeluarga)=Indicator
  /CONTRAST (Daerah)=Indicator

  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

Logistic Regression

Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 20 100.0

Missing Cases 0 .0

Total 20 100.0

Unselected Cases 0 .0

Total 20 100.0

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


cases.
Dependent Variable
Encoding

Original
Value Internal Value

Ca Paru 0

Tidak Ca 1

Categorical Variables Codings

Parameter
coding

Frequency (1)

Perokok Merokok 9 1.000

Tidak me 11 .000

Block 0: Beginning Block

Classification Tablea,b

Predicted

Ca Paru
Percentage
Observed Ca Paru Tidak Ca Correct

Step 0 Ca Paru Ca Paru 0 6 .0

Tidak Ca 0 14 100.0

Overall Percentage 70.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 .847 .488 3.015 1 .082 2.333


Variables not in the Equation

Score df Sig.

Step 0 Variables Perokok(1) 10.476 1 .001

Overall Statistics 10.476 1 .001

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 12.977 1 .000

Block 12.977 1 .000

Model 12.977 1 .000

Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 11.457a .477 .677

a. Estimation terminated at iteration number 20 because


maximum iterations has been reached. Final solution cannot
be found.
Classification Tablea

Predicted

Ca Paru
Percentage
Observed Ca Paru Tidak Ca Correct

Step 1 Ca Paru Ca Paru 6 0 100.0

Tidak Ca 3 11 78.6

Overall Percentage 85.0

a. The cut value is .500

Variables in the Equation

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

Step 1a Perokok(1) -21.896 1.212E4 .000 1 .999 .000

Constant 21.203 1.212E4 .000 1 .999 1.615E9

a. Variable(s) entered on step 1: Perokok.

LOGISTIC REGRESSION VARIABLES CaParu
  /METHOD=ENTER Perokok
  /CONTRAST (Perokok)=Indicator

  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

Logistic Regression

[DataSet1] 
Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 20 100.0

Missing Cases 0 .0

Total 20 100.0

Unselected Cases 0 .0

Total 20 100.0

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


cases.

Dependent Variable
Encoding

Original
Value Internal Value

Ca Paru 0

Tidak Ca 1

Categorical Variables Codings

Parameter
coding

Frequency (1)

Perokok Merokok 9 1.000

Tidak me 11 .000

Block 0: Beginning Block
Classification Tablea,b,c

Predicted

Ca Paru
Percentage
Observed Ca Paru Tidak Ca Correct

Step 0 Ca Paru Ca Paru 0 6 .0

Tidak Ca 0 14 100.0

Overall Percentage 70.0

a. No terms in the model.

b. Initial Log-likelihood Function: -2 Log Likelihood = 27.726

c. The cut value is .500

Variables not in the Equation

Score df Sig.

Step 0 Variables Perokok(1) 1.000 1 .317

Overall Statistics 1.000 1 .317

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 1.019 1 .313

Block 1.019 1 .313

Model 1.019 1 .313


Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 26.706a .050 .066

a. Estimation terminated at iteration number 3 because


parameter estimates changed by less than .001.

Classification Tablea

Predicted

Ca Paru
Percentage
Observed Ca Paru Tidak Ca Correct

Step 1 Ca Paru Ca Paru 6 0 100.0

Tidak Ca 3 11 78.6

Overall Percentage 85.0

a. The cut value is .500

Variables in the Equation

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

Step 1a Perokok(1) -.693 .707 .961 1 .327 .500

a. Variable(s) entered on step 1: Perokok.

You might also like