# Suppose I gave you a bag of M&M’s, but I didn’t let you see the original packaging so you can’t determine which plant made the M& M’s. Your job is to count the number of candies of each color in your bag and figure out which plant made your bag. What test should you do to determine this?

Suppose I gave you a bag of M&M’s, but I didn’t let you see the original packaging so you can’t determine which plant made the M& M’s. Your job is to count the number of candies of each color in your bag and figure out which plant made your bag. What test should you do to determine this?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

avortarF
Step 1
From the given information, our job is to count the number of candies of each color in our bag and figure out which plant made our bag.
There are many category of color and then the observed proportion are should be known for each category.
Step 2
Chi-square test:
Chi-square test is used to test the independence of attributes and goodness fit. This test is used for qualitative variables.
A chi-square statistic is a method that tests how expectations correlate with real data that have been observed.
The Chi-Square tests