By Josh Spiezle, Emy Chinen, Emily Lopez, Reid Beloff.

Slides:



Advertisements
Similar presentations
In this chapter we introduce the idea of hypothesis testing in general, and then we look at the specifics for a hypothesis test for a single population.
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.
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Chapter 11: Inference for Distributions of Categorical Data Section 11.1 Chi-Square Goodness-of-Fit Tests.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
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.
WARM – UP: The Math club and the Spanish club traditionally are composed of a similar distribution of class level. A random sample of this year’s math.
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: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
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
CHAPTER 11 Inference for Distributions of Categorical Data
11.1 Chi-Square Tests for Goodness of Fit
Ch 26 – Comparing Counts Day 1 - The Chi-Square Distribution
Chi-Square Test.
Chapter 11: Inference for Distributions of Categorical Data
X2 = X2 Test of Independence P-Value =
Section 10-1 – Goodness of Fit
Chapter 11: Inference for Distributions of Categorical Data
Elementary Statistics: Picturing The World
Chi-Square Test.
The Analysis of Categorical Data and Chi-Square Procedures
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
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
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
The Analysis of Categorical Data and Goodness of Fit Tests
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
The Analysis of Categorical Data and Goodness of Fit Tests
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Inference for Distributions of Categorical Data
Chapter 26 Part 2 Comparing Counts.
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
Presentation transcript:

By Josh Spiezle, Emy Chinen, Emily Lopez, Reid Beloff

 Do peanut M&M’s have the same % of color proportions as milk chocolate M&M’s?

 Well, we chose this as our final project because our group has Em and Em in it, and we all LOVE chocolate. Clearly, this made the most sense!

 Milk Chocolate M&M’s and Peanut M&M’s

 56 ounces of each kind!

 We will be counting out each color in the bag then divide by the total number of M&M’s in the bag.

 Ho: The proportions of colors in peanut M&M’s matches the proportions of the milk chocolate M&M colors.  Ha: At least one of the color proportions between the 2 types of M&M’s are not equal.

 1.) Randomness – bags of each type of M&M’s chosen randomly

2.)Expected values are greater than 5 Observed (Regular)Peanut (Becomes E)Expected(O-E)² /(E) Red Orange Yellow Green Blue Brown Total χ² =

3.) Independence Since we are sampling without replacement, must check 10% condition. N p = 10n p » N p = 10(1743) » N p = N R = 10n R » N R = 10(1777) » N R = Safe to assume at least 17,430 peanut M&M’s and 17,770 milk chocolate M&M’s in entire population so 10% condition is met.

X ² -Homogeneity test! df = (r-1)(c-1) = (6-1)(2-1) = 5 X² cdf ( , 1000, 5) X² -value large # df P-value = x 10^-65 Color of M& M (O-E)² /(E) Red Orange Yellow Green Blue Brown ∑ = χ² =

 Type I-Statistical test rejects that proportions of colors are equal when they are.  Type II-Statistical test fails to reject them being equal when they are not.  We believe that neither error type is worse in this situation so we will be leaving our alpha level at 0.05.

 Our Chi-Squared Test of Homogeneitygives a p-value of x 10^-65 which is significantly less than any reasonable alpha level. Thus we are able to reject our null hypothesis and conclude there is enough evidence to say that the proportion of the colors in peanut M&M’s and milk chocolate M&Ms are not equal.

 Plain Variety:  30% brown  20% yellow  20% red  10% green  10% orange  10% blue  Peanut Variety:  20% brown  20% yellow  10% red  10% green  10% orange  30% blue