tabel kontingensi 2x2 (3) or dan uji kebebasan khi kuadrat pks/2 rasio odds dan uji... · z ] } k w...
TRANSCRIPT
![Page 1: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/1.jpg)
Tabel Kontingensi 2x2 (3)Rasio Odds dan Uji Kebebasan Khi-Kuadrat
![Page 2: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/2.jpg)
2
![Page 3: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/3.jpg)
RASIO ODDS
3
![Page 4: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/4.jpg)
Rasio OddsExposure outcome
4
Association
measure
![Page 5: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/5.jpg)
Odds Ratio
• most commonly used in case-control studies,• can also be used in cross-sectional and cohort study designs as well (with some modifications and/or assumptions).
5
Odds Ratioodds that an outcome will occur given a particular exposure
odds of the outcome occurring in the absence of that exposure
![Page 6: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/6.jpg)
Rasio ODDS
Odds Sukses 1odds
• Odds bernilai positif• Nilai odss lebih besar dari satu, saat “sukses” lebih dipilih dibandingkan “gagal” • odds = 4.0, a success is four times as likely as a failure
“It occurs as a parameter in the most important type of model for categorical data”
6
![Page 7: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/7.jpg)
Rasio Odds Pada Tabel 2x2A1 A2
B1 π1 1-π1
B2 π2 1-π2 11
11odds
2221odds
Rasio OddsValues of θ farther from 1.0 in a given direction represent stronger association. 7
![Page 8: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/8.jpg)
RASIO ODDS pada Study Cohort
8
Develop Disease Do Not Develop DiseaseExposed a b
Non-Exposed c dThe Odds that an exposed person develop disease a
bThe Odds that a non exposed person develop disease c
d
![Page 9: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/9.jpg)
Rasio Odds : Cohort• Odds ratio is the ratio of the odds of disease in the exposed to the odds of disease in the non-exposed
9
odds that an exposed person develops the diseaseodds that a non exposed person develops the disease
abc d
OR
![Page 10: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/10.jpg)
RASIO ODDS pada Study Case-Control
10
Case ControlHistory of Exposure a b
No History of Exposure c d
The odds that a case was exposed ac
The odds that a control was exposed bd
![Page 11: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/11.jpg)
Rasio Odds : Cohort
11
odds that a case was exposedodds that a control was exposed
acbd
OR
Odds ratio (OR) is the ratio of the odds that a case was exposed to the odds that a control was exposed
![Page 12: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/12.jpg)
Properties of OR• The odds ratio does not change value when the table orientation reverses so that the rows become the columns and the columns become the rows.• Thus, it is unnecessary to identify one classification as a response variable in order to estimate θ.• By contrast, the relative risk requires this, and its value also depends on whether it is applied to the first or to the second outcome category.
12
![Page 13: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/13.jpg)
Both variables are response variables
The odds ratio is also called the cross-product ratio, because it equals the ratio of the products π11π22 and π12π21 of cell probabilities from diagonally opposite cells.The sample odds ratio equals the ratio of the sample odds in the two rows,
13
![Page 14: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/14.jpg)
Ilustasi: kasus aspirin dan serangan jantung
11112
189 0.017410845nodds n
21222
104 0.009510933nodds n
12
0.0174 1.8320.0095OddsOR Odds
This also equals thecross-product ratio (189 × 10, 933)/(10,845 ×104).
The estimated odds were 83% higher for the placebogroup. 14
![Page 15: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/15.jpg)
Inferensia Rasio Odds dan Log Rasio Odds• Kecuali pada ukuran sampel sangat besar, sebaran percontohan dari OR sangat menceng (highly skewed).• Karena kemiringan ini, statistika inferensia untuk rasio odds menggunakan alternatif dengan ukuran yang setara -logaritma natural, log (θ). Dengan log (θ)=0.• Artinya =1 setara dengan log () dari 0.
15
![Page 16: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/16.jpg)
• Log(OR) simetrik di sekitar nilai 0.• Artinya, jika kita menukar posisi baris dan kolom akan
mengubah tandanya. Misal: log(2.0) = 0.7 dan log(0.5) = −0.7, kedua nilai ini mewakili kekuatan asosiasi yang sama
• Doubling a log odds ratio corresponds to squaring an odds ratio.
• Sebaran dari log() tidak terlalu menceng, menyerupai bentuk lonceng
• Sebaran log () mendekati sebaran normal dengan nilai tengah log() dan galat baku
16The SE decreases as the cell counts increase.
![Page 17: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/17.jpg)
Selang Kepercayaan untuk log() 2ˆlog Z SE
17
Ilustrasi: data aspirin • log(1.832) = 0.605• Galat baku =• SK 95% untuk log ()0.605 ± 1.96(0.123) (0.365, 0.846)
• SK 95% untuk [exp(0.365), exp(0.846)] = (e0.365, e0.846) = (1.44, 2.33)
• karena θ tidak mengandung 1, kemungkinan serangan jantung berbeda untuk kedua kelompok.
![Page 18: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/18.jpg)
18
Kita menduga bahwa odds serangan jantung setidaknya 44% lebih tinggi pada subjek yang mengkonsumsi placebo dibandingkan dengan subjek yang mengkonsumsi aspirin
![Page 19: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/19.jpg)
Catatan• Bila terdapat nilai nij=0, maka perhitungan OR adalah
19
![Page 20: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/20.jpg)
Hubungan antara OR dan RR
Jika p1 dan p2 mendekati nol, maka nilai OR akan sama dgr RR
20
This relationship between the odds ratio and the relative risk is useful.For some data sets direct estimation of the relative risk is not possible,yet one can estimate the odds ratio and use it to approximate therelative risk.
![Page 21: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/21.jpg)
Rasio Odds pada studi case-control• Table 2.4 refers to a study that
investigated the relationship between smoking and myocardial infarction.
• The first column refers. • Each case was matched with two
control patients admitted to the samehospitals with other acute disorders.
• The controls fall in the second column of the table.
21
to 262 young and middle-aged women (age < 69) admitted to 30 coronary care units in northern Italy with acute MI during a 5-year period
![Page 22: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/22.jpg)
• All subjects were classified according to whether they had ever been smokers.
• The “yes” group consists of women who were current smokers or ex-smokers, whereas the “no” group consists of women who never were smokers.We refer to this variableas smoking status.
• The study, which uses a retrospective design to look into the past, is called a case–control study.
• Such studies are common in health-related applications, for instance to ensure a sufficiently large sample ofsubjects having the disease studied.
22
![Page 23: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/23.jpg)
23
Tidak bisa menghitung proporsi penderita MI pada kelompok smoker (atau non-smoker)
Karena untuk setiap penderita MI kita pasangkan dengan 2 orang kontrol
Untuk wanita penderita MI, proporsi yang merupakan perokok sebesalr172/262 = 0.656,Sedangkan untuk wanita bukan penderita MI, proporsi perokok sebesar 173/519 = 0.333
Peubah respon
Peubah
penje
las
When the sampling design is
levels of the fixed response.
When the sampling design is retrospective, we can construct conditional distributionsfor the explanatory variable, within levels of the fixed response.
![Page 24: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/24.jpg)
• In Table 2.4, the sample odds ratio is [0.656/(1 − 0.656)]/[0.333/(1 − 0.333)] = (172 × 346)/(173 ×90) = 3.8. • The estimated odds of ever being a smoker wereabout 2 for the MI cases (i.e., 0.656/0.344) and about 1/2 for the controls (i.e.,0.333/0.667), yielding an odds ratio of about 2/(1/2) = 4.• For Table 2.4, we cannot estimate the relative riskof MI or the difference of proportions suffering MI.• Binomial sample column, dependent because 1MI paired with 2 control
24
![Page 25: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/25.jpg)
Bagaimana mengukur keeratan hubungan 2 peubah??
25
Korelasi Hubungan linear
pearson spearman
Data Nominal ?
![Page 26: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/26.jpg)
Tahun 1900
26
Pearson chi-squared statisticKarl Pearson
![Page 27: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/27.jpg)
Uji Kebebasan Khi - Kuadrat• Mengukur asosiasi antara dua peubah.• Korelasi Pearson and Spearman tidak dapat diterapkan pada data degan skala pengukuran nominal• Khi-kuadrat digunakan untuk data nominal dalam tabel kontingensi
A contingency table is a two-way table showing the contingency between two variables where the variables have been classified into mutually exclusive categories and the cell entries are frequencies.
![Page 28: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/28.jpg)
![Page 29: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/29.jpg)
Statistik Uji (pearson chi-squared & likelihood chi squared)
29
• Pearson statistic X2 is a score statistic. (This means that X2 is based on a covariance matrix for the counts that is estimated under H0.)
• The Pearson X2 and likelihood-ratio G2 provide separate test statistics, but they share many properties and usually provide the same conclusions. • When H0 is true and the expected frequencies are large, the two statistics have the same chi-squared distribution, and their numerical values are similar.
![Page 30: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/30.jpg)
• The convergence is quicker for X2 than G2.• The chi-squared approximation is often poor for G2 when some expected frequencies areless than about 5.
30
![Page 31: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/31.jpg)
Party IdentificationDemocrat
Independent Republican
TotalFemales 762 327 468 1577
Males 484 293 477 1200
Total 1246 566 945 2757
Menghitung Nilai Harapan
1. 1246*1577= 1940022 2. 1940022/2757 = 703,7
703,7
![Page 32: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/32.jpg)
32
![Page 33: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/33.jpg)
Ilustrasi: Data smoker-lung cancerLung Cancer TotalYes No
Smoker 120 30 150Non Smoker 40 50 90Total 160 80 240
33
![Page 34: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/34.jpg)
HipotesisH0: Tidak ada asosiasi antara kebiasaan merokok dan penyakit kanker paru-paruH1: Ada asosiasi antara kebiasaan merokok dan penyakit kanker paru-paruNilai Rasio Odds
34
(120 50) 5(40 30)xx )
![Page 35: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/35.jpg)
Syntax SASData aspirin;input smoking $ cancer $ frec ;cards;smoker yes 120smoker no 30non_smoker yes 40non_smoker no 50;proc freq data=aspirin order=data;tables smoking*cancer/nopercent nocol norow expected;exact or chisq;weight frec;run;
35
![Page 36: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/36.jpg)
Output
36
![Page 37: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/37.jpg)
37
![Page 38: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/38.jpg)
38
![Page 39: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/39.jpg)
Mengubah posisi tabel kontingensi
39
![Page 40: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/40.jpg)
40
![Page 41: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/41.jpg)
Warning !!
Lebih dari 20% cell dengan nilaiharapan > 5, kita tidak bisamenggunakan Chi Square testDua Solusi:1. Menggabungkan kategori2. Gunakan Exact Fisher test
![Page 42: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/42.jpg)
Menggabungkan KategoriDaya Listik Penghasilan Total
>300.000-750.000 > 1.000.000-2.000.000450 & 900 watt 37 11 481300 & 3500 watt 2 10 12Total 39 21 50
42
![Page 43: Tabel Kontingensi 2x2 (3) OR dan Uji Kebebasan Khi Kuadrat PKS/2 Rasio Odds dan Uji... · z ] } k w } z } í í rggv wkdw d fdvh zdv h[srvhg rggv wkdw d frqwuro zdv h[srvhg d f e](https://reader031.vdocuments.us/reader031/viewer/2022022805/5cbf77f188c993cd2c8b9ba0/html5/thumbnails/43.jpg)
Uji Pasti Fisher ?Pertemuan Selanjutnya
43