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.

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

 2 test for independence Used with categorical, bivariate data from ONE sample Used to see if the two categorical variables are associated (dependent)
15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
Statistical Inference for Frequency Data Chapter 16.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
© McGraw-Hill, Bluman, 5th ed., Chapter 9
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
Cross-Tabulations.
Chi-Square Tests and the F-Distribution
Chi-Square and Analysis of Variance (ANOVA)
Presentation 12 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.
GOODNESS OF FIT TEST & CONTINGENCY TABLE
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.
Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 91.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Other Chi-Square Tests
Chi-square test or c2 test
Test of Independence. The chi squared test statistic and test procedure can also be used to investigate association between 2 categorical variables in.
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
Chapter 26 Chi-Square Testing
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
© 2000 Prentice-Hall, Inc. Statistics The Chi-Square Test & The Analysis of Contingency Tables Chapter 13.
Other Chi-Square Tests
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.
Copyright © 2010 Pearson Education, Inc. Slide
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
9.2 Testing the Difference Between Two Means: Using the t Test
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.
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,
Sec 8.5 Test for a Variance or a Standard Deviation Bluman, Chapter 81.
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.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
Calculator steps: The calculator steps for this section can be found on YouTube or by clicking: HereHere Bluman, Chapter 111.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Statistics 300: Elementary Statistics Section 11-3.
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.
Chapter 12 Lesson 12.2b Comparing Two Populations or Treatments 12.2: Test for Homogeneity and Independence in a Two-way Table.
Other Chi-Square Tests
Testing the Difference between Means, Variances, and Proportions
Testing the Difference Between Two Means
Chi-square test or c2 test
Testing the Difference between Means and Variances
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 11 Chi-Square Tests.
1) A bicycle safety organization claims that fatal bicycle accidents are uniformly distributed throughout the week. The table shows the day of the week.
M248: Analyzing data Block D.
Testing the Difference Between Two Variances
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables: Independence and Homogeneity
Chi-square test or c2 test
Chapter 11 Chi-Square Tests.
Inference on Categorical Data
Chapter 11 Chi-Square Tests.
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Presentation transcript:

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 the chi-square test. test of independence of variables The test of independence of variables is used to determine whether two variables are independent of or related to each other when a single sample is selected. test of homogeneity of proportions The test of homogeneity of proportions is used to determine whether the proportions for a variable are equal when several samples are selected from different populations. Bluman, Chapter 11 1

Test for Independence The chi-square goodness-of-fit test can be used to test the independence of two variables. The hypotheses are:  H 0 : There is no relationship between two variables.  H 1 : There is a relationship between two variables. If the null hypothesis is rejected, there is some relationship between the variables. Bluman, Chapter 11 2

Test for Independence In order to test the null hypothesis, one must compute the expected frequencies, assuming the null hypothesis is true. contingency table When data are arranged in table form for the independence test, the table is called a contingency table. Bluman, Chapter 11 3

Contingency Tables Bluman, Chapter 11 4 The dimension of the contingency table is given: ROW by COLUMN

Contingency Tables The degrees of freedom for any contingency table are d.f. = (rows – 1) (columns – 1) = (R – 1)(C – 1). Bluman, Chapter 11 5 The table above is 2 by 3. Only count the numerical cells.

Test for Independence The formula for the test for independence: where d.f. = (R – 1)(C – 1) O = observed frequency E = expected frequency = Bluman, Chapter 11 6

Chapter 11 Other Chi-Square Tests Section 11-2 Example 11-5 Page #606 Bluman, Chapter 11 7

Example (see page 618): College Education and Place of Residence A sociologist wishes to see whether the number of years of college a person has completed is related to her or his place of residence. A sample of 88 people is selected and classified as shown. At α = 0.05, can the sociologist conclude that a person’s location is dependent on the number of years of college? Bluman, Chapter 11 8 Location No College Four-Year Degree Advanced DegreeTotal Urban Suburban Rural Total

Example 11-5: College Education and Place of Residence Bluman, Chapter 11 9 Step 1: State the hypotheses and identify the claim. H 0 : A person’s place of residence is independent of the number of years of college completed. H 1 : A person’s place of residence is dependent on the number of years of college completed (claim). Step 2: Find the critical value. The critical value is 4.605, since the degrees of freedom are (2 – 1)(3 – 1) = 2.

Bluman, Chapter Location No College Four-Year Degree Advanced DegreeTotal Urban Suburban Rural Total Compute the expected values. (11.53) (10.55) (6.92) (13.92) (12.73) (8.35) (9.55) (8.73) (5.73) See next two slides for calculator use.

Bluman, Chapter 1111 [A] Enter Observed values as Matrix 1: 2 nd x -1 [B] Enter Expected values as Matrix

Bluman, Chapter 1112 Test statistics :  2 =3.005

College Education and Place of Residence Bluman, Chapter Step 3: Compute the test value.

College Education and Place of Residence Bluman, Chapter Step 4: Make the decision. Do not reject the null hypothesis, since 3.01< Step 5: Summarize the results. There is not enough evidence to support the claim that a person’s place of residence is dependent on the number of years of college completed.

Chapter 11 Other Chi-Square Tests Section 11-2 Example 11-6 Page #608 Bluman, Chapter 11 15

Example 11-6: Alcohol and Gender A researcher wishes to determine whether there is a relationship between the gender of an individual and the amount of alcohol consumed. A sample of 68 people is selected, and the following data are obtained. At α = 0.10, can the researcher conclude that alcohol consumption is related to gender? Bluman, Chapter Gender Alcohol Consumption Total LowModerateHigh Male Female Total

Example 11-6: Alcohol and Gender Step 1: State the hypotheses and identify the claim. H 0 : The amount of alcohol that a person consumes is independent of the individual’s gender. H 1 : The amount of alcohol that a person consumes is dependent on the individual’s gender (claim). Step 2: Find the critical value. The critical value is 9.488, since the degrees of freedom are (3 – 1 )(3 – 1) = (2)(2) = 4. Bluman, Chapter 11 17

Example 11-6: Alcohol and Gender Bluman, Chapter Gender Alcohol Consumption Total LowModerateHigh Male Female Total Compute the expected values. (9.13)(9.93) (7.94) (13.87)(15.07) (12.06)

Example 11-6: Alcohol and Gender Step 3: Compute the test value. Bluman, Chapter 11 19

Example 11-6: Alcohol and Gender Step 4: Make the decision. Do not reject the null hypothesis, since < Step 5: Summarize the results. There is not enough evidence to support the claim that the amount of alcohol a person consumes is dependent on the individual’s gender. Bluman, Chapter 11 20

Test for Homogeneity of Proportions Homogeneity of proportions test Homogeneity of proportions test is used when samples are selected from several different populations and the researcher is interested in determining whether the proportions of elements that have a common characteristic are the same for each population. Bluman, Chapter 11 21

Test for Homogeneity of Proportions The hypotheses are:  H 0 : p 1 = p 2 = p 3 = … = p n  H 1 : At least one proportion is different from the others. When the null hypothesis is rejected, it can be assumed that the proportions are not all equal. Bluman, Chapter 11 22

Assumptions for Homogeneity of Proportions 1.The data are obtained from a random sample. 2.The expected frequency for each category must be 5 or more. Bluman, Chapter 11 23

Chapter 11 Other Chi-Square Tests Section 11-2 Example 11-7 Page #610 Bluman, Chapter 11 24

Example 11-7: Lost Luggage A researcher selected 100 passengers from each of 3 airlines and asked them if the airline had lost their luggage on their last flight. The data are shown in the table. At α = 0.05, test the claim that the proportion of passengers from each airline who lost luggage on the flight is the same for each airline. Bluman, Chapter Airline 1Airline 2Airline 3Total Yes No Total

Example 11-7: Lost Luggage Step 1: State the hypotheses. H 0 : p 1 = p 2 = p 3 = … = p n H 1 : At least one mean differs from the other. Step 2: Find the critical value. The critical value is 5.991, since the degrees of freedom are (2 – 1 )(3 – 1) = (1)(2) = 2. Bluman, Chapter 11 26

Example 11-7: Lost Luggage Bluman, Chapter Compute the expected values. Airline 1Airline 2Airline 3Total Yes No Total (7) (93)

Example 11-7: Luggage Step 3: Compute the test value. Bluman, Chapter 11 28

Example 11-7: Lost Luggage Step 4: Make the decision. Do not reject the null hypothesis, since < Step 5: Summarize the results. There is not enough evidence to reject the claim that the proportions are equal. Hence it seems that there is no difference in the proportions of the luggage lost by each airline. Bluman, Chapter 11 29

On your own Read section 11.2 and all its examples. Sec 11.2 page 614 #1-7 all; And #9, 17, 23, 27, 31 Bluman, Chapter 1130