Goodness Of Fit. For example, suppose there are four entrances to a building. You want to know if the four entrances are equally used. You observe 400.

Slides:



Advertisements
Similar presentations
15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Advertisements

Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Inference about the Difference Between the
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 16 Chi Squared Tests.
CHAPTER 11: CHI-SQUARE TESTS.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Thirteen Nonparametric Methods: Chi-Square Applications GOALS.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Chi-Square Tests and the F-Distribution
Quiz 10  Goodness-of-fit test  Test of independence.
Chi-Square and Analysis of Variance (ANOVA)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 12-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods: Chi- Square Applications Chapter 17.
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.
Copyright © 2009 Cengage Learning 15.1 Chapter 16 Chi-Squared Tests.
Nonparametric Methods: Goodness of Fit Tests Chapter 17 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
CHAPTER 5 INTRODUCTORY CHI-SQUARE TEST This chapter introduces a new probability distribution called the chi-square distribution. This chi-square distribution.
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
1 1 Slide Chapter 11 Comparisons Involving Proportions n Inference about the Difference Between the Proportions of Two Populations Proportions of Two Populations.
Other Chi-Square Tests
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.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Chap 11-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 11 Chi-Square Tests Business Statistics: A First Course 6 th Edition.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
© 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.
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Chi-Square Applications Chapter GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an.
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
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.
Nonparametric Methods: Goodness-of-Fit Tests Chapter 15 Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
1 Math 10 M Geraghty Part 8 Chi-square and ANOVA tests © Maurice Geraghty 2015.
Chi-Square Applications
Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
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.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Nonparametric Methods: Chi-square Distribution.
Chi-Två Test Kapitel 6. Introduction Two statistical techniques are presented, to analyze nominal data. –A goodness-of-fit test for the multinomial experiment.
Chi-Square Applications Chapter GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Nonparametric Methods: Chi-Square Applications
Nonparametric Methods: Goodness-of-Fit Tests
Test of independence: Contingency Table
Chapter 11 – Test of Independence - Hypothesis Test for Proportions of a Multinomial Population In this case, each element of a population is assigned.
Chapter 12 Chi-Square Tests and Nonparametric Tests
5.1 INTRODUCTORY CHI-SQUARE TEST
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chi-Square Applications
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Chapter 12 Tests with Qualitative Data
Nonparametric Methods: Goodness-of-Fit Tests
Inferential Statistics and Probability a Holistic Approach
Econ 3790: Business and Economics Statistics
Inferential Statistics and Probability a Holistic Approach
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Chapter 11 Chi-Square Tests.
CHI SQUARE TEST OF INDEPENDENCE
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Nonparametric Methods: Chi-square Distribution
Chapter 11 Chi-Square Tests.
Presentation transcript:

Goodness Of Fit

For example, suppose there are four entrances to a building. You want to know if the four entrances are equally used. You observe 400 people entering the building on a random basis: Goodness Of Fit If the entrances are equally utilized, we would expect each entrance to be used approximately 25% of the time. Is the difference shown above statistically significant? The purpose of a chi-square goodness-of-fit test is to compare an observed distribution to an expected distribution. H 0 : p M = p B = p S1 = p S2 H 1 : The proportions are not all equal.

If the observed frequencies are obtained from a random sample and each expected frequency is at least 5, the sampling distribution for the goodness- of-fit test is a chi-square distribution with k-1 degrees of freedom. (where k = the number of categories) O = observed frequency in each category E = expected frequency in each category Chi Square Test Test Statistic

Goodness-of-Fit Test: Equal Expected Frequencies Let f 0 and f e be the observed and expected frequencies, respectively. H 0 : There is no difference between the observed and expected frequencies. H 1 : There is a difference between the observed and the expected frequencies. H 0 : p 1 = p 2 = p 3 = p 4 H 1 : The proportions are not all equal.

df = 3 df = 5 df = 10  k-1 degrees of freedom. (where k = the number of categories) See Table P.495

EXAMPLE The following information shows the number of employees absent by day of the week at a large manufacturing plant. At the.05 level of significance, is there a difference in the absence rate by day of the week? Day Frequency Monday 120 Tuesday 45 Wednesday 60 Thursday 90 Friday 130 Total 445

EXAMPLE continued The expected frequency is: ( )/5=89. The degrees of freedom is (5-1)=4. The critical value is (Appendix B, P.495)

Example continued Day Freq. Expec. (f o – f e ) 2 /f e Monday Tuesday Wednesday Thursday Friday Total Because the computed value of chi-square is greater than the critical value, H 0 is rejected. We conclude that there is a difference in the number of workers absent by day of the week.

A seller of baseball cards wants to know if the demand for the following 6 cards is the same. Example Goodness of Fit MegaStat

Goodness Of Fit (unequal frequencies)

The Bank of America (BoA) credit card department knows from national US government records that 5% of all US VISA card holders have no high school diploma, 15% have a high school diploma, 25% have some college, and 55% have a college degree. Given the information below, at the 1% level of significance can we conclude that (BoA) card holders are significantly different from the rest of the nation? Example - Goodness Of Fit (unequal frequencies) = (500)(.05) = (500)(.15) = (500)(.25) = (500)(.55)

Reject H 0 df = (4 - 1) = 3

Limitations of Chi-Square

1.) If there are only 2 cells, the expected frequency in each cell should be at least 5. Limitations of Chi-Square 2.) For more than 2 cells, chi-square should not be used if more than 20% of f e cells have expected frequencies less than 5.

MegaStat Two-thirds of the computed chi-square value is accounted for by just two categories (outcomes). Although the expected frequency is not less than 5, too much weight may be given to these categories. More experimental trials should be conducted to increase the number of observations.

Independence & Contingency Tables

Contingency Table Analysis A contingency table is used to investigate whether two traits or characteristics are related. Each observation is classified according to two criteria. The degrees of freedom is equal to: df = (# rows - 1)(# columns - 1). The expected frequency is computed as: Expected Frequency = (row total)(column total)/Grand Total

EXAMPLE Is there a relationship between the location of an accident and the gender of the person involved in the accident? A sample of 150 accidents reported to the police were classified by type and gender. At the.05 level of significance, can we conclude that gender and the location of the accident are related?

EXAMPLE continued The expected frequency for the work-male intersection is computed as (90)(80)/150=48. Similarly, you can compute the expected frequencies for the other cells. H 0 : Gender and location are not related. H 1 : Gender and location are related.

EXAMPLE continued H 0 is rejected if the computed value of χ 2 is greater than There are (3- 1)(2-1) = 2 degrees of freedom. Find the value of χ 2. H 0 is rejected. We conclude that gender and location are related.

A crime agency wants to know if a male released from prison and returned to his hometown has an easier (or more difficult) time adjusting to civilian life. MegaStat Example Contingency Tables MegaStat