You are on page 1of 3

CROSSTABS

/TABLES=X1 X2 BY Y
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ
/CELLS=COUNT
/COUNT ROUND CELL.

Crosstabs

Notes

Output Created 30-JUN-2020 05:42:31


Comments
C:\Users\Thoshiba\Documents\data
Data
crosstabs.sav
Active Dataset DataSet1
Filter <none>
Input
Weight <none>
Split File <none>
N of Rows in Working Data 40
File
User-defined missing values are treated
Definition of Missing
as missing.
Statistics for each table are based on all
Missing Value Handling
the cases with valid data in the
Cases Used
specified range(s) for all variables in
each table.
CROSSTABS
/TABLES=X1 X2 BY Y
/FORMAT=AVALUE TABLES
Syntax
/STATISTICS=CHISQ
/CELLS=COUNT
/COUNT ROUND CELL.
Processor Time 00:00:00,05

Elapsed Time 00:00:00,10


Resources
Dimensions Requested 2

Cells Available 174734

[DataSet1] C:\Users\Thoshiba\Documents\data crosstabs.sav


Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

Kebiasaan Merokok * 40 100,0% 0 0,0% 40 100,0%


Hipertensi
Kebiasaan Minum Kopi * 40 100,0% 0 0,0% 40 100,0%
Hipertensi

Kebiasaan Merokok * Hipertensi

Crosstab
Count

Hipertensi Total

YA TIDAK

YA 30 4 34
Kebiasaan Merokok
TIDAK 2 4 6
Total 32 8 40

Chi-Square Tests

Value df Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-
sided) sided) sided)

Pearson Chi-Square 9,608a 1 ,002


b
Continuity Correction 6,483 1 ,011
Likelihood Ratio 7,764 1 ,005
Fisher's Exact Test ,010 ,010
Linear-by-Linear Association 9,368 1 ,002
N of Valid Cases 40

a. 2 cells (50,0%) have expected count less than 5. The minimum expected count is 1,20.
b. Computed only for a 2x2 table

Kebiasaan Minum Kopi * Hipertensi


Crosstab
Count

Hipertensi Total

YA TIDAK

YA 30 4 34
Kebiasaan Minum Kopi
TIDAK 2 4 6
Total 32 8 40

Chi-Square Tests

Value df Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-
sided) sided) sided)

Pearson Chi-Square 9,608a 1 ,002


b
Continuity Correction 6,483 1 ,011
Likelihood Ratio 7,764 1 ,005
Fisher's Exact Test ,010 ,010
Linear-by-Linear Association 9,368 1 ,002
N of Valid Cases 40

a. 2 cells (50,0%) have expected count less than 5. The minimum expected count is 1,20.
b. Computed only for a 2x2 table

You might also like