By: Avni Choksi and Brittany Nguyen

Slides:



Advertisements
Similar presentations
o We chose to do our project on cars in South's parking lot to see if our parking lot could be considered representative of the entire population of cars.
Advertisements

Chi-square test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
By Josh Spiezle, Emy Chinen, Emily Lopez, Reid Beloff.
I Scream, You Scream, We All Scream for Ice Cream! Sarah Beeson, Jill Hall, Sarah Regan.
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
By: John Marron Nicole Scamuffo
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
CHAPTER 11 Inference for Distributions of Categorical Data
Introduction to Chi-Square Procedures March 11, 2010.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
M&M Statistical Research Project Question 1 Q1: Are the amount of M&M colors in a 21.3 oz bag proportional to the Mars co. claimed proportions? Hypotheses:
M & M‘S ® The world’s favorite chocolate candies return to homework.
Significance Tests for Proportions Presentation 9.2.
Chi-square Goodness of Fit Test
Texting and Driving Joanna Curran And Brianna Baer.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
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.
Analysis of Count Data Chapter 26
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.
1 12/3/03 Math warm-up Draw an example of each a line graph, bar graph, and a circle graph. (without exact numbers) Label it. When would you use a line.
Chapter 11: Inference for Distributions of Categorical Data.
By: Jackie, Molly & Franny Hey What’s up? What’s your Favorite Color? TEXT REACTION.
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
Jenny Clift Gena Omelyaneko Tori Langan. Background The first TV commercial was broadcasted on July 1, 1941 It was on the New York station WNBT The ad.
FASHION VERSUS MUSIC BB JULIE. On the Runway… First couture fashion house established in Paris (WW1) – women wear pants and work in factories.
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.
The Distribution of Blue M&Ms By Samantha Boccard & Adrienne Umali.
Chi-Square Test.
Chapter 10 Chi-Square Tests and the F-Distribution
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Warm up On slide.
Inference for Distributions of Categorical Variables (C26 BVD)
Scientific Method Activity:  Problem: Are the colors equally represented in a pack of milk chocolate M&Ms?  Hypothesis: I think there will be 19 M&Ms.
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.
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.
The Scientific Method:
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?
Tara Levine, Bridget Sanelli, Madeline Stenken Block 3 AP Statistics.
Seven Steps for Doing  2 1) State the hypothesis 2) Create data table 3) Find  2 critical 4) Calculate the expected frequencies 5) Calculate  2 6)
 Located in Warrington, PA  Open for lunch and breakfast  Sells: › Bagels, Sandwiches, Breads, Salads/Soups, and Beverages  Owners: › Lisa O’Boyle.
Senske’s First Block AP Statistics Alesha Seternus and Jenna Rorer.
The table below gives the pretest and posttest scores on the MLA listening test in Spanish for 20 high school Spanish teachers who attended an intensive.
Buon appetite! A sandwich survey of Altomonte’s Italian Market & Delicatessen By Nicole Cianciarulo, Amanda Hofstaedter & Kaycee Schaefer.
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.
Chi-Squared Test of Homogeneity Are different populations the same across some characteristic?
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.
Statistics 26 Comparing Counts. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Chapter 14 Inference for Distribution of Categorical Variables: Chi-Squared Procedures.
13.2 Inference for Two Way Tables.  Analyze Two Way Tables Using Chi-Squared Test for Homogeneity and Independence.
Practice Is there a significant (  =.01) relationship between opinions about the death penalty and opinions about the legalization of marijuana? 933.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
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.
Check your understanding: p. 684
CHAPTER 11 Inference for Distributions of Categorical Data
Section 10-1 – Goodness of Fit
Elementary Statistics: Picturing The World
Chi-Square - Goodness of Fit
Chapter 26 Part 2 Comparing Counts.
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.
Inference for Distributions of Categorical Data
Presentation transcript:

By: Avni Choksi and Brittany Nguyen M&M’s By: Avni Choksi and Brittany Nguyen

History Forrest Mars visited Spain during Spanish Civil War and encountered soldiers eating chocolates in hard sugary coating Inspired because chocolates didn’t melt M&Ms were first sold in cardboard tubes during WWII for soldiers In 1995, vote for new color-blue, pink, or purple…blue won by a landslide

Purpose To determine if color affects the choice of M&M consumption To determine if gender is associated with M&M color choice To test the claim that more than 16.7% of our subjects will choose the blue M&M

What We Did Randomly chose 6 CB south classes using calculator Placed 50 of each color (blue, red, orange, green, brown, yellow) into a container Asked each student to pick which color M&M they wanted Refilled container after each class so that the proportion of each color was always the same

Does M&M color affect consumption? Table of Observed Values M&M Color Blue Red Orange Brown Green Yellow Frequency of observed values 43 24 12 11 22 14

Bar Graph of Observed Values

Pie Graph of Observed Values

Chi-Square Goodness of Fit Test Assumptions: SRS All expected counts are greater than or equal to 5 Check: Randomly picked classrooms using calculator All of the expected counts are greater than or equal to 5 Hypotheses: Ho: the observed distribution of the choice of M&M color fits the expected distribution. Ha: the observed distribution of the choice of M&M color does not fit the expected distribution.

Chi-Square Goodness of Fit Test Expected Values: n=126 Expected values= 126/6 colors = 21

Chi-Square Goodness of Fit Test Calculations: 2 = ∑(Observed –expected) 2 = (43-21)2 + (24-21)2 +…= 34.37 Expected 21 21 P(2 > 34.37|df= 5) = 1.9138 x 10-6

Chi-Square Goodness of Fit Test Conclusion: We reject Ho in favor of Ha because our p-value of 1.9138 x 10-6 < α =0.05. We have sufficient evidence that the observed frequency distribution in the color consumption of M&M’s does not fit the expected distribution.

Does Gender affect M&M Color Consumption? Table of Observed Values: Gender vs. Color Choice Color Blue Red Orange Brown Green Yellow Male 26 17 6 10 13 4 Female 22 7 1 9

Male vs. Female Color Choice

Chi-Square Association Test Assumptions: SRS All expected counts are greater than or equal to 5 Check: Randomly picked classrooms using calculator All of the expected counts are not greater than or equal to 5 but we still proceed with the test Hypotheses: Ho: Gender and color consumption of M&M’s are independent Ha: Gender and color consumption of M&M’s are dependent

Chi-Square Association Test Calculations: 2 = ∑(Observed –expected) 2 = (26-27.847)2 + (17-13.924)2 +…= Expected 21 2= 12.1071 P(2 > 12.1071|df= 5) = 0.03335

Chi-Square Association Test Conclusion: We reject Ho in favor of Ha because our p-value of 0.03335 is <α 0.05. We have sufficient evidence that the gender and M&M color consumption are dependent

One Proportion Z-Test Assumptions:  Hypotheses: Independent SRS n(p) ≥ 10 n(1-p) ≥ 10 pop ≥ 10 * n Hypotheses: Ho: p=1/6 picked blue Ha: p>1/6 picked blue Check -Randomly picked classrooms using calculator (126)(1/6) (126)(5/6) - pop≥ 1260  ≥ 10

One Proportion Z-test Calculations: z= = 5.259 P(z>5.259)= 7.2564 x 10-8

One Proportion Z-test Conclusion: We reject Ho in favor of Ha because our p-value of 7.2564 x 10-8 <α= 0.05. we have sufficient evidence that the proportion of those that pick blue is greater than 0.167.

Potential Sources of Bias/Error Only covers a few high school classes Leaves out younger/older age range Response bias- our presence could have affected the subject’s choice Sample Method – we didn’t randomly sample each individual, but chose the classroom as a whole Voluntary response – from the teachers Balance of color – might cause people to pick the more abundant color, since we didn’t refill after each pick

Personal Opinion We conclude that color does affect M&M consumption Blue was much more popular than the other colors since we believe that it is more attractive to the human eye Brown and orange were the least picked colors because their earthy tones are not as vibrant Males tended to choose more masculine colors, such as red and brown Females tended to choose more feminine colors, such as yellow, and tended to stay away from brown

Application We counted the amount of M&Ms in 2 bags, and found that there were 162 blue 95 green 84 orange 67 yellow 43 red 38 brown We believe that M&M companies put more blue in their bags since it is the most attractive color