The M&M; manufacturers are trying to boost sales by giving away free bags of M&M
ID: 3174083 • Letter: T
Question
The M&M; manufacturers are trying to boost sales by giving away free bags of M&M;'s. They insert a token into each 1.14-1.74 oz. bag of candies. Twenty-five percent of the tokens are marked with an "M", 10 % show the symbol and the rest just say "". When you collect a set of three tokens that spell out "M&M;" you can turn them in for a free bag of candy. About how many bags will a consumer have to buy to get a free one? Use a simulation to find out. Explain in detail how you will use the random numbers listed below to conduct your simulation. Include the following four steps in paragraph form: Identify the component to be repeated. Explain how you will model the outcome. Explain in detail how you will simulate the trial. State clearly what the response variable is. Conduct your simulation. Tell the process and outcome for each of your 2 trials. Show work for analyzing your response variable. Trial 1 69074 91976 33584 94138 87637 Trial 2 48324 71928 31249 64710 02295 State your conclusion based on your results.Explanation / Answer
Question 1: We write a R code to simulate the numbers:
for (j in 1:600){
if (a[j] <0.25) {
k=k+1;
if (k=3){
m[i] =j;
}
}
}
}
result = mean(m)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.