1 / 19

Lecture Slides

Lecture Slides. Elementary Statistics Twelfth Edition and the Triola Statistics Series by Mario F. Triola. Chapter 11 Goodness-of-Fit and Contingency Tables. 11-1 Review and Preview 11-2 Goodness-of-Fit 11-3 Contingency Tables. Key Concept.

reegan
Download Presentation

Lecture Slides

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture Slides Elementary StatisticsTwelfth Edition and the Triola Statistics Series by Mario F. Triola

  2. Chapter 11Goodness-of-Fit and Contingency Tables 11-1 Review and Preview 11-2 Goodness-of-Fit 11-3 Contingency Tables

  3. Key Concept In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way frequency table). We will use a hypothesis test for the claim that the observed frequency counts agree with some claimed distribution, so that there is a good fit of the observed data with the claimed distribution.

  4. Definition A goodness-of-fit test is used to test the hypothesis that an observed frequency distribution fits (or conforms to) some claimed distribution.

  5. Notation O represents the observed frequency of an outcome, found from the sample data. E represents the expected frequency of an outcome, found by assuming that the distribution is as claimed. k represents the number of different categories or cells. n represents the total number of trials. Goodness-of-FitTest

  6. Goodness-of-Fit Test The data have been randomly selected. The sample data consist of frequency counts for each of the different categories. For each category, the expected frequency is at least 5. (The expected frequency for a category is the frequency that would occur if the data actually have the distribution that is being claimed. There is no requirement that the observed frequency for each category must be at least 5.) Requirements

  7. Goodness-of-Fit Hypotheses and Test Statistic

  8. P-Values and Critical Values P-Values P-values are typically provided by technology, or a range of P-values can be found from Table A-4. 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.

  9. Finding Expected Frequencies If all expected frequencies are assumed equal: If all expected frequencies are assumed not equal:

  10. Goodness-of-Fit Test • A close agreement between observed and expected values will lead to a small value of χ2and a large P-value. • A largedisagreement between observed and expected values will lead to a large value of χ2and a small P-value. • A significantlylarge value of χ2will cause a rejection of the null hypothesis of no difference between the observed and the expected.

  11. Goodness-Of-Fit Tests

  12. . Example A random sample of 100 weights of Californians is obtained, and the last digit of those weights are summarized on the next slide. When obtaining weights, it is extremely important to actually measure the weights rather than ask people to self-report them. By analyzing the last digit, we can verify the weights were actually measured since reported weights tend to be rounded to something ending with a 0 or a 5. Test the claim that the sample is from a population of weights in which the last digits do not occur with the same frequency. .

  13. . Example - Continued .

  14. . Example - Continued • Requirement Check: • The data come from randomly selected subjects. • The data do consist of counts. • With 100 sample values and 10 categories that are claimed to be equally likely, each expected frequency is 10, which is greater than 5. • All requirements are met to proceed. .

  15. . Example - Continued Step 1: The original claim is that the digits do not occur with the same frequency. That is: Step 2: If the original claim is false, then all the probabilities are the same: .

  16. . Example - Continued Step 3: The hypotheses can be written as: Step 4: No significance level was specified, so we select α = 0.05. Step 5: We use the goodness-of-fit test with a χ2 distribution. .

  17. . Example - Continued Step 6: The calculation of the test statistic is given: .

  18. . Example - Continued Step 6: The test statistic is χ2 = 212.800 and the critical value is χ2 = 16.919 (Table A-4). .

  19. . Example - Continued Step 7: Reject the null hypothesis, since the test statistic is in the critical region. Step 8: We conclude there is sufficient evidence to support the claim that the last digits do not occur with the same relative frequency. In other words, we have evidence that the weights were self-reported by the subjects, and the subjects were not actually weighed. .

More Related