Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.

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

1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Goodness-of-Fit Tests.
A GEICO Direct magazine had an interesting article concerning the percentage of teenage motor vehicle deaths and the time of day. The following percentages.
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
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.
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
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 © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-1 Review and Preview.
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.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Section 8-4 Testing a Claim About a Mean:  Known Created by.
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 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 11 Goodness of Fit Test (section 11.2)
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 11-4 McNemar’s Test for Matched Pairs.
Copyright © 2004 Pearson Education, Inc.
Slide Slide 1 Section 8-5 Testing a Claim About a Mean:  Not Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
1 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
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 Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
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 © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Statistics 300: Elementary Statistics Section 11-2.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-4 Inferences from Matched.
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 Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
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.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Lecture Slides Elementary Statistics Twelfth Edition
Testing a Claim About a Mean:  Not Known
Chapter 12 Tests with Qualitative Data
1) A bicycle safety organization claims that fatal bicycle accidents are uniformly distributed throughout the week. The table shows the day of the week.
Chapter 11 Goodness-of-Fit and Contingency Tables
Elementary Statistics: Picturing The World
Elementary Statistics
Lecture Slides Elementary Statistics Tenth Edition
Elementary Statistics
Overview and Chi-Square
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Section 11-1 Review and Preview
Presentation transcript:

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 2.. Key Concept Sample data consist of observed frequency counts arranged in a single row (called a one-way frequency table). We will test the claim that the observed frequency counts agree with some claimed distribution. In other words, there is a good fit of the observed data with the claimed distribution.

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 3.. Definition A goodness-of-fit test is used to test the hypothesis that an observed frequency distribution fits some claimed distribution.

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 4.. O (letter, not number) represents the Observed frequency of an outcome E represents the Expected frequency of an outcome k represents the number of different categories or outcomes n represents the total number of trials Goodness-of-Fit Test Notation

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 5.. Goodness-of-Fit Test 1.The data have been randomly selected. 2.For each category, the expected frequency is at least 5. (There is no requirement on the observed frequency for each category.) Requirements

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 6.. Goodness-of-Fit Test Statistic x 2 is pronounced “chi-square”

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 7.. Goodness-of-Fit Critical Values 1. Found in Table A- 4 using k – 1 degrees of freedom, where k = number of categories. 2. Goodness-of-fit hypothesis tests are always right-tailed.

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 8.. Goodness-of-Fit P-Values P-values are typically provided by computer software, or a range of P- values can be found from Table A-4.

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 9.. Expected Frequencies If all expected frequencies are equal: the sum of all observed frequencies divided by the number of categories

Copyright © 2010, 2007, 2004 Pearson Education, Inc If expected frequencies are not all equal: Each expected frequency is found by multiplying the sum of all observed frequencies by the probability for the category. Expected Frequencies

Copyright © 2010, 2007, 2004 Pearson Education, Inc  A large disagreement between observed and expected values will lead to a large value of and a small P -value.  A significantly large value of will cause a rejection of the null hypothesis of no difference between the observed and the expected.  A close agreement between observed and expected values will lead to a small value of and a large P -value. Goodness-of-Fit Test

Copyright © 2010, 2007, 2004 Pearson Education, Inc Goodness-of-Fit Test “If the P is low, the null must go.” (If the P-value is small, reject the null hypothesis that the distribution is as claimed.)

Copyright © 2010, 2007, 2004 Pearson Education, Inc Relationships Among the Test Statistic, P-Value, and Goodness-of-Fit Figure 11-2

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: Data Set 1 in Appendix B includes weights from 40 randomly selected adult males and 40 randomly selected adult females. Those weights were obtained as part of the National Health Examination Survey. When obtaining weights of subjects, it is extremely important to actually weigh individuals instead of asking them to report their weights. By analyzing the last digits of weights, researchers can verify that weights were obtained through actual measurements instead of being reported.

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: When people report weights, they typically round to a whole number, so reported weights tend to have many last digits consisting of 0. In contrast, if people are actually weighed with a scale having precision to the nearest 0.1 pound, the weights tend to have last digits that are uniformly distributed, with 0, 1, 2, …, 9 all occurring with roughly the same frequencies. Table 11-2 shows the frequency distribution of the last digits from 80 weights listed in Data Set 1 in Appendix B.

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: (For example, the weight of lb has a last digit of 5, and this is one of the data values included in Table 11-2.) Test the claim that the sample is from a population of weights in which the last digits do not occur with the same frequency. Based on the results, what can we conclude about the procedure used to obtain the weights?

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: Requirements are satisfied: randomly selected subjects, frequency counts, expected frequency is Step 1:at least one of the probabilities, is different from the others Step 2:at least one of the probabilities are the same: Step 3:null hypothesis contains equality : At least one probability is different

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: Step 4:no significance specified, use Step 5:testing whether a uniform distribution so use goodness-of-fit test: Step 6:see the next slide for the computation of the  test statistic. The test statistic , using  and degrees of freedom, the critical value is

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example:

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: Step 7: Because the test statistic does not fall in the critical region, there is not sufficient evidence to reject the null hypothesis.

Copyright © 2010, 2007, 2004 Pearson Education, Inc Example: Step 8:There is not sufficient evidence to support the claim that the last digits do not occur with the same relative frequency. This goodness-of-fit test suggests that the last digits provide a reasonably good fit with the claimed distribution of equally likely frequencies. Instead of asking the subjects how much they weigh, it appears that their weights were actually measured as they should have been.

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 23 Press STAT and select EDIT Enter Observed frequencies into the list L 1 Enter Expected frequencies into the list L 2 then the procedure differs for TI-83 and TI-84: In TI-84: Press STAT, select TESTS scroll down to    GOF-Test, press ENTER Type in: Observed: L 1 Expected: L 2 df: number of degrees of freedom Press on Calculate read the test statistic    =...  and the P-value p=… Goodness-of-fit by TI-83/84

Copyright © 2010, 2007, 2004 Pearson Education, Inc. 24 In TI-83: Clear screen and type (L 1 - L 2 ) 2 ÷ L 2 → L 3 (the key STO produces the arrow → ) Then press 2 nd and STAT, select MATH scroll down to sum( press ENTER at prompt sum( type L 3 then ) and press ENTER This gives you the    test statistic For the P-value use the function   CDF from DISTR menu and at prompt   CDF( type test_statistic,9999,df) Goodness-of-fit by TI-83/84