FERY MENDROFA ANALISIS HUBUNGAN KATAGORIK DENGAN NUMERIK UJI
FERY MENDROFA ANALISIS HUBUNGAN KATAGORIK DENGAN NUMERIK “UJI” T fery mendrofa file analisa data
PENDAHULUAN Analisa apakah yang dipakai untuk Kesimpulan terhadap parameter 2 populasi berbeda atau tidak ? Misal Apakah ada perbedaan tekanan darah penduduk dewasa orang kota dengan desa? Apakah ada perbedaan berat badan antara sebelum mengikuti program diet dengan sesudahnya? fery mendrofa file analisa data
Uji statistik yang digunakan untuk membandingkan mean 2 kelompok data ini disebut uji beda mean • Pendekatannya dapat menggunakan distribusi Z dan ditribusi T • Perhatikan data 2 kelompok! • – Apakah berasal dari 2 kelompok yang independen? Atau – Apakah berasal dari 2 kelompok yang dependen/pasangan? fery mendrofa file analisa data
Perhatikan data 2 kelompok! Apakah berasal dari 2 kelompok yang independen? Digunakan uji beda mean independen ( uji T independen) ▪ Bila data kelompok yang 1 tidak bergantung dari data kelompok ke-2 Orang kota Tekanan darah Orang desa fery mendrofa file analisa data
Apakah berasal dari 2 kelompok yang dependen/pasangan? Digunakan uji beda mean dependen ( uji T dependen) ▪ Bila kelompok data yang dibandingkan datanya saling mempunyai ketergantungan Sebelum diit Program diit fery mendrofa file analisa data Sesudah diit
Uji beda dua mean independen Tujuan : untuk mengetahui perbedaan 2 kelompok data independen Syarat/ asumsi yang harus dipenuhi; Data berditribusi normal/ simetris Kedua kelompok data independen Varuavel berbentuk numerik dan kategori (variabel kategori hanya dengan 2 kelompok) fery mendrofa file analisa data
Prinsip pengujian 2 mean adalah melihat perbedaan variasi kedua kelompok data sehingga diperlukan informasi apakah varian ke 2 kelompok yang diuji sama atau tidak Bentuk varian ke 2 kelompok data berpengaruh pada nilai standar error fery mendrofa file analisa data
Uji untuk varian yang sama Uji dapat menggunakan uji Z atau uji T ▪ Uji Z bila SD populasi (Ϭ) diketahui & jumlah sampel besar (lebih dari 30) ▪ Uji T bila ke-2 syarat Uji Z tidak terpenuhi Pada umumnya nilai Ϭ sulit diketahui sehingga biasanya digunakan uji T fery mendrofa file analisa data
Bentuk uji untuk varian yang sama • T= • Sp 2 = X 1 -X 2 sp V(1/n 1) + (1/n 2) s ( n 1 -1) 12 + ( n 2 -1)s 22 n 1 + n 2 -2 df = n 1 + n 2 -2 n 1 atau n 2 = jumlah sampel kelompok 1 atau 2 S 1 atau s 2 = standar deviasi sampel kelompok 1 dan 2 • fery mendrofa file analisa data
Uji untuk varian berbeda T = X 1 -X 2 V(s /n 1) + (s /n 2) 12 df = 22 ((s /n 1) + (s /n 2))2 12 22 ((s 12/n 1)2/(n 1 -1) + (s 12/n 1)2/(n 1 -1)) fery mendrofa file analisa data
Uji homogenitas varian Tujuan : mengetahui varian antara kelompok data ke-1 apakah sama dengan kelompok data ke -2 Dilakukan dengan menggunakan uji F F = s 12 S 22 df 1= n 1 -1 df 2 = n 2 -1 fery mendrofa file analisa data
UJI BEDA 2 MEAN DEPENDEN Tujuan : menguji perbedaan mean antara 2 kelompok data yang dependen Misal Apakah ada perbedaan tingkat pengetahuan antara sebelum dan sesudah dilakukan pendidikan kesehatan? Apakah ada perbedaan berat badan antara sebelum dan sesudah mengikuti program diit fery mendrofa file analisa data
Syarat Distribusi normal Ke 2 kelompok data dependen/pair Jenis variabel : numerik dan katagori ( dua kelompok) Formula; T= d SD_d/ Vn d= rata – rata deviasi/selisih sampel 1 dengan 2 sampel SD-d= standar deviasi dari deviasi/selisih sampel 1 dan sampel fery mendrofa file analisa data
CONTOH Uji T INDEPENDEN fery mendrofa file analisa data
Prosedur penggunaan SPSS • • • Klik SPSS Statistics Compare mean Pilih independen samples T test Isikan kotak variabel untuk variabel numeriknya Isikan kotak grouping variabel untuk variabel katagoriknya Klik option define group isikan kode variabelnya untuk katagorik Klik continue Klik OK Lihat hasilnya fery mendrofa file analisa data
Contoh olahan analisa uji T independen EKSKLU N MEAN STD. DEVIATION STD. ERROR MEAN EKSKLUSIVE 26 11. 0346 1. 0744 . 2107 NON EKSKLUSIVE 24 10. 9875 1. 2973 . 2648 HB 1 fery mendrofa file analisa data
hasilnya Dapat dilihat nilai rata – rata standar deviasi dan SE kadar Hb ibu untuk masing kelompok. Rata – rata kadar Hb ibu yang menyusui adalah 11, 034 grm% dengan SD 1, 074 grm%. Sedangkan ibu yang non ekslusive, rata – rata kadar Hbnya adalah 10, 987 grm% dengan SD 1, 297 grm% fery mendrofa file analisa data
Independent Samples test Levene’s test for equality of variances F HB 1 Equal 1. 094 variances assumed Equal variances assumed sig . 301 T- test for equality of means t df Sig. (2 tailed) Mean differe nce Std. Error difference 95% confidence interval of the mean lower upper . 140 48 . 889 4. 712 E -02 . 3358 -. 6281 . 72 . 139 44. 817 . 890 4. 712 E -02 . 3384 -. 6281 . 72 fery mendrofa file analisa data
hasilnya Syarat penting!!!!. . pada uji levene test Nilai p < alpha (0. 05) maka varian berbeda Nilai p >alpha (0. 05) maka varian sama Dari hasil didapatkan p=0, 301 berarti varian kedua kelompok sama. Jadi yang kita lihat adalah uji t untuk varian sama (equal) Didapatkan nilai p=0, 889 sehingga dapat disimpulkan bahwa pada alpha 5 % didapat tidak ada perbedaan yang signifikan rata-rata kadar HB antara ibu yang menyusui eklusive dengan ibu yang non ekslusive fery mendrofa file analisa data
Penyajian dan interprestasi di laporan penelitian Langkah 1 : buat tabel Langkah 2 : interprestasikan Tabel. . . Distribusi rata – rata Hb responden menurut perilaku menyusui Variabel Mean SD SE P value N Menyusui - ekslusife 11, 0340 1, 074 . 2107 - Non ekslusife 10, 987 1, 297 . 2648 fery mendrofa file analisa data 0, 889 26 24
Interperstasi Rata rata kadar Hb ibu yang menyusui ekslusife adalah 11, 034 grm% dengan standar deviasi 1, 074. sedangkan untuk ibu yang non ekslusife rata – rata kadar Hbnya adalah 10, 987 grm % dengan standar deviasi 1, 297 grm %. Hasil uji statistik didapatkan nilai p=0. 889, berarti pada alpha 5 % terlihat tidak ada perbedaan yang significan rata – rata kadar Hb antara ibu yang menyusui ekslusife dgn non ekslusife fery mendrofa file analisa data
CONTOH Uji T DEPENDEN fery mendrofa file analisa data
CONTOH UJI t Dependen Seringkali disebut uji t pair/related atau pasangan Sering dipakai pada analisis data penelitian eksperimen responden diukur 2 kali fery mendrofa file analisa data
Langkah pengolahan • • • Klik SPSS Statistics Compare mean Pilih paired samples T test Masukan 2 variabel ke box paired variables dengan menekan kotak segitiga ditengah Klik variabel ke 1 Klik variabel ke 2 Klik OK Lihat hasilnya fery mendrofa file analisa data
Paired Samples Statistics mean N Std. Error Deviation Mean Hb 1 11. 0120 50 1. 1745. 1661 Pair 1 Hb 2 10. 6740 50. 9991. 1413 fery mendrofa file analisa data
Paired Samples Statistics N Pair 1 Hb 1& Hb 2 Correlation 50 . 780 Sig. 000 Paired Samples Statistics Paired differences mean Pair 1 Hb 1 hb 2 . 3380 Std. deviati on. 7398 Std. Error mean. 1046 fery mendrofa file analisa data 95 % confidence interval of the difference lower upper . 1278 . 5482 t 3. 231 df 49 Sig (2 tailed) . 002
Pada tabel pertama didapatkan rata – rata kadar dan SD kadar Hb antara pengukuran pertama dan kedua. Rata – rata kadar Hb pada pengukuran pertama (Hb 1) adalah 11, 012 grm % dengan SD 1, 174. pada pengukuran kedua (Hb 2) didapat rata – rata kadar Hb adalah 10, 674 dengan standar deviasi 0, 999 grm% fery mendrofa file analisa data
Uji t berpasangan didapatkan nilai mean perbedaan antara pengukuran pertama dan kedua adalah 0, 338 dengan standar deviasi adalah 0, 739. perbedaan ini diuji dengan uji t berpasangan menghasilkan nilai p yang dapat dilihat pada kolom 2 tail sig. Nilai p=0, 002, maka dapat disimpulkan ada perbedaan yang signifikan kadar HB anatar pengukuran pertama dengan pengukuran kedua fery mendrofa file analisa data
Penyajian dan interprestasi di laporan penelitian Langkah 1 : buat tabel Langkah 2 : interprestasikan Tabel. . . Distribusi rata – rata Hb responden menurut pengukuran pertama dan kedua Variabel Mean Kadar Hb -Pengukuran 1 11, 012 -Pengukuran 2 10, 674 SD SE P value N 1, 1745 0, 999 . 1661. 1413 0, 002 50 fery mendrofa file analisa data
Rata – rata kadar Hb pada pengukran pertama adalah 11, 012 grm % dengan SD 1, 174 grm%. Pada pengukuran kedua didapat rata – rata kadar HB adalah 10, 674 grm dengan standar deviasi 0, 999 grm%. Terlihat nilai mean perbedaan antara pengukuran pertama dan kedua adalah 0, 338 dengan SD 0, 739. hasil uji statistik didapatkan nilai p=0, 002, maka dapat disimpulkan ada perbedaan kadar HB pengukuran pertama dgn kedua fery mendrofa file analisa data
Ada pertanyaan ? Matur nuwun terimakasih fery mendrofa file analisa data
- Slides: 31