Math 300 M& M Project Part 4
MAT 300
M&Ms® Project
Part 4 (21 pts)
Use the M&Ms® data to complete this assignment. You will be using the methods of 7.4 for the color proportions and 7.2 for the mean number of candies per bag. For the Bonus you will be using the methods of 7.5.
You can use StatCrunch to assist with the calculations. A link for StatCrunch can be found under Tools for Success in Course Home. Here is also a link: http://statcrunch.pearsoncmg.com/statcrunch/larson_les4e/dataset/index.html. You can also find additional help on both confidence intervals and StatCrunch in the Online Math Workshop under Tab: “MAT300 Archived Workshops”. Specifically you will be looking for Hypothesis Tests and Using Technology – Hypothesis Testing.
Submit your answers in Excel, Word or pdf format. Submit your file through the M&M® project link in the weekly course content. Be sure to state clear hypotheses, test statistic values, critical value or p-value, decision (reject/fail to reject), and conclusion in English (what does reject/fail to reject the null mean in terms of your hypotheses). When doing calculations for the color proportions, keep at least 4-6 decimal places sample proportions, otherwise you will encounter large rounding errors.
Masterfoods USA states that their color blends were selected by conducting consumer preference tests, which indicated the assortment of colors that pleased the greatest number of people and created the most attractive overall effect. On average, they claim the following percentages of colors for M&Ms® milk chocolate candies: 24% blue, 20% orange, 16% green, 14% yellow, 13% red and 13% brown.
3 pts. Test their claim that the true proportion of blue M&Ms® candies is 0.24 at the 0.05 significance level. Number of Candice sampled 4209, Blue, x = 873, p = 0.2074
3 pts. Test their claim that the true proportion of orange M&Ms® candies is 0.20 at the 0.05 significance level. Number of Candice sampled 4209, Orange, x = 924, p = 0.2195
3 pts. Test their claim that the true proportion of green M&Ms® candies is 0.16 at the 0.05 significance level. Number of Candice sampled 4209, Green, x = 709, p = 0.1684
3 pts. Test their claim that the true proportion of yellow M&Ms® candies is 0.14 at the 0.05 significance level. Number of Candice sampled 4209, Yellow, x = 565, p = 0.1342
3 pts. Test their claim that the true proportion of red M&Ms® candies is 0.13 at the 0.05 significance level. Number of Candice sampled 4209, Red, x = 581, p = 0.138
3 pts. Test their claim that the true proportion of brown M&Ms® candies is 0.13 at the 0.05 significance level. Number of Candice sampled 4209, Brown, x = 557, p = 0.1323
3 pts. On average, they claim that a 1.69 oz bag will contain more than 54 candies. Test this claim (µ > 54) at the 0.01 significance (σ unknown).
BONUS: 5 pts. It is important that the total number of candies per bag does not vary very much. As a result of this quality control, the desired standard deviation is 1.5. Test the claim (α = 0.05) that the true standard deviation for number of candies per 1.69 oz bag is less than 1.5 (σ < 1.5).
HELP:
Color proportions
Revisiting the purple example from
before: we had found 732 purple candies out of 3500 total candies. The sample
proportion of purple candies is 732/3500 = 0.2091428571.
Now let's say you want to test that the true proportion of purple candies is
21% (0.21).
First define your hypotheses: Claim - p = 0.21
H0: p = 0.21 (null)
H1: p ≠ 0.21 (alternative)
Next we need to calculate the test
statistic. For this type of test, it is a z and a two tailed test. You have
been asked to test at alpha = 0.05, so we will reject the null if the test
statistic, z, is positive and greater than 1.96 OR if the test statistic, z, is
negative and smaller than -1.96. (NOTE: This is the same as if the absolute value of
the test statistic is greater than 1.96.)
Review: → sample proportion (0.209143)
p → assumed value in null (0.21)
q → 1 - p (0.79)
n → total number of candies (3500)
Test statistic:
Because the test statistic is
negative and is NOT smaller than -1.96, we FAIL TO REJECT. We have insufficient
evidence to suggest the true proportion is not 0.21.
You will follow this procedure for EACH color.
IF using the TI 83/84: STAT, TESTS, 1-PropZTest
Po: assumed proportion (0.21)
x: number of successes (732)
n: total number of candies (3500)
In the next line, select the correct alternative hypothesis/test, then Calculate, Enter.
On the next screen, the second line shows the test.
The next line has the test statistic.
The next line has the p-value of the test (if less than significance level, reject null)
The next two lines have and n.
IF using StatCrunch, you will want Stat > Proportions > One Sample > with summary. In the first window, you will enter the same information as for part 3: number of the color (number of successes) and total number of candies (number of observations). Then click Next, and in the following window, enter the claimed proportion as a decimal in the box next to “null”, select the inequality that matches the alternative hypothesis and then click Calculate. The output will include the test statistic (Z-Stat) and the p-value.
Hypothesis test results:
p : proportion of successes for population
H_{0} : p = 0.21
H_{A} : p ≠ 0.21
Proportion |
Count |
Total |
Sample Prop. |
Std. Err. |
Z-Stat |
P-value |
p |
732 |
3500 |
0.20914286 |
0.006884766 |
-0.12449848 |
0.9009 |
Mean
When you test for the mean number
of candies per bag, you will need (sample mean), s (sample standard deviation) and n (total
number of bags) as before.
The test statistic is a z, because we have a large sample.
Test statistic:
IF using the TI 83/84: STAT, TESTS, Z-Test
Input: Stats
m0: assumed mean value
s: sample or known standard deviation
: sample mean
N: sample size
Then select the correct alternative hypothesis/test, then Calculate, Enter.
On the next screen, the second line shows the test.
The next line has the test statistic.
The next line has the p-value of the test (if less than significance level, reject null)
The next two lines have and n.
IF using StatCrunch, you will use Stat > Z Statistics > one sample as with part 3.
BONUS
This is a test about a standard deviation. You can use StatCrunch, however, StatCrunch deals with variances, so you would enter 1.5² = 2.25 as the null value. You would use Stat > Variance > One Sample. Again, it would be best to use the actual data entered into a column, but you can also use summary values, as long as you carry at least 4 decimal places.
At the end of this project, you will be writing a report, explaining the method and presenting the results from each part of the project. You might find it useful to write this as you complete the work, so the report will be mostly written by the time it is assigned.
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors