Anda di halaman 1dari 16

UJI CHI-SQUARE DAN UJI SPEARMAN

SOAL
Dibawah ini terdapat 20 responden mahasiswa kedokteran untuk menganalisis hubungan
terjadinya simtom depresi dan sindroma dispepsia pada mahasiswa Kepaniteraan Klinik
Fakultas Kedokteran A dengan data usia, jenis kelamin, prevalensi simtom depresi dan sindroma
dispepsia. Berikut data responden dibawah ini !

JK DEPRES
NO NAMA USIA I DISPEPSIA
1 MJ 4 1 1 1
2 DL 2 2 1 1
3 EC 2 2 1 1
4 SR 1 2 1 2
5 PN 2 1 1 2
6 AK 3 1 1 1
7 SG 3 1 3 3
8 SA 2 1 2 2
9 SA 3 1 3 3
10 RS 2 1 2 2
11 MP 3 1 1 1
12 IC 4 2 2 1
13 SA 3 2 2 2
14 RM 2 2 2 1
15 RA 2 1 2 1
16 DA 2 1 1 1
17 RN 4 1 1 1
18 NT 3 2 1 1
19 YH 2 1 2 2
20 TP 3 2 2 3
NB : Data setelah dikategorikan

KETERANGAN :

USIA :

1. 19 TAHUN
2. 20 TAHUN
3. 21 TAHUN
4. 22 TAHUN

JENIS KELAMIN :

1. LAKI-LAKI
2. PEREMPUAN

SIMTOM DEPRESI

1. DEPRESI MINIMAL
2. DEPRESI RINGAN
3. DEPRESI SEDANG

SINDROMA DISPEPSIA

1. DISPEPSIA RINGAN
2. DISPEPSIA SEDANG
3. DISPEPSIA BERAT
TAHAP SPSS
HASIL OUTPUT SPSS

Frequencies

Notes

Output Created 12-Nov-2020 12:05:54

Comments

Input Active Dataset DataSet0

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 20

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

Cases Used Statistics are based on all cases with valid


data.

Syntax FREQUENCIES VARIABLES=usia


jeniskelamin depresi dispepsia

/ORDER=ANALYSIS.

Resources Processor Time 00:00:00.000

Elapsed Time 00:00:00.004

[DataSet0] 
Statistics

usia jeniskelamin depresi dispepsia

N Valid 20 20 20 20

Missing 0 0 0 0

Frequency Table

usia

Cumulative
Frequency Percent Valid Percent Percent

Valid 19 tahun 1 5.0 5.0 5.0

20 tahun 9 45.0 45.0 50.0

21 tahun 7 35.0 35.0 85.0

22 tahun 3 15.0 15.0 100.0

Total 20 100.0 100.0

jeniskelamin

Cumulative
Frequency Percent Valid Percent Percent

Valid laki-laki 12 60.0 60.0 60.0

perempuan 8 40.0 40.0 100.0

Total 20 100.0 100.0


depresi

Cumulative
Frequency Percent Valid Percent Percent

Valid depresi minimal 10 50.0 50.0 50.0

depresi ringan 8 40.0 40.0 90.0

depresi sedang 2 10.0 10.0 100.0

Total 20 100.0 100.0

dispepsia

Cumulative
Frequency Percent Valid Percent Percent

Valid dispepsia ringan 11 55.0 55.0 55.0

dispepsia sedang 6 30.0 30.0 85.0

dispepsia berat 3 15.0 15.0 100.0

Total 20 100.0 100.0


UJI CHI SQUARE

Crosstabs

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

depresi * dispepsia 20 100.0% 0 .0% 20 100.0%

depresi * dispepsia Crosstabulation

dispepsia Total

dispepsia dispepsia
ringan sedang dispepsia berat

depresi depresi minimal Count 8 2 0 10

% within depresi 80.0% 20.0% .0% 100.0%

% within dispepsia 72.7% 33.3% .0% 50.0%

% of Total 40.0% 10.0% .0% 50.0%

depresi ringan Count 3 4 1 8

% within depresi 37.5% 50.0% 12.5% 100.0%

% within dispepsia 27.3% 66.7% 33.3% 40.0%

% of Total 15.0% 20.0% 5.0% 40.0%

depresi sedang Count 0 0 2 2


% within depresi .0% .0% 100.0% 100.0%

% within dispepsia .0% .0% 66.7% 10.0%

% of Total .0% .0% 10.0% 10.0%

Total Count 11 6 3 20

% within depresi 55.0% 30.0% 15.0% 100.0%

% within dispepsia 100.0% 100.0% 100.0% 100.0%

% of Total 55.0% 30.0% 15.0% 100.0%

Chi-Square Tests

Asymp. Sig. (2-


Value df sided)

Pearson Chi-Square 15.848a 4 .003

Likelihood Ratio 13.386 4 .010

Linear-by-Linear Association 9.244 1 .002

N of Valid Cases 20

a. 8 cells (88.9%) have expected count less than 5. The minimum expected
count is .30.
UJI RANK SPEARMAN

Nonparametric Correlations

Notes

Output Created 12-Nov-2020 12:08:36

Comments

Input Active Dataset DataSet0

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data File 20

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 NONPAR CORR

/VARIABLES=depresi dispepsia

/PRINT=SPEARMAN TWOTAIL NOSIG

/MISSING=PAIRWISE.

Resources Processor Time 00:00:00.000

Elapsed Time 00:00:00.000

Number of Cases Allowed 174762 casesa

a. Based on availability of workspace memory

[DataSet0] 
Correlations

depresi dispepsia

Spearman's rho depresi Correlation Coefficient 1.000 .627**

Sig. (2-tailed) . .003

N 20 20

dispepsia Correlation Coefficient .627** 1.000

Sig. (2-tailed) .003 .

N 20 20

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

Anda mungkin juga menyukai