Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tests of Association (Proportion test, Chi-square & Fisher’s exact test) Dr.L.Jeyaseelan Dept.of Biostatistics Christian Medical College Vellore, India.

Similar presentations


Presentation on theme: "Tests of Association (Proportion test, Chi-square & Fisher’s exact test) Dr.L.Jeyaseelan Dept.of Biostatistics Christian Medical College Vellore, India."— Presentation transcript:

1 Tests of Association (Proportion test, Chi-square & Fisher’s exact test) Dr.L.Jeyaseelan Dept.of Biostatistics Christian Medical College Vellore, India

2 Is particular medicine more effective than another? Researcher would be interested in studies involving comparison of groups, say, R x A vs. R x B. Chance variation Effect variation OUTCOME: Cure / Not Cure 

3 CURE NO CURE TOTAL R x A 20 (5.1%) 373 (94.9%) 393 R x B 6 (1.9%) 316 (98.1%) 322 R x A cure rate Vs R x B cure rate What is our interest? Proportion Test

4 Null hypothesis: The hypothesis of “no difference” or no effect” in the population is called null hypothesis. Cure rate in R x A group = Cure rate in R x B group Research (or) Alternative hypothesis: Research hypothesis states that there is difference. Treatment A  Treatment B

5 Procedure & Steps Find the type of problem and the question to be answered State the Null Hypothesis State the research Hypothesis Selection of the appropriate test to be utilized Fixation of the level of significance Calculating the critical ratio Comparing the calculated value with the table value (CV>TV p<0.05 significant). Making inferences.

6 Proportion of people cured in A (p1)= x 1 /n 1 = 20/393 = 0.051 Proportion of people cured in B (p2)= x 2 /n 2 = 6/322 = 0.019 Where Conclusion: There is a significant difference between R x A and R x B with respect to their cure rates. p <0.05

7 Chi Square Test To test the association between two qualitative variables when the data is in the form of counts. Yes NoTotal No24 (43.6%) 31 (56.4%) 55 Yes36 (24.2%) 113 (75.8%) 149 TB Prophylaxis in HIV TB Null hypothesis : There is no association between two variables Alternative hypothesis : There is association Example:

8 In a four fold table we can obtain an index that computes for each cell. Sum (observed count – expected count ) 2 expected count where the expected count is obtained by row total X column total grand total

9 Example: Considering a hypothetical data where we want to find association between prenatal care received by mother and survival status of infants at one month. 20 (5.1%) E1=393x26 715 373 (94.9%) E2=393x689 715 6 (1.9%) E3=322x26 715 316 (98.1%) E4=322x689 715 Less Care More Care Dead Alive 393 322 26689 715

10 Chi-square for continuity correction Continuity correction is always advisable although it has most effect when the expected numbers are small.

11 Fisher’s Exact Test Exact test is recommended when the overall total of the table is less than 20 or the overall table is between 20 to 409 and the smallest of the four expected numbers is less then 5

12 Comparison of two treatment regimes for controlling bleeding in hemophiliacs undergoing surgery Complication Treatment Fisher’s exact P value = 0.322 YesNo RxARxA 1 E1 = 2.1 12 E2 = 10.9 RxBRxB 3 E3=1.9 9 E4 = 10.1 Total 421

13 McNemar’s Chi-Square test (Paired Case) In some studies, researcher is interested in comparing two proportions which are paired This arises whenever two proportions are measured on the same individuals from matched pair design McNemar’s Chi-Square test is based on the numbers of discordant pairs

14 Layout and test statistic for matched pair analysis is a b c d + ve - ve + ve- ve Test 2 Test 1 g h e f n

15 Paired data In a study to compare a new method with an established method for the culture of tubercle bacilli, each of 320 specimens was tested by the two methods. The new method detected 96(30%) positives and the established method 80(25%).

16 McNemar’s test with the continuity correction Established method  2 =(|18-2| -1) 2 / (18 + 2), which yields a chi-square of 11.2 with 1 d.f. This is significant (p<0.001) and demonstrates that the new method is more sensitive than the established method in detecting tubercle bacilli. +ve-Ve +ve7818 -ve2222 New method

17 THANKS


Download ppt "Tests of Association (Proportion test, Chi-square & Fisher’s exact test) Dr.L.Jeyaseelan Dept.of Biostatistics Christian Medical College Vellore, India."

Similar presentations


Ads by Google