Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved. 15 - 1.

Slides:



Advertisements
Similar presentations
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.
Advertisements

15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Inference about the Difference Between the
1 1 Slide © 2009 Econ-2030-Applied Statistics-Dr. Tadesse. Chapter 11: Comparisons Involving Proportions and a Test of Independence n Inferences About.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Goodness-of-Fit Test.
Chapter 14 Analysis of Categorical Data
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Chapter Goals After completing this chapter, you should be able to:
Chi-square Test of Independence
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
BCOR 1020 Business Statistics
Chi-Square Tests and the F-Distribution
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
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.
EDRS 6208 Analysis and Interpretation of Data Non Parametric Tests
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.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
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.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
1 1 Slide © 2006 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
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
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Other Chi-Square Tests
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.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
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 © 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.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Math 10 M Geraghty Part 8 Chi-square and ANOVA tests © Maurice Geraghty 2015.
Chi-Square Applications
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
Guide to Using Minitab 14 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 13: Goodness-of-Fit.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Nonparametric Methods: Chi-square Distribution.
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.
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.
Nonparametric Methods: Chi-Square Applications
Nonparametric Methods: Goodness-of-Fit Tests
Chapter 12 Chi-Square Tests and Nonparametric Tests
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chi-Square Applications
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Nonparametric Methods: Goodness-of-Fit Tests
Qualitative data – tests of association
Inferential Statistics and Probability a Holistic Approach
Inferential Statistics and Probability a Holistic Approach
Chapter 11 Chi-Square Tests.
Nonparametric Methods: Chi-square Distribution
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Presentation transcript:

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Understand the nature and role of chi-square distribution Identify a wide variety of uses of the chi-square distribution Conduct a test of hypothesis comparing an observed frequency distribution to an expected frequency distribution When you have completed this chapter, you will be able to:

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Conduct a hypothesis test to determine whether two attributes are independent Conduct a test of hypothesis for normality using the chi-square distribution

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Characteristics of the Chi-Square Distribution … it is positively skewed … it is non-negative … it is based on degrees of freedom …when the degrees of freedom change a new distribution is created …e.g.

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved df = 3 df = 5 df = 10  Characteristics of the Chi-Square Distribution

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved 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

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved …t he critical value is a chi-square value with (k-1) degrees of freedom, where k is the number of categories Goodness-of-Fit Test: Equal Expected Frequencies         e eo f ff 2 2      … the test statistic is:

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved The following information shows the number of employees absent by day of the week at a large a manufacturing plant. Day Frequency Monday120 Tuesday 45 Wednesday 60 Thursday 90 Friday 130 Total445 Day Frequency Monday120 Tuesday 45 Wednesday 60 Thursday 90 Friday 130 Total445 Goodness-of-Fit Test: Equal Expected Frequencies At the.05 level of significance, is there a difference in the absence rate by day of the week?

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Hypothesis Test Step 1 Step 2 Step 3 Step 4 H 0 : There is no difference in absence rate by day of the week… H 1 : Absence rates by day are not all equal  = 0.05 Use Chi-Square test Reject H 0 if  2 > (5-1) = 4 Degrees of freedom (see Appendix I) ( )/5 = 89 Goodness-of-Fit Test: Equal Expected Frequencies Chi-Square

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Right-Tail Area  = 0.05 Degrees of Freedom 5 – 1 = 4 Reject H 0 if  2 > Using the Table…

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved = 1.98 Day Frequency Expected (f o – f e ) 2 /f e Monday Tuesday Wednesday Thursday Friday Total Day Frequency Expected (f o – f e ) 2 /f e Monday Tuesday Wednesday Thursday Friday Total 22 Reject the null hypothesis. Absentee rates are not the same for each day of the week. (120-89) 2 /89 Step 5 Test Statistics Reject H 0 if  2 > 9.488

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved At the.05 significance level, can we conclude that the Philadelphia area is different from the U.S. as a whole? MarriedWidowedDivorcedSingle 63.9%7.7%6.9%21.5% A U.S. Bureau of the Census indicated that… Not re-married Never married A sample of 500 adults from the Philadelphia area showed:

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Married310 *319.5 **.2825 Widowed Divorced Single Total … continued 2 * Census figures would predict: i.e. 639*500 = ** Our sample: ( )2/319.5 =.2825 (fo – fe)2/fe Expected

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Step 1 Step 2 Step 3 Step 4 H 0 : The distribution has not changed … continued H 1 : The distribution has changed. H 0 is rejected if  2 >7.815, df = 3  = 0.05  2 = Reject the null hypothesis. The distribution regarding marital status in Philadelphia is different from the rest of the United States.

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Goodness-of-Fit Test: Normality … the test investigates if the observed frequencies in a frequency distribution match the theoretical normal distribution - Compute the z-value for the lower class limit and the upper class limit for each class - Determine f e for each category - Use the chi-square goodness-of-fit test to determine if f o coincides with f e …to determine the mean and standard deviation of the frequency distribution

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved  A sample of 500 donations to the Arthritis Foundation is reported in the following frequency distribution  Is it reasonable to conclude that the distribution is normally distributed with a mean of $10 and a standard deviation of $2?  Use the.05 significance level Goodness-of-Fit Test: Normality

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Amount Spentfofo Area fe fe (f o - f e ) 2 /f e <$620 $6 up to $860 $8 up to $10140 $10 up to $12120 $12 up to $1490 >$1470 Total500 … continued

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved To compute f e for the first class, first determine the z - value … continued Now… find the probability of a z - value less than –        X z )00.2(  zP

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Amount Spentfofo Area fe fe (f o - f e ) 2 /f e <$ $6 up to $ $8 up to $ $10 up to $ $12 up to $ >$ Total500 … continued

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved The expected frequency is the probability of a z -value less than –2.00 times the sample size … continued The other expected frequencies are computed similarly 40.11)500)(0228(.  e f

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Amount Spentfofo Area fe fe (f o - f e ) 2 /f e <$ $6 up to $ $8 up to $ $10 up to $ $12 up to $ >$ Total … continued

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved … continued Step 1 Step 2 Step 3 Step 4 H 0 : The observations follow the normal distribution H 0 is rejected if  2 >7.815, df = 6  = 0.05  2 = H0: is rejected. The observations do NOT follow the normal distribution H 0 : The observations do NOT follow the normal distribution

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved A contingency table is used to investigate whether two traits or characteristics are related … the expected frequency is computed as: Expected Frequency = (row total)(column total)/grand total … each observation is classified according to two criteria …the usual hypothesis testing procedure is used … the degrees of freedom is equal to: (number of rows -1)(number of columns -1)

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved 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?

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved … continued Sex WorkHomeOther Total Male Female Total Location 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

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Step 1 Step 2 Step 3 Step 4 H 0 : The Gender and Location are NOT related H 0 is rejected if  2 >5.991, df = 2  = 0.05 H 0 : is rejected. Gender and Location are related! H 0 : The Gender and Location are related (…there are (3- 1)(2-1) = 2 degrees of freedom) Find the value of  2      … continued 

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved Test your learning … Click on… Online Learning Centre for quizzes extra content data sets searchable glossary access to Statistics Canada’s E-Stat data …and much more!

Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved This completes Chapter 15