1 / 32

Calculator steps:

Learn how to test distribution goodness of fit, independence of variables, and proportions homogeneity using chi-square. Includes formulas, assumptions, examples, and decision-making steps. Explore now!

Download Presentation

Calculator steps:

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. Calculator steps: The calculator steps for this section can be found on YouTube or by clicking: Here Bluman, Chapter 11

  2. While you wait for class to start: Please create two lists on your calculator name them: OBS… short for observed EXP… short for expected Find the GOF test on your calculator Bluman, Chapter 11

  3. Chapter 11 Other Chi-Square Tests McGraw-Hill, Bluman, 7th ed., Chapter 11

  4. Chapter 11 Overview Introduction • 11-1 Test for Goodness of Fit • 11-2 Tests Using Contingency Tables Bluman, Chapter 11

  5. Chapter 11 Objectives Test a distribution for goodness of fit, using chi-square. Test two variables for independence, using chi-square. Test proportions for homogeneity, using chi-square. Bluman, Chapter 11

  6. 11.1 Test for Goodness of Fit • The chi-square statistic can be used to see whether a frequency distribution fits a specific pattern. This is referred to as the chi-square goodness-of-fit test. Bluman, Chapter 11

  7. Test for Goodness of Fit Formula for the test for goodness of fit: where d.f. = number of categories minus 1 O = observed frequency E = expected frequency Bluman, Chapter 11

  8. Assumptions for Goodness of Fit • The data are obtained from a random sample. • The expected frequency for each category must be 5 or more. Bluman, Chapter 11

  9. Observed vs. Expected Graph • To get some idea of why this test is called the goodness-of-fit test, examine graphs of the observed values and expected values. From the graphs, one can see whether the observed values and expected values are close together or far apart.

  10. Assumptions Based on Graphs • When the observed values and expected values are close together, the chi-square test value will be small. • Then the decision will be to not reject the null hypothesis—hence , there is “a good fit.”

  11. Assumptions Based on Graphs • When the observed values and the expected values are far apart, the chi-square test value will be large. • Then, the null hypothesis will be rejected—hence, there is “not a good fit.”

  12. Page 595

  13. Chapter 11Other Chi-Square Tests Section 11-1 Example 11-1 Page #592 Bluman, Chapter 11

  14. Example 11-1: Fruit Soda Flavors A market analyst wished to see whether consumers have any preference among five flavors of a new fruit soda. A sample of 100 people provided the following data. Is there enough evidence to reject the claim that there is no preference in the selection of fruit soda flavors, using the data shown previously? Let α = 0.05. Step 1: State the hypotheses and identify the claim. • H0: Consumers show no preference (claim). • H1: Consumers show a preference. Bluman, Chapter 11

  15. Example 11-1: Fruit Soda Flavors Step 2: Find the critical value. D.f. = 5 – 1 = 4, and α = 0.05. CV = 9.488. Step 3: Compute the test value. Bluman, Chapter 11

  16. Example 11-1: Fruit Soda Flavors Step 4: Make the decision. The decision is to reject the null hypothesis, since 18.0 > 9.488. Step 5: Summarize the results. There is enough evidence to reject the claim that consumers show no preference for the flavors. Bluman, Chapter 11

  17. Enter expected and observed values: Df= number of catagories-1 Bluman, Chapter 11

  18. Chapter 11Other Chi-Square Tests Section 11-1 Example 11-2 Page #594 Bluman, Chapter 11

  19. Example 11-2: Retirees The Russel Reynold Association surveyed retired senior executives who had returned to work. They found that after returning to work, 38% were employed by another organization, 32% were self-employed, 23% were either freelancing or consulting, and 7% had formed their own companies. To see if these percentages are consistent with those of Allegheny County residents, a local researcher surveyed 300 retired executives who had returned to work and found that 122 were working for another company, 85 were self-employed, 76 were either freelancing or consulting, and 17 had formed their own companies. At α = 0.10, test the claim that the percentages are the same for those people in Allegheny County. Bluman, Chapter 11

  20. Example 11-2: Retirees Step 1: State the hypotheses and identify the claim. • H0: The retired executives who returned to work are distributed as follows: 38% are employed by another organization, 32% are self-employed, 23% are either freelancing or consulting, and 7% have formed their own companies (claim). • H1: The distribution is not the same as stated in the null hypothesis. Bluman, Chapter 11

  21. Input the observed values: • Input the expected: • Calculate as you enter the values: The method above produces the most accurate result and it saves time. Bluman, Chapter 11

  22. Notice: the dfis 3, which is one less than the number of categories. Bluman, Chapter 11

  23. Example 11-2: Retirees Step 2: Find the critical value. D.f. = 4 – 1 = 3, and α = 0.10. CV = 6.251. Step 3: Compute the test value. Bluman, Chapter 11

  24. Example 11-2: Retirees Step 4: Make the decision. Since 3.2939 < 6.251, the decision is not to reject the null hypothesis. Step 5: Summarize the results. There is not enough evidence to reject the claim. It can be concluded that the percentages are not significantly different from those given in the null hypothesis. Bluman, Chapter 11

  25. Chapter 11Other Chi-Square Tests Section 11-1 Example 11-3 Page #595 Bluman, Chapter 11

  26. Example 11-3: Firearm Deaths A researcher read that firearm-related deaths for people aged 1 to 18 were distributed as follows: 74% were accidental, 16% were homicides, and 10% were suicides. In her district, there were 68 accidental deaths, 27 homicides, and 5 suicides during the past year. At α= 0.10, test the claim that the percentages are equal. Bluman, Chapter 11

  27. Example 11-3: Firearm Deaths Step 1: State the hypotheses and identify the claim. H0: Deaths due to firearms for people aged 1 through 18 are distributed as follows: 74% accidental, 16% homicides, and 10% suicides (claim). H1: The distribution is not the same as stated in the null hypothesis. Bluman, Chapter 11

  28. Example 11-3: Firearm Deaths Step 2: Find the critical value. D.f. = 3 – 1 = 2, and α = 0.10. CV = 4.605. Step 3: Compute the test value. Bluman, Chapter 11

  29. Example 11-3: Firearm Deaths Step 4: Make the decision. Reject the null hypothesis, since 10.549 > 4.605. Step 5: Summarize the results. There is enough evidence to reject the claim that the distribution is 74% accidental, 16% homicides, and 10% suicides. Bluman, Chapter 11

  30. Test for Normality (Optional) • The chi-square goodness-of-fit test can be used to test a variable to see if it is normally distributed. • The hypotheses are: • H0: The variable is normally distributed. • H1: The variable is not normally distributed. • This procedure is somewhat complicated. The calculations are shown in example 11-4 on page 597 in the text. Bluman, Chapter 11

  31. On your own • Read section 11.1 • Homework: • Sec 11.1 page 601 • #1-4 all #5, 11, 13 Bluman, Chapter 11

More Related