You are on page 1of 13

GET

FILE='C:\Users\user\Downloads\asi.sav'.
DATASET NAME DataSet0 WINDOW=FRONT.
RECODE bbibu (Lowest thru 50=1) (51 thru 55=2) (56 thru 60=3) (61 thru Highest=4) INTO bbibugrup.
EXECUTE.
RECODE Hb2 (Lowest thru 11=1) (12 thru Highest=2) INTO hbgrup.
EXECUTE.
RECODE bbbayi (Lowest thru 2499=1) (2500 thru Highest=2) INTO bbbayigrup.
EXECUTE.
COMPUTE umurbulan=umur/12.
EXECUTE.
COMPUTE umurbulan=umur * 12.
EXECUTE.
COMPUTE rata2hb=(Hb1 + Hb2)/2.
EXECUTE.
COMPUTE RISIKO=0.
EXECUTE.
IF (bbibu > 65 kg & kerja) RISIKO=1.

>Error # 4007 in column 17. Text: kg


>The expression is incomplete. Check for missing operands, invalid operators,
>unmatched parentheses or excessive string length.
>This command not executed.
EXECUTE.
COMPUTE risiko1=0.
EXECUTE.
IF (Hb1 < 10 | umur > 30) risiko1=1.
EXECUTE.
T-TEST GROUPS=eksklu(0 1)
/MISSING=ANALYSIS
/VARIABLES=Hb1
/CRITERIA=CI(.9500).

T-Test

Notes

Output Created 22-Dec-2016 22:06:12

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Cases Used Statistics for each analysis are based on the


cases with no missing or out-of-range data
for any variable in the analysis.
Syntax T-TEST GROUPS=eksklu(0 1)
/MISSING=ANALYSIS
/VARIABLES=Hb1
/CRITERIA=CI(.9500).

Resources Processor Time 00:00:00.016

Elapsed Time 00:00:00.038

[DataSet1] C:\Users\user\Downloads\asi.sav

Group Statistics

status menyusui asi N Mean Std. Deviation Std. Error Mean

kadar hb pengukuran pertama tdk EKSKLUSIVE 24 10.421 1.4712 .3003

EKSKLUSIVE 26 10.277 1.3228 .2594

Independent Samples Test

Levene's Test for Equality of Variances t-test for Equality of Means

95% Confidence Interval of the


Difference
Std. Error
F Sig. t df Sig. (2-tailed) Mean Difference Difference Lower Upper

kadar hb pengukuran pertama Equal variances assumed .072 .790 .364 48 .717 .1439 .3951 -.6505 .9384

Equal variances not assumed .363 46.376 .719 .1439 .3968 -.6547 .9425

T-TEST PAIRS=Hb1 WITH Hb2 (PAIRED)


/CRITERIA=CI(.9500)
/MISSING=ANALYSIS.

T-Test

Notes

Output Created 22-Dec-2016 22:19:25

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>


N of Rows in Working Data File 50

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

Cases Used Statistics for each analysis are based on the


cases with no missing or out-of-range data
for any variable in the analysis.

Syntax T-TEST PAIRS=Hb1 WITH Hb2 (PAIRED)


/CRITERIA=CI(.9500)
/MISSING=ANALYSIS.

Resources Processor Time 00:00:00.000

Elapsed Time 00:00:00.000

[DataSet1] C:\Users\user\Downloads\asi.sav

Paired Samples Statistics

Mean N Std. Deviation Std. Error Mean

Pair 1 kadar hb pengukuran pertama 10.346 50 1.3835 .1957

kadar hb pengukuran kedua 10.860 50 1.0558 .1493

Paired Samples Correlations

N Correlation Sig.

Pair 1 kadar hb pengukuran pertama &


50 .707 .000
kadar hb pengukuran kedua

Paired Samples Test

Paired Differences t df Sig. (2-tailed)

95% Confidence Interval of the


Difference

Mean Std. Deviation Std. Error Mean Lower Upper

Pair 1 kadar hb pengukuran pertama -


-.5140 .9821 .1389 -.7931 -.2349 -3.701 49 .001
kadar hb pengukuran kedua

ONEWAY bbbayi BY didik


/STATISTICS DESCRIPTIVES
/MISSING ANALYSIS
/POSTHOC=BONFERRONI ALPHA(0.05).

Oneway

Notes

Output Created 22-Dec-2016 23:03:39

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Cases Used Statistics for each analysis are based on


cases with no missing data for any variable
in the analysis.

Syntax ONEWAY bbbayi BY didik


/STATISTICS DESCRIPTIVES
/MISSING ANALYSIS
/POSTHOC=BONFERRONI ALPHA(0.05).

Resources Processor Time 00:00:00.015

Elapsed Time 00:00:00.016

[DataSet1] C:\Users\user\Downloads\asi.sav

Descriptives

berat badan bayi

95% Confidence Interval for Mean

N Mean Std. Deviation Std. Error Lower Bound Upper Bound Minimum Maximum

SD 10 2470.00 249.666 78.951 2291.40 2648.60 2100 2900

SMP 11 2727.27 241.209 72.727 2565.23 2889.32 2100 3000

SMU 16 3431.25 270.108 67.527 3287.32 3575.18 3000 4000

PT 13 3761.54 386.304 107.141 3528.10 3994.98 3000 4100

Total 50 3170.00 584.232 82.623 3003.96 3336.04 2100 4100


ANOVA

berat badan bayi

Sum of Squares df Mean Square F Sig.

Between Groups 1.270E7 3 4232345.862 48.334 .000

Within Groups 4027962.413 46 87564.400

Total 1.672E7 49

Post Hoc Tests

Multiple Comparisons

berat badan bayi


Bonferroni

(I) (J) 95% Confidence Interval


pendidik pendidik
an an
formal formal
ibu ibu
menyusu menyusu Mean Difference (I-
i i J) Std. Error Sig. Lower Bound Upper Bound

SD SMP -257.273 129.294 .315 -613.76 99.21

SMU -961.250* 119.286 .000 -1290.14 -632.36

PT -1291.538* 124.468 .000 -1634.72 -948.36

SMP SD 257.273 129.294 .315 -99.21 613.76

SMU -703.977* 115.902 .000 -1023.54 -384.42

PT -1034.266* 121.228 .000 -1368.51 -700.02

SMU SD 961.250* 119.286 .000 632.36 1290.14

SMP 703.977* 115.902 .000 384.42 1023.54

PT -330.288* 110.492 .027 -634.93 -25.64

PT SD 1291.538* 124.468 .000 948.36 1634.72

SMP 1034.266* 121.228 .000 700.02 1368.51

SMU 330.288* 110.492 .027 25.64 634.93

*. The mean difference is significant at the 0.05 level.

CROSSTABS
/TABLES=kerja BY eksklu
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ RISK
/CELLS=COUNT ROW
/COUNT ROUND CELL.

Crosstabs

Notes

Output Created 22-Dec-2016 23:43:18

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Cases Used Statistics for each table are based on all the
cases with valid data in the specified
range(s) for all variables in each table.

Syntax CROSSTABS
/TABLES=kerja BY eksklu
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ RISK
/CELLS=COUNT ROW
/COUNT ROUND CELL.

Resources Processor Time 00:00:00.062

Elapsed Time 00:00:00.031

Dimensions Requested 2

Cells Available 174762

[DataSet1] C:\Users\user\Downloads\asi.sav

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

status pekerjaan ibu * status


50 100.0% 0 .0% 50 100.0%
menyusui asi
status pekerjaan ibu * status menyusui asi Crosstabulation

status menyusui asi

tdk EKSKLUSIVE EKSKLUSIVE Total

status pekerjaan ibu KERJA Count 17 8 25

% within status pekerjaan ibu 68.0% 32.0% 100.0%

tidak kerja Count 7 18 25

% within status pekerjaan ibu 28.0% 72.0% 100.0%

Total Count 24 26 50

% within status pekerjaan ibu 48.0% 52.0% 100.0%

Chi-Square Tests

Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-


Value df sided) sided) sided)

Pearson Chi-Square 8.013a 1 .005

Continuity Correctionb 6.490 1 .011

Likelihood Ratio 8.244 1 .004

Fisher's Exact Test .010 .005

Linear-by-Linear Association 7.853 1 .005

N of Valid Casesb 50

a. 0 cells (,0%) have expected count less than 5. The minimum expected count is 12,00.

b. Computed only for a 2x2 table

Risk Estimate

95% Confidence Interval

Value Lower Upper

Odds Ratio for status pekerjaan


5.464 1.627 18.357
ibu (KERJA / tidak kerja)

For cohort status menyusui asi =


2.429 1.226 4.811
tdk EKSKLUSIVE

For cohort status menyusui asi =


.444 .239 .827
EKSKLUSIVE

N of Valid Cases 50
CORRELATIONS
/VARIABLES=bbibu bbbayi
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

Correlations

Notes

Output Created 23-Dec-2016 00:48:41

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Cases Used Statistics for each pair of variables are


based on all the cases with valid data for
that pair.

Syntax CORRELATIONS
/VARIABLES=bbibu bbbayi
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.

Resources Processor Time 00:00:00.047

Elapsed Time 00:00:00.053

[DataSet1] C:\Users\user\Downloads\asi.sav

Correlations

berat badan ibu berat badan bayi

berat badan ibu Pearson Correlation 1 .684**

Sig. (2-tailed) .000

N 50 50

berat badan bayi Pearson Correlation .684** 1

Sig. (2-tailed) .000


N 50 50

**. Correlation is significant at the 0.01 level (2-tailed).

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT bbbayi
/METHOD=ENTER bbibu.

Regression

Notes

Output Created 23-Dec-2016 01:06:37

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Cases Used Statistics are based on cases with no


missing values for any variable used.

Syntax REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT bbbayi
/METHOD=ENTER bbibu.

Resources Processor Time 00:00:00.047

Elapsed Time 00:00:00.062

Memory Required 1668 bytes

Additional Memory Required for


0 bytes
Residual Plots

[DataSet1] C:\Users\user\Downloads\asi.sav
Variables Entered/Removedb

Variables
Model Variables Entered Removed Method

1 berat badan ibua . Enter

a. All requested variables entered.

b. Dependent Variable: berat badan bayi

Model Summary

Std. Error of the


Model R R Square Adjusted R Square Estimate

1 .684a .468 .456 430.715

a. Predictors: (Constant), berat badan ibu

ANOVAb

Model Sum of Squares df Mean Square F Sig.

1 Regression 7820261.965 1 7820261.965 42.154 .000a

Residual 8904738.035 48 185515.376

Total 1.673E7 49

a. Predictors: (Constant), berat badan ibu

b. Dependent Variable: berat badan bayi

Coefficientsa

Standardized
Unstandardized Coefficients Coefficients

Model B Std. Error Beta t Sig.

1 (Constant) 657.929 391.676 1.680 .099

berat badan ibu 44.383 6.836 .684 6.493 .000

a. Dependent Variable: berat badan bayi

SAVE OUTFILE='C:\Users\user\Downloads\asi.sav' /COMPRESSED.


LOGISTIC REGRESSION VARIABLES eksklu
/METHOD=ENTER kerja
/CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).
Logistic Regression

Notes

Output Created 23-Dec-2016 06:16:30

Comments

Input Data C:\Users\user\Downloads\asi.sav

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 50

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

Syntax LOGISTIC REGRESSION VARIABLES


eksklu
/METHOD=ENTER kerja
/CRITERIA=PIN(.05) POUT(.10)
ITERATE(20) CUT(.5).

Resources Processor Time 00:00:00.031

Elapsed Time 00:00:00.063

[DataSet1] C:\Users\user\Downloads\asi.sav

Case Processing Summary

Unweighted Casesa N Percent

Selected Cases Included in Analysis 50 100.0

Missing Cases 0 .0

Total 50 100.0

Unselected Cases 0 .0

Total 50 100.0

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

Dependent Variable Encoding

Original Value Internal Value


tdk EKSKLUSIVE 0

EKSKLUSIVE 1

Block 0: Beginning Block

Classification Tablea,b

Predicted

status menyusui asi


Percentage
Observed tdk EKSKLUSIVE EKSKLUSIVE Correct

Step 0 status menyusui asi tdk EKSKLUSIVE 0 24 .0

EKSKLUSIVE 0 26 100.0

Overall Percentage 52.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 .080 .283 .080 1 .777 1.083

Variables not in the Equation

Score df Sig.

Step 0 Variables kerja 8.013 1 .005

Overall Statistics 8.013 1 .005

Block 1: Method = Enter

Omnibus Tests of Model Coefficients

Chi-square df Sig.

Step 1 Step 8.244 1 .004

Block 8.244 1 .004

Model 8.244 1 .004


Model Summary

Cox & Snell R Nagelkerke R


Step -2 Log likelihood Square Square

1 60.991a .152 .203

a. Estimation terminated at iteration number 4 because parameter


estimates changed by less than ,001.

Classification Tablea

Predicted

status menyusui asi


Percentage
Observed tdk EKSKLUSIVE EKSKLUSIVE Correct

Step 1 status menyusui asi tdk EKSKLUSIVE 17 7 70.8

EKSKLUSIVE 8 18 69.2

Overall Percentage 70.0

a. The cut value is ,500

Variables in the Equation

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

Step 1a kerja 1.698 .618 7.545 1 .006 5.464

Constant -.754 .429 3.091 1 .079 .471

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