Chapter 26 Part 2 Comparing Counts.

Slides:



Advertisements
Similar presentations
By Josh Spiezle, Emy Chinen, Emily Lopez, Reid Beloff.
Advertisements

CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Chapter 11 Inference for Distributions of Categorical Data
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Chi-square Goodness of Fit Test
Chapter 13: Inference for Tables – Chi-Square Procedures
13.1 Goodness of Fit Test AP Statistics. Chi-Square Distributions The chi-square distributions are a family of distributions that take on only positive.
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: Inference for Distributions of Categorical Data.
Chapter 11: Inference for Distributions of Categorical Data
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Chapter 10 Chi-Square Tests and the F-Distribution
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
AGENDA:. AP STAT Ch. 14.: X 2 Tests Goodness of Fit Homogeniety Independence EQ: What are expected values and how are they used to calculate Chi-Square?
By.  Are the proportions of colors of each M&M stated by the M&M company true proportions?
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
CHAPTER 11: INFERENCE FOR DISTRIBUTIONS OF CATEGORICAL DATA 11.1 CHI-SQUARE TESTS FOR GOODNESS OF FIT OUTCOME: I WILL STATE APPROPRIATE HYPOTHESES AND.
Chi Square Analysis. What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Check your understanding: p. 684
CHAPTER 11 Inference for Distributions of Categorical Data
Warm up On slide.
CHAPTER 11 Inference for Distributions of Categorical Data
11.1 Chi-Square Tests for Goodness of Fit
Chapter 11: Inference for Distributions of Categorical Data
Chi-Square X2.
Section 10-1 – Goodness of Fit
Chapter 11: Inference for Distributions of Categorical Data
Chi-Square Goodness of Fit
Elementary Statistics: Picturing The World
Chi-Square Test.
Chi-Square Test.
Chi-Square - Goodness of Fit
Goodness of Fit Test - Chi-Squared Distribution
Chapter 11: Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
The Analysis of Categorical Data and Goodness of Fit Tests
Chi-Square Test.
Day 66 Agenda: Quiz Ch 12 & minutes.
Chapter 11: Inference for Distributions of Categorical Data
The Analysis of Categorical Data and Goodness of Fit Tests
Sample Size.
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 14.1 Goodness of Fit Test.
Chapter 11: Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Warm Up A 2009 study investigated whether people can tell the difference between pate, processed meats and gourmet dog food. Researchers used a food processor.
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Assignment: Read Chapter 23 Do exercises 1, 2, 5
Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Presentation transcript:

Chapter 26 Part 2 Comparing Counts

Mars Candy Company wrote in an email to an AP Statistics teacher on the AP Stat Listserve: Our color blends were selected by conducting consumer preference tests, which indicate the assortment of colors that pleased the greatest number of people and created the most attractive overall effect. On average, our mix of colors for M&M’s milk chocolate candies is: 24% cyan blue, 20% orange, 16% green, 14% bright yellow, 13% red, 13% brown. A teacher decided to test this claim with a random sample of M&M’s candies. The sample included 50 blue, 39 orange, 34 green, 27 yellow, 28 red, and 25 brown. Is this test consistent with the company’s stated proportions?

Step 1 : State the hypotheses Blue Orange Green Yellow Red Brown Total 50 39 34 27 28 25 203 Step 1 : State the hypotheses 𝐻 0 :𝑇ℎ𝑒 𝑑𝑖𝑠𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛 𝑖𝑠 𝑎𝑠 𝑐𝑙𝑎𝑖𝑚𝑒𝑑 𝑏𝑦 𝑀𝑎𝑟𝑠 𝐶𝑎𝑛𝑑𝑦 𝐶𝑜𝑚𝑝𝑎𝑛𝑦. 𝐻 𝐴 :𝑇ℎ𝑒 𝑑𝑖𝑠𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛 𝑖𝑠 𝑛𝑜𝑡 𝑎𝑠 𝑐𝑙𝑎𝑖𝑚𝑒𝑑 𝑏𝑦 𝑀𝑎𝑟𝑠 𝐶𝑎𝑛𝑑𝑦 𝐶𝑜𝑚𝑝𝑎𝑛𝑦. Step 2 : Check Conditions and Model The data consists of counts. The sample is random or representative. M&M’s candies are independent. Expected counts: .24(203)=48.72; .2(203)=40.6; .16(203)=32.48; .14(203)=28.42; .13(203)=26.39. All expected counts are greater than 5. We will do a chi-squared test for goodness-of-fit with 6-1=5 degrees of freedom.

P-value = DISTR8: 𝑋 2 cdf (0.41, 999, 5) = 0.995 Blue Orange Green Yellow Red Brown 50 39 34 27 28 25 (48.72) (40.6) (32.48) (28.42) (26.39) (26.39) Step 3: Mechanics X 2 = (50−48.72) 2 48.72 + (39−40.6) 2 40.6 + (34−32.48) 2 32.48 + (27−28.42) 2 28.42 + (28−26.39) 2 26.39 + (25−26.39) 2 26.39 =0.41 P-value = DISTR8: 𝑋 2 cdf (0.41, 999, 5) = 0.995

Step 4: Conclusion The P-value of 0.995 is very high, so we do not reject the null hypothesis which states that the distribution is as claimed by the Mars Candy Company. We do not have evidence to suggest that the distribution is different from the claimed distribution.

Be careful about assuming causation! A small P-value is not proof of causation!

Assignment: Chapter 26 HW – page 643 #10, 14, 16, 18, 20, 24 Ch 26 Homework Due Wednesday M&M’s on Monday!