Beti Herlina - KMPK - Tutorial 4
Beti Herlina - KMPK - Tutorial 4
1. LEARNING OBJECTIVES
Upon completion of this course, students will be able to
a. describe methods commonly used to analyse categorical data (nominal or ordinal) using.
b. Perform hypothesis testing for categorical data
c. Skillful in analyzing, reading, and interpreting published research which used categorical
analysis
d. Skillful in analyzing, reading, and interpreting research data which used categorical
analysis
2. TUTORIAL’S GUIDE
Please finish this exercise before in class session and send it to bayu.satria@ugm.ac.id
before in-class practical session which is June 13, 2023 13.00. If students submit more or
equal than
13.00 then they will get “-20”. In this tutorial session, we will use Tutorial 4.omv and
Tutorial 4-2.omv. Please download the data from Elok.
3. CASE STUDY 1
a. Did randomization appear to balance the groups (treatment group is ICgroup==1, control
group is ICgroup==0) with respect to baseline understanding of the nurse item?
b. One analysis that is valid under randomization would compare the percent answering
correctly for safety (q4safe6) and allocation knowledge (nurse6) at month 6 (cross-
sectionally) for the intervention and control groups. Create the research hypothesis and
statistical hypothesis for this problems; please specify the correct hypothesis testing used
in this study.
Jawab :
Hipotesis penelitian :
Hipotesis nol (Ho) : Tidak ada perbedaan antara persentase yang menjawab benar untuk
keselamatan dan pengetahuan alokasi pada bulan ke-6 antara
kelompok intervensi dan kelompok control.
Hipotesis alternatif (Ha) : Ada perbedaan antara persentase yang menjawab benar untuk
keselamatan dan pengetahuan alokasi pada bulan ke-6 antara
kelompok intervensi dan kelompok control.
Metode pengujian hipotesis yang tepat adalah Uji Chi-square (uji chi-kuadrat).
Uji chi-square akan menguji apakah terdapat perbedaan yang signifikan antara dua
variable kategorikal (kelompok intervensi vs kelompk control) dalam hal presentase
jawaban yang benar tentang keselamatan dan pengetahuan alokasi pada bulan ke-6.
c. Please create contingency table 2x2 for safety and allocation knowledge with
intervention group (ICgroup). Among intervention and control group, which one has the
highest percentage of correct answer? Please create the correct statistical hypothesis for
association between safety or knowledge and intervention/control; What is your
conclusion based on this result (see chi or x2 square table below each contingency table)?
q4safe0
χ² Tests
Value df p
χ² 0.0163 1 0.898
N 1000
Table. Contingency Tables for allocation knowledge
nurse0
χ² Tests
Value df p
χ² 0.00423 1 0.948
N 1000
Jawab :
Tabel kontigensi untuk keselamatan :
IC group Incorrect Correct Total
Kontrol 218 282 500
Intervensi 216 284 500
d. To understand how the intervention may have worked we will subset on those subjects
that did not correctly answer the nurse0 item, and within this subset we will compare
the response at follow-up, nurse6, for subjects that were in the treatment versus control
group. Form the 2x2 table that classifies nurse6 by ICgroup restricting to subjects for
whom nurse0==0 (incorrect at baseline). What does this summary suggest about one
way in which the informed consent process might have "worked"? Use appropriate
statistical summaries to support your conclusion
Jawab :
Tabel kontigensi 2 x 2 :
Persentase jawaban tidak benar untuk kelompok control = 192/308 x 100% =62.337%
Persentase jawaban tidak benar untuk kelompok intervensi = 191/308 x 100% = 62.012%
Kesimpulan : kelompok intervensi memiliki persentase jawaban yang tidak benar sedikit
lebih rendah daripada kelompok control.
Case Processing Summary
Cases
Valid Missing Total
N Percent N Percent N Percent
nurse0 * nurse6 1000 100.0% 0 0.0% 1000 100.0%
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 50.147a 1 .000
Continuity Correction b
49.098 1 .000
Likelihood Ratio 49.152 1 .000
Fisher's Exact Test .000 .000
Linear-by-Linear Association 50.097 1 .000
N of Valid Cases 1000
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 98.43.
b. Computed only for a 2x2 table
Dari output kita bisa melihat nilai df = 1 dan p-value = 0.00001 (kurang dari 0.05), artinya
hipotesis nol ditolak, dan dapat disimpulkan ada hubungan antara nurse6 dan ICgroup
dalam subset ini. Sehingga dapat disarankan, salah satu cara dimana proses informed
consent mungkin berhasil adalah dengan meningkatkan pengetahuan alokasi subjek–
subjek yang salah pada baseline, walaupun perbedaan antara kelompok control dan
intervensi tidak signifikan secara statistik (intervensi tidak memiliki efek yang kuat).
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
CEM chronic energy malnutrition 48 93 141
normal 38 215 253
Total 86 308 394
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
Anemia anemia 52 81 133
normal 34 227 261
Total 86 308 394
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
Hypertention hypertension 6 12 18
normal 80 296 376
Total 86 308 394
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
ANC not complete 24 42 66
complete 62 266 328
Total 86 308 394
c. Please estimate the chi square test and risk ratio for teenage pregnancy and LBW.
Jawab :
Case Processing Summary
Cases
Valid Missing Total
N Percent N Percent N Percent
Age * Low 394 100.0% 0 0.0% 394 100.0%
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 15.232a 1 .000
Continuity Correction b
14.295 1 .000
Likelihood Ratio 15.529 1 .000
Fisher's Exact Test .000 .000
Linear-by-Linear Association 15.193 1 .000
N of Valid Cases 394
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 43.00.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for Age (teenage 2.692 1.620 4.473
/ adult)
For cohort Low = < 2500 2.185 1.450 3.294
gram
For cohort Low = >= 2500 .812 .729 .903
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.0000 (< 0.05) artinya hipotesis nol ditolak, hipotesis alternatif
diterima (ada hubungan yang signifikan antara usia ibu dengan bayi berat lahir
rendah)
Berdasarkan tabel kontingensi, ada 59 bayi yang lahir dengan berat rendah dari ibu
remaja dan 27 bayi yang lahir dengan berat rendah dari ibu dewasa. Sebaliknya ada
138 bayi yang lahir dengan berat normal dari ibu remaja dan 170 bayi yang lahir
dengan berat normal dari ibu dewasa. Ini menunjukkan bahwa proporsi bayi dengan
BBLR lebih tinggi di kelompok ibu remaja dibandingkan dengan kelompok ibu dewasa
Nilai odds ratio untuk usia ibu = 2.692, dengan interval kepercayaan 95% antara 1.620
dan 4.473, artinya bahwa peluang bayi lahir dengan berat rendah adalah 2.692 kali
lebih besar jika ibunya remaja dibandingkan ibu dewasa.
Nilai odds ratio untuk kohort Low = 2.185, dengan interval kepercayaan 95% antara
1.450 dan 3.294, artinya peluang ibu remaja melahirkan dengan berat rendah adalah
2.185 kali lebih besar daripada ibu dewasa. Sebaliknya nilai odds ratio untuk kohort
tidak Low adalah 0.812 dengan interval kepercayaan 95% antara 0.729 dan 0.903,
artinya peluang ibu remaja melahirkan bayi dengan berat normal adalah 0.812 lebih
kecil daripada ibu dewasa.
d. Please estimate the chi square test and risk ratio for other variables with LBW.
Jawab :
Case Processing Summary
Cases
Valid Missing Total
N Percent N Percent N Percent
Edu * Low 394 100.0% 0 0.0% 394 100.0%
CEM * Low 394 100.0% 0 0.0% 394 100.0%
Anemia * Low 394 100.0% 0 0.0% 394 100.0%
Hypertention * Low 394 100.0% 0 0.0% 394 100.0%
ANC * Low 394 100.0% 0 0.0% 394 100.0%
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square .822 a
1 .365
Continuity Correction b
.607 1 .436
Likelihood Ratio .834 1 .361
Fisher's Exact Test .445 .219
Linear-by-Linear Association .820 1 .365
N of Valid Cases 394
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 30.56.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for Edu (low 1.266 .760 2.111
education / high education)
For cohort Low = < 2500 1.204 .803 1.808
gram
For cohort Low = >= 2500 .951 .856 1.057
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.365 (> 0.05) artinya hipotesis nol diterima, hipotesis alternatif ditolak
(tidak terdapat hubungan yang signifikan antara tingkat pendidikan dengan bayi berat
lahir rendah)
Nilai odds ratio untuk tingkat pendidikan (pendidikan rendah dibandingkan pendidikan
tinggi) = 1.266, dengan interval kepercayaan 95% antara 0.760 dan 4.473, artinya
bahwa peluang bayi lahir dengan berat rendah adalah 2.111, ini menunjukkan tidak
terdapat perbedaan resiko yang signifikan antara kelompok pendidikan rendah dan
tinggi terhadap kejadian LBW
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 19.201a 1 .000
Continuity Correction b
18.103 1 .000
Likelihood Ratio 18.560 1 .000
Fisher's Exact Test .000 .000
Linear-by-Linear Association 19.153 1 .000
N of Valid Cases 394
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 30.78.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for CEM (chronic 2.920 1.789 4.768
energy malnutrition / normal)
For cohort Low = < 2500 2.267 1.562 3.289
gram
For cohort Low = >= 2500 .776 .682 .883
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.000001 (< 0.05) artinya hipotesis nol ditolak, hipotesis alternatif
diterima (ada hubungan yang signifikan antara KEK (Kekurangan Energi Kronis) dengan
bayi berat lahir rendah/LBW)
Nilai odds ratio untuk KEK (KEK dibandingkan normal) = 2.920, dengan interval
kepercayaan 95% antara 1.789 dan 4.768, artinya kelompok KEK memiliki resiko yang
lebih tinggi terhadap kejadian bayi berat lahir rendah/LBW dibandingkan dengan
kelompok normal.
Anemia dengan LBW
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
Anemia anemia 52 81 133
normal 34 227 261
Total 86 308 394
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 35.096a 1 .000
Continuity Correction b
33.584 1 .000
Likelihood Ratio 33.513 1 .000
Fisher's Exact Test .000 .000
Linear-by-Linear Association 35.006 1 .000
N of Valid Cases 394
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 29.03.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for Anemia 4.286 2.597 7.075
(anemia / normal)
For cohort Low = < 2500 3.001 2.056 4.382
gram
For cohort Low = >= 2500 .700 .606 .809
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.000001 (< 0.05) artinya hipotesis nol ditolak, hipotesis alternatif
diterima (ada hubungan yang signifikan antara anemia dengan bayi berat lahir
rendah/LBW)
Nilai odds ratio untuk anemia (anemia dibandingkan normal)= 4.286, dengan interval
kepercayaan 95% antara 2.597 dan 7.075, artinya kelompok anemia memiliki resiko
yang lebih tinggi terhadap kejadian bayi berat lahir rendah/LBW dibandingkan dengan
kelompok normal.
Hipertensi dengan LBW
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
Hypertention hypertension 6 12 18
normal 80 296 376
Total 86 308 394
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 1.463a 1 .226
Continuity Correction b
.842 1 .359
Likelihood Ratio 1.327 1 .249
Fisher's Exact Test .244 .177
Linear-by-Linear Association 1.460 1 .227
N of Valid Cases 394
a. 1 cells (25.0%) have expected count less than 5. The minimum expected count is 3.93.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for Hypertention 1.850 .673 5.083
(hypertension / normal)
For cohort Low = < 2500 1.567 .792 3.097
gram
For cohort Low = >= 2500 .847 .608 1.179
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.226 (> 0.05) artinya hipotesis nol diterima, hipotesis alternatif ditolak
(tidak terdapat hubungan yang signifikan antara hipertensi dengan bayi berat lahir
rendah)
Nilai odds ratio untuk hipertensi (hipertensi dibandingkan dengan normal) = 1.850,
dengan interval kepercayaan 95% antara 0.673 dan 5.083, artinya tidak terdapat
perbedaan yang resiko yang signifikan antara kelompok hipertensi dan normal
terhadap kejadian LBW.
ANC dengan LBW
Crosstab
Count
Low
< 2500 gram >= 2500 gram Total
ANC not complete 24 42 66
complete 62 266 328
Total 86 308 394
Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
Pearson Chi-Square 9.818a 1 .002
Continuity Correction b
8.821 1 .003
Likelihood Ratio 8.919 1 .003
Fisher's Exact Test .003 .002
Linear-by-Linear Association 9.793 1 .002
N of Valid Cases 394
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 14.41.
b. Computed only for a 2x2 table
Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for ANC (not 2.452 1.383 4.347
complete / complete)
For cohort Low = < 2500 1.924 1.302 2.841
gram
For cohort Low = >= 2500 .785 .649 .949
gram
N of Valid Cases 394
Interpretasi :
Nilai p-value = 0.002 (< 0.05) artinya hipotesis nol ditolak, hipotesis alternatif diterima
(ada hubungan yang signifikan antara kunjungan ANC dengan bayi berat lahir
rendah/LBW)
Nilai odds ratio untuk ANC (ANC tidak lengkap dibandingkan dengan ANC lengkap) =
2.452, dengan interval kepercayaan 95% antara 1.383 dan 4.347, artinya kelompok
ANC yang tidak lengkap memiliki resiko yang lebih tinggi terhadap kejadian bayi berat
lahir rendah/LBW dibandingkan dengan kelompok ANC yang lengkap.