Copyright © Cengage Learning. All rights reserved.

Slides:



Advertisements
Similar presentations
Basic Statistics The Chi Square Test of Independence.
Advertisements

Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
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 16 Chi Squared Tests.
Chi-Square and F Distributions Chapter 11 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Chapter 9 Hypothesis Testing.
The Kruskal-Wallis Test The Kruskal-Wallis test is a nonparametric test that can be used to determine whether three or more independent samples were.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
A company listed five categories and asked each employee to mark the one most important to him or her. The company wants to determine if the current distribution.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
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.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
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.
Sec 8.5 Test for a Variance or a Standard Deviation Bluman, Chapter 81.
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.
Lesson Test to See if Samples Come From Same Population.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Chi-Två Test Kapitel 6. Introduction Two statistical techniques are presented, to analyze nominal data. –A goodness-of-fit test for the multinomial experiment.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Copyright © Cengage Learning. All rights reserved. 10 Inferences about Differences.
Copyright © Cengage Learning. All rights reserved. Hypothesis Testing 9.
11.1 Chi-Square Tests for Goodness of Fit
Basic Statistics The Chi Square Test of Independence.
Other Chi-Square Tests
Test of independence: Contingency Table
Chi-Square hypothesis testing
Copyright © Cengage Learning. All rights reserved.
Unit 8 Section 7.5.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
CHAPTER 11 CHI-SQUARE TESTS
Testing a Claim About a Mean:  Not Known
Chapter 12 Tests with Qualitative Data
Copyright © Cengage Learning. All rights reserved.
Qualitative data – tests of association
Chapter 12: Inference about a Population Lecture 6b
Chapter 11 Goodness-of-Fit and Contingency Tables
Elementary Statistics: Picturing The World
Elementary Statistics
Copyright © Cengage Learning. All rights reserved.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 11: Inference for Distributions of Categorical Data
Statistical Inference about Regression
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables: Independence and Homogeneity
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Test to See if Samples Come From Same Population
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Analyzing the Association Between Categorical Variables
CHAPTER 11 CHI-SQUARE TESTS
Hypothesis Tests for a Standard Deviation
Copyright © Cengage Learning. All rights reserved.
Section 11-1 Review and Preview
UNIT V CHISQUARE DISTRIBUTION
S.M.JOSHI COLLEGE, HADAPSAR
Chapter Outline Goodness of Fit test Test of Independence.
Quadrat sampling & the Chi-squared test
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10 Copyright © Cengage Learning. All rights reserved.

Chi-Square: Goodness of Fit Section 10.2 Chi-Square: Goodness of Fit Copyright © Cengage Learning. All rights reserved.

Focus Points Set up a test to investigate how well a sample distribution fits a given distribution. Use observed and expected frequencies to compute the sample χ2 statistic. Find or estimate the P-value and complete the test.

Chi-Square: Goodness of Fit Last year, the labor union bargaining agents listed five categories and asked each employee to mark the one most important to her or him. The categories and corresponding percentages of favorable responses are shown in Table 10-8. Bargaining Categories (last year) Table 10-8

Chi-Square: Goodness of Fit The bargaining agents need to determine if the current distribution of responses “fits” last year’s distribution or if it is different. In questions of this type, we are asking whether a population follows a specified distribution. In other words, we are testing the hypotheses

Chi-Square: Goodness of Fit We use the chi-square distribution to test “goodness-of-fit” hypotheses. Just as with tests of independence, we compute the sample statistic:

Chi-Square: Goodness of Fit Next we use the chi-square distribution table to estimate the P-value of the sample χ2 statistic. Finally, we compare the P-value to the level of significance  and conclude the test. In the case of a goodness-of-fit test, we use the null hypothesis to compute the expected values for the categories. Let’s look at the bargaining category problem to see how this is done.

Chi-Square: Goodness of Fit In the bargaining category problem, the two hypotheses are H0: The present distribution of responses is the same as last year’s. H1: The present distribution of responses is different. The null hypothesis tells us that the expected frequencies of the present response distribution should follow the percentages indicated in last year’s survey. To test this hypothesis, a random sample of 500 employees was taken. If the null hypothesis is true, then there should be 4%, or 20 responses, out of the 500 rating vacation time as the most important bargaining issue.

Chi-Square: Goodness of Fit Table 10-9 gives the other expected values and all the information necessary to compute the sample statistic χ2. Observed and Expected Frequencies for Bargaining Categories Table 10-9

Chi-Square: Goodness of Fit We see that the sample statistic is Larger values of the sample statistic χ2 indicate greater differences between the proposed distribution and the distribution followed by the sample. The larger the χ2 statistic, the stronger the evidence to reject the null hypothesis that the population distribution fits the given distribution. Consequently, goodness-of-fit tests are always right-tailed tests.

Chi-Square: Goodness of Fit To test the hypothesis that the present distribution of responses to bargaining categories is the same as last year’s, we use the chi-square distribution (Table 7 of Appendix II) to estimate the P-value of the sample statistic χ2 = 14.15. To estimate the P-value, we need to know the number of degrees of freedom.

Chi-Square: Goodness of Fit In the case of a goodness-of-fit test, the degrees of freedom are found by the following formula. Notice that when we compute the expected values E, we must use the null hypothesis to compute all but the last one. To compute the last one, we can subtract the previous expected values from the sample size.

Chi-Square: Goodness of Fit For instance, for the bargaining issues, we could have found the number of responses for overtime policy by adding the other expected values and subtracting that sum from the sample size 500. We would again get an expected value of 30 responses. The degrees of freedom, then, is the number of E values that must be computed by using the null hypothesis. For the bargaining issues, we have d.f. = 5 – 1 = 4 where k = 5 is the number of categories.

Chi-Square: Goodness of Fit We now have the tools necessary Table 7 of Appendix II to estimate the P-value of χ2 = 14.15. Figure 10-5 shows the P-value. In Table 7, we use the row headed by d.f. = 4. We see that χ2 = 14.15 falls between the entries 13.28 and 14.86. P-value Figure 10-5

Chi-Square: Goodness of Fit Therefore, the P-value falls between the corresponding right-tail areas 0.005 and 0.010. Technology gives the P-value  0.0068. To test the hypothesis that the distribution of responses to bargaining issues is the same as last year’s at the 1% level of significance, we compare the P-value of the statistic to  = 0.01.

Chi-Square: Goodness of Fit We see that the P-value is less than , so we reject the null hypothesis that the distribution of responses to bargaining issues is the same as last year’s. Interpretation At the 1% level of significance, we can say that the evidence supports the conclusion that this year’s responses to the issues are different from last year’s. Goodness-of-fit tests involve several steps that can be summarized as follows.

Chi-Square: Goodness of Fit Procedure:

Chi-Square: Goodness of Fit cont’d