Are candy color pieces uniformly distributed? In a 2 ounce bag of Skittles, there are green, red, yellow, orange and purple pieces.  Ideally, each bag should have the same amount of pieces for each color so that the colors/categories are equally likely. Here's what you need to do, pick (or Google a picture of) a bag of candy (Skittles, M&Ms or Mike & Ikes, etc) that fulfills the requirements listed below and perform a goodness of fit test for uniform distribution using a 0.05 significance level. Requirements: The sample must contain at least 50 whole pieces Each sample must contain 4 to 7 categories (red, yellow, blue…) you are free to be creative when entering your answers using font sizes, COLORS or images (no hyperlinks please). QUESTION #1 State Your Claim with Observed/Expected Values Table  In one or two sentences, state the claim for your goodness of fit test. For example, “My bag of skittles has 50 whole pieces: 12 blue, 18 red ... Using a 0.05 significance level I will test the claim that the candy colors are uniformly distributed (or not uniformly distributed, it's your choice depending on your data set).” Create a table of your observed values and expected values similar to the table below (the number of columns needed depends on your data set):   BLUE GREEN  YELLOW ... OBSERVED VALUES ? ? ? EXPECTED VALUES ? ? ? HINT:  If your expected values are fractions you may want to increase the sample size until you have whole numbers, n=50 is not divisible by 4 colors but n=52 is divisible by 4 colors. QUESTION #2 State Your Null Hypothesis and Alternative Hypothesis H0 : ___________________________________ H1: ____________________________________ HINT: Lecture 11-1 video will instruct you how to state H0 and H1. QUESTION #3 Find Your Test Statistic And P-Value Fill in the table of calculations for your test statistic X2. O E O - E (O - E)2 (O - E)2/E               The test statistic = _______________ ROUND TO 3 DECIMAL PLACES. The p-value = ___________________ ROUND TO 4 DECIMAL PLACES. HINT: verify your calculations using the GOF-test in your TI-84 calculator. QUESTION #4 Make Your Decision and State Conclusion Compare your p-value to your significance level using < or > symbols. Make a decision about your claim, for example "since my p-value is less than my sign-level, I will Reject H0." Based on your decision state the appropriate conclusion, for example "there is (or is not) sufficient..." According to your sample data and your hypothesis test, are your candy colors somewhat uniformly distributed?________(yes or no).

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

Are candy color pieces uniformly distributed?

In a 2 ounce bag of Skittles, there are green, red, yellow, orange and purple pieces.  Ideally, each bag should have the same amount of pieces for each color so that the colors/categories are equally likely. Here's what you need to do, pick (or Google a picture of) a bag of candy (Skittles, M&Ms or Mike & Ikes, etc) that fulfills the requirements listed below and perform a goodness of fit test for uniform distribution using a 0.05 significance level.

Requirements:

  • The sample must contain at least 50 whole pieces
  • Each sample must contain 4 to 7 categories (red, yellow, blue…)

you are free to be creative when entering your answers using font sizes, COLORS or images (no hyperlinks please).

QUESTION #1 State Your Claim with Observed/Expected Values Table 

In one or two sentences, state the claim for your goodness of fit test. For example, “My bag of skittles has 50 whole pieces: 12 blue, 18 red ... Using a 0.05 significance level I will test the claim that the candy colors are uniformly distributed (or not uniformly distributed, it's your choice depending on your data set).” Create a table of your observed values and expected values similar to the table below (the number of columns needed depends on your data set):

  BLUE GREEN  YELLOW ...
OBSERVED VALUES ? ? ?
EXPECTED VALUES ? ? ?

HINT:  If your expected values are fractions you may want to increase the sample size until you have whole numbers, n=50 is not divisible by 4 colors but n=52 is divisible by 4 colors.

QUESTION #2 State Your Null Hypothesis and Alternative Hypothesis

H0 : ___________________________________

H1: ____________________________________

HINT: Lecture 11-1 video will instruct you how to state H0 and H1.

QUESTION #3 Find Your Test Statistic And P-Value

Fill in the table of calculations for your test statistic X2.

O E O - E (O - E)2 (O - E)2/E
 

 

 

 

     

The test statistic = _______________ ROUND TO 3 DECIMAL PLACES.

The p-value = ___________________ ROUND TO 4 DECIMAL PLACES.

HINT: verify your calculations using the GOF-test in your TI-84 calculator.

QUESTION #4 Make Your Decision and State Conclusion

  • Compare your p-value to your significance level using < or > symbols.
  • Make a decision about your claim, for example "since my p-value is less than my sign-level, I will Reject H0."
  • Based on your decision state the appropriate conclusion, for example "there is (or is not) sufficient..."
  • According to your sample data and your hypothesis test, are your candy colors somewhat uniformly distributed?________(yes or no).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman