Exact Test Fisher’s Statistics

Slides:



Advertisements
Similar presentations
EPI809/Spring Fishers Exact Test Fishers Exact Test is a test for independence in a 2 X 2 table. It is most useful when the total sample size and.
Advertisements

Contingency Table Analysis Mary Whiteside, Ph.D..
Hypothesis Testing and Comparing Two Proportions Hypothesis Testing: Deciding whether your data shows a “real” effect, or could have happened by chance.
Contingency Tables Chapters Seven, Sixteen, and Eighteen Chapter Seven –Definition of Contingency Tables –Basic Statistics –SPSS program (Crosstabulation)
Chi-Square Test Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
12.The Chi-square Test and the Analysis of the Contingency Tables 12.1Contingency Table 12.2A Words of Caution about Chi-Square Test.
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.
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
The Chi-Square Test Used when both outcome and exposure variables are binary (dichotomous) or even multichotomous Allows the researcher to calculate a.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
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.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Statistical test for Non continuous variables. Dr L.M.M. Nunn.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
AP STATISTICS LESSON 10 – 2 DAY 2 MORE DETAIL: STATING HYPOTHESES.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
AP Statistics Section 11.1 B More on Significance Tests.
T Test for Two Independent Samples. t test for two independent samples Basic Assumptions Independent samples are not paired with other observations Null.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
Don’t be wordy; mind your style! “The results that were taken from a sample of people go to show some results that tell us some facts about how women and.
Ch. 26 Tests of significance Example: –Goal: Decide if a die is fair. –Procedure: Roll a die 100 times and count the number of dots. We observe 368 total.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Chi square and Hardy-Weinberg
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 &
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
More on Inference.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
P-values.
Goodness of Fit Tests The goal of χ2 goodness of fit tests is to test is the data comes from a certain distribution. There are various situations to which.
Data Analysis for Two-Way Tables
More on Inference.
We’ll now consider 2x2 contingency tables, a table which has only 2 rows and 2 columns along with a special way to analyze it called Fisher’s Exact Test.
Statistics and Computers
Consider this table: The Χ2 Test of Independence
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Quantitative Methods PSY302 Quiz Chapter 9
What I learned in statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Statistical Process Control
Overview and Chi-Square
Hypothesis Testing.
Contingency tables and goodness of fit
Analyzing the Association Between Categorical Variables
Statistics and computer
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Chi-Squared AP Biology.
Chapter 26 Comparing Counts.
Inference for Two Way Tables
Chapter 14.1 Goodness of Fit Test.
Graphs and Chi Square.
Chapter Outline Goodness of Fit test Test of Independence.
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Hypothesis Testing - Chi Square
Presentation transcript:

Exact Test Fisher’s Statistics

Exact Tests Favorable Unfavorable Total Test Control 10 2 4 12 6 12 6 10 2 4 12 6 12 6 18 A test treatment and a control are compared to determine whether the rates of favorable response are the same. The sample sizes requirements for the chi-square tests are not met by these data

if you can consider the margins (12, 6, 12, 6) to be fixed, then you can assume that the data are distributed hypergeometrically and write Pr(nij) = n1+!n2+!n+1!n+2!/n!n11!n12!n21!n22! p-value is the probability of the observed data or more extreme data occurring under the null hypothesis With Fisher’s exact test, determine the p-value for this table by summing the probabilities of the tables that are as likely or less likely, given the fixed margins.

The following table includes all possible table configurations and their associated probabilities. Table Cell (1,1) (1,2) (2,1) (2,2) Probabilities ---------------------------------------------------------------------------- 12 0 0 6 0.0001 11 1 1 5 0.0039 10 2 2 4 0.0533 9 3 3 3 0.2370 8 4 4 2 0.4000 7 5 5 1 0.2560 6 6 6 0 0.0498 To find the one-sided p-value, you sum the probabilities as small or smaller than those computed for the table observed, in the direction specified by the one-sided alternative. In this case, it would be those tables in which the Test treatment had the more favorable response, or p = 0.0533 + 0.0039 + 0.0001 = 0.0573

To find the two-sided p-value, you sum all of the probabilities that are as small or smaller than that observed, or p = 0.0533 + 0.0039 + 0.0001 + 0.0498 = 0.1071