Copyright © 2010, 2007, 2004 Pearson Education, Inc. 11.1 - 1 Chapter 11 Goodness of Fit Test (section 11.2)

Slides:



Advertisements
Similar presentations
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Advertisements

Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Goodness-of-Fit Test.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
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.
11-3 Contingency Tables In this section we consider contingency tables (or two-way frequency tables), which include frequency counts for categorical data.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Section 10.1 Goodness of Fit. Section 10.1 Objectives Use the chi-square distribution to test whether a frequency distribution fits a claimed distribution.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 11-4 McNemar’s Test for Matched Pairs.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
1 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
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.
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.
Chapter 10 Chi-Square Tests and the F-Distribution
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
AP Statistics Section 14.. The main objective of Chapter 14 is to test claims about qualitative data consisting of frequency counts for different categories.
Comparing Counts.  A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
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..
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Statistics 300: Elementary Statistics Section 11-2.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
381 Goodness of Fit Tests QSCI 381 – Lecture 40 (Larson and Farber, Sect 10.1)
Lecture Slides Elementary Statistics Twelfth Edition
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.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 18 Chi-Square Tests.  2 Distribution Let x 1, x 2,.. x n be a random sample from a normal distribution with  and  2, and let s 2 be the sample.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Goodness-of-Fit and Contingency Tables Chapter 11.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a goodness-of-fit.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 12 Tests with Qualitative Data
Chapter 11 Goodness-of-Fit and Contingency Tables
Elementary Statistics: Picturing The World
Elementary Statistics
Lecture Slides Elementary Statistics Tenth Edition
Overview and Chi-Square
Section 11-1 Review and Preview
Presentation transcript:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 11 Goodness of Fit Test (section 11.2)

Copyright © 2010, 2007, 2004 Pearson Education, Inc Preview  We focus on analysis of categorical (qualitative or attribute) data that can be separated into different categories (often called cells).  Hypothesis test: Observed counts agree with some claimed distribution.  Use the x 2 (chi-square) distribution.

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example There are four blood types: A, B, AB, O A sample of 100 patients had their blood type identified. Determine what percentage of people have each blood type. Blood type Observed Frequency A42 B9 AB6 O43

Copyright © 2010, 2007, 2004 Pearson Education, Inc Definition A goodness-of-fit test is used to test the hypothesis that an observed frequency distribution fits (or conforms to) some claimed distribution. Example The claimed frequency distribution of blood types is as follows: 40% type A4% type AB 11% type B45% type O Source:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Goodness-of-Fit Test We will compare each categories frequency with what we would expect (with our claimed distribution). To determine if it is a good fit, we look at how much they differ (i.e. how much they vary). Basically, our test uses the relative variance between our sample and claimed distribution. If the claimed distribution works, the variance should be small. How it works:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Goodness-of-Fit Test 1.The data is randomly selected. 2.The sample data consist of frequency counts for each of the different categories. 3.For each category, the expected frequency is at least 5. Requirements

Copyright © 2010, 2007, 2004 Pearson Education, Inc O Observed frequency of an outcome E Expected frequency of an outcome k Number of different categories (or outcomes) n Total number of trials p 1 … p k Relative frequencies of each category Goodness-of-Fit Test Notation

Copyright © 2010, 2007, 2004 Pearson Education, Inc Goodness-of-Fit Test Statistic This is the relative variance between the expected frequencies and the observed frequencies. Follows a χ 2 -distribution (k-1 degrees of freedom)

Copyright © 2010, 2007, 2004 Pearson Education, Inc Expected Frequencies If expected frequencies are not all equal: If expected frequencies are all equal:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Write what you know 2.State the claim 3.State the null and alternative hypothesis (H 0 and H 1 ) 4.Draw a diagram (Note: only use a right-tailed test for Goodness-of-Fit) 5.Calculate the test statistic and critical value 6.Make an initial conclusion (reject or fail to reject H 0 ) 7.Make a final conclusion Goodness-of-Fit Test Step-by-step guide

Copyright © 2010, 2007, 2004 Pearson Education, Inc Figure 11-2

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example 1 There are four blood types: A, B, AB, O A sample of 100 patients had their blood type identified. Determine if the claimed frequency distribution fits this data. Blood type Observed Frequency Claimed Frequency A4240% B911% AB64% O4345%

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example 1 Blood type Observed Frequency Claimed Frequency A4240% B911% AB64% O4345% Using StatCrunch (See video tutorial for details)

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example 1 Blood type Observed Frequency Claimed Frequency A4240% B911% AB64% O4345% A B AB O

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example 2 To check if collected has been accurately recorded and not made up, one can check if the value of the last decimal (between 0 and 9) is uniformly distributed. A set of weights were recorded and calculated the frequency of the last decimal. Test if this data is uniformly distributed.

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example 2 Last DigitFrequency Using StatCrunch

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example Last DigitFrequency