You are on page 1of 4

GET

FILE='D:\spss\soal spss\soal 4.sav'.


DATASET NAME DataSet1 WINDOW=FRONT.
CROSSTABS
/TABLES=smoke_1 BY rtrigl
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ RISK
/CELLS=COUNT EXPECTED ROW COLUMN TOTAL
/COUNT ROUND CELL.

Crosstabs

Notes

Output Created 31-MAY-2016 10:05:02


Comments
Data D:\spss\soal spss\soal 4.sav
Active Dataset DataSet1
Filter <none>
Input Weight <none>
Split File <none>
N of Rows in Working Data 50
File
User-defined missing values are treated
Definition of Missing
as missing.
Missing Value Handling Statistics for each table are based on all
Cases Used the cases with valid data in the specified
range(s) for all variables in each table.
CROSSTABS
/TABLES=smoke_1 BY rtrigl
/FORMAT=AVALUE TABLES
Syntax /STATISTICS=CHISQ RISK
/CELLS=COUNT EXPECTED ROW
COLUMN TOTAL
/COUNT ROUND CELL.
Processor Time 00:00:00.02

Elapsed Time 00:00:00.02


Resources
Dimensions Requested 2

Cells Available 174734


[DataSet1] D:\spss\soal spss\soal 4.sav

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

perilaku merokok * Kategori 50 100.0% 0 0.0% 50 100.0%


trigliseride

perilaku merokok * Kategori trigliseride Crosstabulation

Kategori trigliseride Total

<150 150-199 >=200

Count 5 0 20 25

Expected Count 7.5 3.0 14.5 25.0

ya % within perilaku merokok 20.0% 0.0% 80.0% 100.0%

% within Kategori trigliseride 33.3% 0.0% 69.0% 50.0%

% of Total 10.0% 0.0% 40.0% 50.0%


perilaku merokok
Count 10 6 9 25

Expected Count 7.5 3.0 14.5 25.0

tidak % within perilaku merokok 40.0% 24.0% 36.0% 100.0%


% within Kategori trigliseride 66.7% 100.0% 31.0% 50.0%

% of Total 20.0% 12.0% 18.0% 50.0%


Count 15 6 29 50

Expected Count 15.0 6.0 29.0 50.0

Total % within perilaku merokok 30.0% 12.0% 58.0% 100.0%

% within Kategori trigliseride 100.0% 100.0% 100.0% 100.0%

% of Total 30.0% 12.0% 58.0% 100.0%

Chi-Square Tests

Value df Asymp. Sig. (2-


sided)
Pearson Chi-Square 11.839a 2 .003
Likelihood Ratio 14.295 2 .001
Linear-by-Linear Association 6.259 1 .012
N of Valid Cases 50

a. 2 cells (33.3%) have expected count less than 5. The minimum


expected count is 3.00.

Risk Estimate

Value
a
Odds Ratio for perilaku
merokok (ya / tidak)

a. Risk Estimate statistics cannot be


computed. They are only computed for a
2*2 table without empty cells.

NPAR TESTS
/K-S= rtrigl BY smoke_1(1 2)
/MISSING ANALYSIS.

NPar Tests

Notes

Output Created 31-MAY-2016 10:05:35


Comments
Data D:\spss\soal spss\soal 4.sav
Active Dataset DataSet1
Filter <none>
Input Weight <none>
Split File <none>
N of Rows in Working Data 50
File
Missing Value Handling Definition of Missing User-defined missing values are treated
as missing.
Statistics for each test are based on all
Cases Used cases with valid data for the variable(s)
used in that test.
NPAR TESTS
Syntax /K-S= rtrigl BY smoke_1(1 2)
/MISSING ANALYSIS.
Processor Time 00:00:00.00

Resources Elapsed Time 00:00:00.00


a
Number of Cases Allowed 112347

a. Based on availability of workspace memory.

[DataSet1] D:\spss\soal spss\soal 4.sav

Two-Sample Kolmogorov-Smirnov Test

Frequencies

perilaku merokok N

ya 25

Kategori trigliseride tidak 25

Total 50

Test Statisticsa

Kategori
trigliseride

Absolute .440

Most Extreme Differences Positive .000

Negative -.440
Kolmogorov-Smirnov Z 1.556
Asymp. Sig. (2-tailed) .016

a. Grouping Variable: perilaku merokok

You might also like