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

Slides:



Advertisements
Similar presentations
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Advertisements

Section VII Chi-square test for comparing proportions and frequencies.
Hypothesis Testing IV Chi Square.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
Section 4.2: How to Look for Differences. Cross-Tabulations College student binge drinkers experienced many personal and social problems, the researchers.
Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1.
Two-Way Tables Two-way tables come about when we are interested in the relationship between two categorical variables. –One of the variables is the row.
1. 2 BIOSTATISTICS 5.6 TEST OF HYPOTHESIS 3 BIOSTATISTICS TERMINAL OBJECTIVE: 5.6 Perform a test of significance on a hypothesis using Chi-square test.
Statistics 303 Chapter 9 Two-Way Tables. Relationships Between Two Categorical Variables Relationships between two categorical variables –Depending on.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Chapter 14 Tests of Hypotheses Based on Count Data
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Presentation 12 Chi-Square test.
The Chi-Square Test Used when both outcome and exposure variables are binary (dichotomous) or even multichotomous Allows the researcher to calculate a.
David Yens, Ph.D. NYCOM PASW-SPSS STATISTICS David P. Yens, Ph.D. New York College of Osteopathic Medicine, NYIT l PRESENTATION.
Analysis of Categorical Data
Amsterdam Rehabilitation Research Center | Reade Testing significance - categorical data Martin van der Esch, PhD.
Goodness-of-Fit Tests and Categorical Data Analysis
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
1 Desipramine is an antidepressant affecting the brain chemicals that may become unbalanced and cause depression. It was tested for recovery from cocaine.
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Dr.Shaikh Shaffi Ahamed Ph.D., Dept. of Family & Community Medicine
ANOVA (Analysis of Variance) by Aziza Munir
Analysis of two-way tables - Formulas and models for two-way tables - Goodness of fit IPS chapters 9.3 and 9.4 © 2006 W.H. Freeman and Company.
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
Quantitative Methods Partly based on materials by Sherry O’Sullivan Part 3 Chi - Squared Statistic.
Chapter 12 The Analysis of Categorical Data and Goodness-of-Fit Tests.
Parametric tests (independent t- test and paired t-test & ANOVA) Dr. Omar Al Jadaan.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Statistical test for Non continuous variables. Dr L.M.M. Nunn.
Analysis of Qualitative Data Dr Azmi Mohd Tamil Dept of Community Health Universiti Kebangsaan Malaysia FK6163.
Nonparametric Statistics
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Data Analysis for Two-Way Tables. The Basics Two-way table of counts Organizes data about 2 categorical variables Row variables run across the table Column.
Chapter 11 Chi- Square Test for Homogeneity Target Goal: I can use a chi-square test to compare 3 or more proportions. I can use a chi-square test for.
Chapter 17 Comparing Multiple Population Means: One-factor ANOVA.
Reasoning in Psychology Using Statistics Psychology
4 normal probability plots at once par(mfrow=c(2,2)) for(i in 1:4) { qqnorm(dataframe[,1] [dataframe[,2]==i],ylab=“Data quantiles”) title(paste(“yourchoice”,i,sep=“”))}
1 G Lect 7a G Lecture 7a Comparing proportions from independent samples Analysis of matched samples Small samples and 2  2 Tables Strength.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Chi Square Tests PhD Özgür Tosun. IMPORTANCE OF EVIDENCE BASED MEDICINE.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
THE CHI-SQUARE TEST BACKGROUND AND NEED OF THE TEST Data collected in the field of medicine is often qualitative. --- For example, the presence or absence.
Dr.Shaikh Shaffi Ahamed Ph.D., Dept. of Family & Community Medicine
Handbook for Health Care Research, Second Edition Chapter 11 © 2010 Jones and Bartlett Publishers, LLC CHAPTER 11 Statistical Methods for Nominal Measures.
Chi-square test Hypothesis testing. Null hypothesis- The status quo– AKA no change/difference. Alternative hypothesis- What you want to prove/show with.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
11/12 9. Inference for Two-Way Tables. Cocaine addiction Cocaine produces short-term feelings of physical and mental well being. To maintain the effect,
Megan Templin, MPH, M.S. H. James Norton, PhD Dickson Advanced Analytics Research Division Carolinas Healthcare System.
Lecture8 Test forcomparison of proportion
Objectives (BPS chapter 23)
Association between two categorical variables
Community &family medicine
Data Analysis for Two-Way Tables
Elementary Statistics
Chi-Square Analysis of Cells in Mitosis Cards
Hypothesis Testing Part 2: Categorical variables
Chi-Squared AP Biology.
Inference for Two Way Tables
Inference for Two-way Tables
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Analysis of two-way tables
Mortality Analysis.
Presentation transcript:

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

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 

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

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

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.

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

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:

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

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=393x (94.9%) E2=393x (1.9%) E3=322x (98.1%) E4=322x Less Care More Care Dead Alive

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

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

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

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

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

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%).

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

THANKS