# Data Analysis, Graphs and Hypothesis Testing

1. A study was conducted on the distribution and packaging of 1.69 ounce packages of plain m&m® candies. A random sample of 78 bags was collected and the data reported in the attached Excel file. The study wanted to examine the color percentages and the total number of candies packaged in each bag. Using this data, answer the following:

a. Calculate the sample proportion for each color.

b. Construct a pie chart for the color proportions.

c. Calculate the mean, median, and standard deviation for the total number of candies.

d. Construct a histogram of the total number of candies.

e. Use the z-score method to identify any potential outliers and outliers.

f. Assume the total number of candies is normally distributed, calculate the probability that a randomly sampled bag has at least 55 candies in a bag.

g. If a random sample of 30 bags is selected, find the probability that the mean number of candies in a bag is at least 56 candies. Assume the total number of candies is normally distributed.

h. Assume the total number of candies is normally distributed, find a 95% confidence interval for the mean total number of candies.

i. Construct a probability distribution for the colors of m&m candies based upon your sample:

Color Probability

Blue

Orange

Green

Yellow

Red

Brown

2. Assume you are in charge of a production line which allows for no more than 1% defectives in order to be in compliance. A random sample of 500 is tested and 4 defective items are found. Find the probability of getting exactly 4 defectives out of 500 using the binomial distribution. Based upon this evidence, is your production line in compliance? Explain.

See attached files for data.

#### Solution Preview

Please see both attachments. All computations are done in Excel but reported in Word.

1. A study was conducted on the distribution and packaging of 1.69 ounce packages of plain m&m® candies. A random sample of 78 bags was collected and the data reported in the attached Excel file. The study wanted to examine the color percentages and the total number of candies packaged in each bag. Using this data, answer the following:

a. Calculate the sample proportion for each color.

Proportion of Blue 0.218558

Proportion of Orange 0.215147

Proportion of Green 0.166477

Proportion of Yellow 0.135774

Proportion of Red 0.128042

Proportion of Brown 0.136002

b. Construct a pie chart ...

#### Solution Summary

The solution gives detailed steps on performing the data analysis including building a pie chart, histogram and calculating mean, median, variance and then conducting hypothesis testing. All are done in Excel but report in Word.