Test of Independence Tests the claim that the two variables related. For example: each sample (incident) was classified by the type of crime and the victim.

Slides:



Advertisements
Similar presentations
Contingency Tables Definition Contingency Table (or two-way frequency table) Contingency Table (or two-way frequency table) a table in which frequencies.
Advertisements

STATISTICS ELEMENTARY MARIO F. TRIOLA
Chapter 11 Other Chi-Squared Tests
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
Basic Statistics The Chi Square Test of Independence.
Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
Chi-Square Test of Independence u Purpose: Test whether two nominal variables are related u Design: Individuals categorized in two ways.
Crosstabs and Chi Squares Computer Applications in Psychology.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
11-3 Contingency Tables In this section we consider contingency tables (or two-way frequency tables), which include frequency counts for categorical data.
Chi-Square and F Distributions Chapter 11 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
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.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
1 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
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.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
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.
Essential Statistics Chapter 161 Review Part III_A_Chi Z-procedure Vs t-procedure.
Chapter 14: Chi-Square Procedures – Test for Goodness of Fit.
CHI SQUARE TESTS.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics: A First Course Fifth Edition.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Inference for Distributions of Categorical Variables (C26 BVD)
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 2 methods.
Chapter Outline Goodness of Fit test Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
1 Chapter 10. Section 10.1 and 10.2 Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
Slide 1 Copyright © 2004 Pearson Education, Inc..
AGENDA:. AP STAT Ch. 14.: X 2 Tests Goodness of Fit Homogeniety Independence EQ: What are expected values and how are they used to calculate Chi-Square?
12/23/2015Slide 1 The chi-square test of independence is one of the most frequently used hypothesis tests in the social sciences because it can be used.
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.
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Lesson 12 - R Chapter 12 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
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.
Statistics 300: Elementary Statistics Section 11-3.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
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.
Goodness-of-Fit and Contingency Tables Chapter 11.
Chi-square for tables Homogeneity and independence.
Basic Statistics The Chi Square Test of Independence.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chi-Square hypothesis testing
Chapter 11 Chi-Square Tests.
Is a persons’ size related to if they were bullied
Consider this table: The Χ2 Test of Independence
Contingency Tables: Independence and Homogeneity
Chapter 11 Chi-Square Tests.
Inference for Two Way Tables
Chapter 11 Chi-Square Tests.
Presentation transcript:

Test of Independence Tests the claim that the two variables related. For example: each sample (incident) was classified by the type of crime and the victim Does the type crime committed depend on or influenced by the relationship to the victim? HomicideRobberyForgery Stranger Acquaintance

Example: Test of Homogeneity Test the claim that different populations have the same proportions of some characteristics For example: each student in out sample was classified by their grade and favorite subject Do upper and lower classmen like the same subjects at the same percentages? MathEnglishSocial Studies ScienceOther Under Upper

Contingency Table Each sample is characterized by two variables; each variable has at least two possible values The table lists the individual frequencies for every combination of values. –One variable is used to categorize rows. –A second variable is used to categorize columns. HomicideRobberyForgery Stranger Acquaintance

Independence

Independence, again

Test Procedure Compare a test statistics with a critical value Critical values from the Chi-squared table Test statistic is a sum of calculations in the Observed and Expected values Observed values are the sample data Expected values are what we should have seen if our claim was true

Expected Value For each cell we need the expected number For every cell in the contingency table, the expected frequency E should be at least 5. –There is no requirement that every observed frequency must be at least 5.

Example HomicideRobberyForgeryRow total Stranger12 (29.37) 378 (284.67) 726 (803.43) 1116 Acquaintance38 (21.07) 105 (200.36) 641 (565.57) 784 Column total

Test of Independence Test Statistic Test statistic: add up the difference ratio for each cell Critical Values –Found in Table A-4 –Degrees of freedom = (r - 1)(c - 1) –r is the number of rows and c is the number of columns Tests of Independence are always right-tailed. X 2 =  ( O - E ) 2 E

Example HomicideRobberyForgeryRow total Stranger12 (29.37) [10.27] 378 (284.67) [31.28] 726 (803.43) [7.27] 1116 Acquaintance38 (21.07) [15.26] 105 (200.36) [44.44] 641 (565.57) [10.33] 784 Column total

Test Statistic Test statistic: X 2 = = Critical value: X 2 = (from Table A-4) α = 0.05 ( r -1) ( c -1) = (2 -1) (3 -1) = 2 degrees of freedom

0 Reject Independence Fail to Reject Independence Comparing the values H 0 : variables are independent H 1 : variables are dependent

Caveat This procedure cannot be used to establish a direct cause-and-effect link between variables in question. –Dependence means only there is a relationship between the two variables.

Example: Test of Homogeneity Do upper and lower classmen like the same subjects at the same percentages? MathEnglishSocial Studies ScienceOther Under Upper

0  = 0.05 Reject Sameness Fail to Reject Sameness Comparing the values H 0 : proportions are the same H 1 : proportions are different

Your turn Is political party affiliation dependent on gender? DemocratIndependentRepublican Female Male241113

Your turn Do males and females like the same subjects? ArtsEngFoodLangMathPESciSoc Female Male

1.Enter table into matrix 2.STAT->TEST->χ 2 -Test… 3.Data matrix into Observed 4.‘Empty’ matrix into Expected 5.Select Calculate 6.Read test statistic and/or p-value