You are on page 1of 2

CROSSTABS /TABLES=Pengetahuan BY Kepatuhan_Diet /FORMAT=AVALUE TABLES

/STATISTICS=CHISQ /CELLS=COUNT EXPECTED ROW COLUMN TOTAL /COUNT ROUND


CELL.

Crosstabs

Pengetahuan * Kepatuhan_Diet Crosstabulation

Kepatuhan_Diet

Patuh Tidak Patuh Total

Pengetahuan Baik Count 18 1 19

Expected Count 10.1 8.9 19.0

% within Pengetahuan 94.7% 5.3% 100.0%

% within Kepatuhan_Diet 100.0% 6.3% 55.9%

% of Total 52.9% 2.9% 55.9%

Kurang Count 0 15 15

Expected Count 7.9 7.1 15.0

% within Pengetahuan .0% 100.0% 100.0%

% within Kepatuhan_Diet .0% 93.8% 44.1%

% of Total .0% 44.1% 44.1%

Total Count 18 16 34

Expected Count 18.0 16.0 34.0

% within Pengetahuan 52.9% 47.1% 100.0%

% within Kepatuhan_Diet 100.0% 100.0% 100.0%

% of Total 52.9% 47.1% 100.0%

Chi-Square Tests

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


Value df sided) sided) sided)

Pearson Chi-Square 30.197a 1 .000

Continuity Correctionb 26.514 1 .000

Likelihood Ratio 39.181 1 .000

Fisher's Exact Test .000 .000

Linear-by-Linear Association 29.309 1 .000

N of Valid Cases 34

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

b. Computed only for a 2x2 table

You might also like