Chi-Square Analysis Test of Homogeneity. Sometimes we compare samples of different populations for certain characteristics. This data is often presented.

Slides:



Advertisements
Similar presentations
Chi-Square Analysis Goodness of Fit "Linkage Studies of the Tomato" (Trans. Royal Canad. Inst. (1931))
Advertisements

Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: p-value STAT 250 Dr. Kari Lock Morgan SECTION 4.2 Randomization distribution p-value.
Chapter 13: Inference for Tables
Does Background Music Influence What Customers Buy?
Chi-Square Analysis Mendel’s Peas and the Goodness of Fit Test.
1 Chi-Squared Distributions Inference for Categorical Data and Multiple Groups.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 25, Slide 1 Chapter 25 Comparing Counts.
Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1.
Analysis of Two-Way Tables Inference for Two-Way Tables IPS Chapter 9.1 © 2009 W.H. Freeman and Company.
MA 102 Statistical Controversies Wednesday, April 17, 2002 Today: Finish up confidence intervals Discuss significance tests Reading (for Friday) : Chapter.
Chi-Square Analysis Test of Independence. We will now apply the principles of Chi-Square analysis to determine if two variables are independent of one.
Analysis of Two-Way Tables
Analysis of Count Data Chapter 26
Goodness-of-Fit Tests and Categorical Data Analysis
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 26 Comparing Counts.
A random sample of 300 doctoral degree
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.
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.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
CHAPTER 26: COMPARING COUNTS OF CATEGORICAL DATA To test claims and make inferences about counts for categorical variables Objective:
Chi-square test or c2 test
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.
Warm-up Researchers want to cross two yellow- green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
Lecture 9 Chapter 22. Tests for two-way tables. Objectives The chi-square test for two-way tables (Award: NHST Test for Independence)  Two-way tables.
Chapter 26 Chi-Square Testing
Chapter 26: Comparing counts of categorical data
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
CHAPTER 11 SECTION 2 Inference for Relationships.
Analysis of Two-Way tables Ch 9
+ Chi Square Test Homogeneity or Independence( Association)
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.1 © 2006 W.H. Freeman and Company.
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.2 © 2006 W.H. Freeman and Company.
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.
Inference for Distributions of Categorical Variables (C26 BVD)
Chapter Outline Goodness of Fit test Test of Independence.
Lecture 9 Chapter 22. Tests for two-way tables. Objectives (PSLS Chapter 22) The chi-square test for two-way tables (Award: NHST Test for Independence)[B.
AP STATISTICS LESSON (DAY 1) INFERENCE FOR TWO – WAY TABLES.
Copyright © 2010 Pearson Education, Inc. Warm Up- Good Morning! If all the values of a data set are the same, all of the following must equal zero except.
+ Chapter 11 Inference for Distributions of Categorical Data 11.1Chi-Square Goodness-of-Fit Tests 11.2Inference for Relationships.
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
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.
Comparing Counts Chapter 26. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Section 13.2 Chi-Squared Test of Independence/Association.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Statistics 300: Elementary Statistics Section 11-3.
Chi-Square Analysis Test of Homogeneity. Sometimes we compare samples of different populations for certain characteristics. When we do so we are performing.
Statistics 26 Comparing Counts. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Chapter 13 Section 2. Chi-Square Test 1.Null hypothesis – written in words 2.Alternative hypothesis – written in words – always “different” 3.Alpha level.
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.
Comparing Observed Distributions A test comparing the distribution of counts for two or more groups on the same categorical variable is called a chi-square.
Answers the Question: Are the populations in question significantly different with regard to a particular distribution? This means you’re considering more.
Textbook Section * We already know how to compare two proportions for two populations/groups. * What if we want to compare the distributions of.
Inference of 2-way Tables. Review… New Stuff: 2-Way Tables  Looking for Significant difference across 2 variables instead of just 1 (hence, 2-way) 
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,
Chapter 12 Lesson 12.2b Comparing Two Populations or Treatments 12.2: Test for Homogeneity and Independence in a Two-way Table.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
22. Chi-square test for two-way tables
Objectives (PSLS Chapter 22)
Objectives (BPS chapter 23)
Warm-up Researchers want to cross two yellow-green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
X2 = M T W F P-Value = CONDITIONS
22. Chi-square test for two-way tables
Section 13.2 Chi-square Test of Association / Independence
Chapter 10 Analyzing the Association Between Categorical Variables
Analyzing the Association Between Categorical Variables
Comparing Proportions for Multiple Populations
Chapter 13: Chi-Square Procedures
Presentation transcript:

Chi-Square Analysis Test of Homogeneity

Sometimes we compare samples of different populations for certain characteristics. This data is often presented in a two way table. The test we use is a chi-square test of homogeneity. This is one of two similar chi-square tests, the other being a test for independence.

Relapse No Relapse Yes Total Desipramine Lithium61824 Placebo42024 Total The data represent random samples of cocaine addicts treated with different drugs to reduce the likelyhood of a relapse. Are the proportion of addicts who relapse the same for each category?

Step 1: H a : The proportion of cocaine addicts who relapse is not the same for all treatments. H 0 : The proportion of cocaine addicts who relapse is the same for the different treatments. Step 2: Assumptions: Our data are counts. We have random samples of the populations, as stated.

To find expected counts we enter the data in [A], run the test, and check [B]. All expected counts are more than 5.

Step 3: Degrees of freedom are the number of rows minus 1 times the number of columns minus 1.

Step 4: This graph does not really show that a tiny tail region should be shaded. Step 5:

Step 6: Reject H 0, a test statistic this large will occur by chance alone less than 1% of the time. Step 7: We have strong evidence that the proportion of cocaine addicts who relapse is not the same for every treatment. Further if we examine the actual contributions from each cell, we may be able to see the reason for our positive results.

In this example, we see that addicts treated with desipramine contributed the most to the test statistic. We can carry out a specific comparison of desipramine and placebo using a 2- proportion Z test, if we want to make an exact comparison.

THE END