Section 13.2 Chi-Squared Test of Independence/Association.

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

Chi-square test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
Chapter 13: Inference for Distributions of Categorical Data
Copyright ©2011 Brooks/Cole, Cengage Learning More about Inference for Categorical Variables Chapter 15 1.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
Chapter 26: Comparing Counts
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Chapter 13 Chi-Square Tests. The chi-square test for Goodness of Fit allows us to determine whether a specified population distribution seems valid. The.
Testing Distributions Section Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.
AP Statistics Section 14.2 B. We can use the chi-square test of association/independence to test the null hypothesis when you have a two-way table from.
AP STATISTICS LESSON 13 – 1 (DAY 1) CHI-SQUARE PROCEDURES TEST FOR GOODNESS OF FIT.
 Involves testing a hypothesis.  There is no single parameter to estimate.  Considers all categories to give an overall idea of whether the observed.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
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.
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.
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
Warm-up Researchers want to cross two yellow- green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
Two Way Tables and the Chi-Square Test ● Here we study relationships between two categorical variables. – The data can be displayed in a two way table.
Chapter 26 Chi-Square Testing
CHAPTER 11 SECTION 2 Inference for Relationships.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
Chapter 11 The Chi-Square Test of Association/Independence Target Goal: I can perform a chi-square test for association/independence to determine whether.
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
+ Chi Square Test Homogeneity or Independence( Association)
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
AP Statistics Chapter 13 Notes. Two-sample problems The goal is to compare the responses of two treatments given to randomly assigned groups, or to compare.
Chapter 14: Chi-Square Procedures – Test for Goodness of Fit.
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.
The Practice of Statistics Third Edition Chapter (13.1) 14.1: Chi-square Test for Goodness of Fit Copyright © 2008 by W. H. Freeman & Company Daniel S.
CHAPTER 23: Two Categorical Variables The Chi-Square Test ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Warm up On slide.
Copyright © 2010 Pearson Education, Inc. Slide
Inference for Distributions of Categorical Variables (C26 BVD)
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
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.
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.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
DICE!  You are going to make your own and then we are going to test them (later) to see if they are fair!
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 Tests Chapter 17. Assumptions for Parametrics >Normal distributions >DV is at least scale >Random selection Sometimes other stuff: homogeneity,
Comparing Counts Chapter 26. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Statistics 300: Elementary Statistics Section 11-3.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
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 &
Inference for Tables Chi-Square Tests Chi-Square Test Basics Formula for test statistic: Conditions: Data is from a random sample/event. All individual.
AP Statistics Chapter 13 Section 1. 2 kinds of Chi – Squared tests 1.Chi-square goodness of fit – extends inference on proportions to more than 2 proportions.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
12.2 Tests for Homogeneity and Independence in a two-way table Wednesday, June 22, 2016.
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.
Chi Square Procedures Chapter 14. Chi-Square Goodness-of-Fit Tests Section 14.1.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8… Where we are going… Significance Tests!! –Ch 9 Tests about a population proportion –Ch 9Tests.
Textbook Section * We already know how to compare two proportions for two populations/groups. * What if we want to compare the distributions of.
Warm-up Researchers want to cross two yellow-green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
Chi Square Two-way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 11: Inference for Distributions of Categorical Data
Two Sample T-Tests AP Statistics.
Lesson 11 - R Chapter 11 Review:
Analyzing the Association Between Categorical Variables
Chapter 13: Chi-Square Procedures
Presentation transcript:

Section 13.2 Chi-Squared Test of Independence/Association

The Three Types of χ 2 tests Recall that there are three types of χ 2 tests: –Goodness of fit test Tests whether a sample distribution matches a hypothesized distribution (Does it fit GOOD?) –Homogeneity of proportions Tests whether p 1 = p 2 = p 3 = … –Association/Independence Tests whether two categorical variables are related

What are the assumptions? SRS from the population of interest 10% Rule for showing independent. None of the expected counts are less than 5.

χ 2 test of Association When a two-way table compares several populations, we use a χ 2 test for homogeneity of proportions. On the other hand, sometimes we want to classify observations FROM A SINGLE POPULATION by placing them in categories. Then we use a χ 2 test of association (also called the χ 2 test of independence).

Example SES SmokingHighMiddleLowTotal Current Former Never Total My question: “Is there an association between SES level and smoking habits?”

Hypotheses The χ 2 test of association has hypotheses that are written in words: –H 0 : There is no relationship between smoking and SES level. –H a : There is some relationship between smoking and SES level.

In other words… –H 0 : Smoking and SES level are independent. –H a : Smoking and SES level are not independent. OR –H 0 : There is no association between smoking and SES level. –H a : There is some association between smoking and SES level.

Finishing up The rest of the test is carried out in the same manner as the χ 2 test for homogeneity of proportions. Just make sure your conclusion sentences match the H 0 and H a hypotheses.

χ 2 tests Comparison Chart Goodness of Fit Homogeneity of Proportions Association Hypotheses H 0 : The sample distribution matches the hypothesized distribution. H a : The sample distribution does not match the hypothesized distribution. H 0 : p1 = p2 = p3 = … H a : Not all of the proportions are equal. H 0 : There is no relationship between the two variables. H a : There is some relationship between the two variables. Assumptions SRS None of the expected counts are zero. No more than 20% of the expected counts are less than 5. Independent SRSs None of the expected counts are zero. No more than 20% of the expected counts are less than 5. SRS None of the expected counts are zero. No more than 20% of the expected counts are less than 5. Test Multiply the expected percents by your sample size. Calculate χ 2 statistic by hand. Look up p-value in Table E, df = # of categories minus 1. Enter observed counts in [A]. Use the calculator to find the p- value. *LOOK AT THE EXPECTED COUNTS IN [B] TO CHECK ASSUMPTIONS! So, the difference between the homogeneity of proportions test and the association test is ARE WE COMPARING SEVERAL POPULATIONS or DID THE DATA ARISE BY CLASSIFYING OBSERVATIONS INTO CATEGORIES.

HomeworkHomework Chapter 11 # 48, 49, 50, 51, 52