Calculating Probabilities for Multiple Colors of M&M's from a Bag

AI Thread Summary
To calculate the probability of drawing exactly 2 blue and 3 brown M&M's from a bag containing 22.5% blue and 12.5% brown, a multivariate hypergeometric distribution should be used due to the lack of replacement. The binomial distribution is inappropriate in this case since the draws are not independent. If an infinite number of M&M's were assumed, a multinomial distribution could be applied instead. The discussion highlights the importance of choosing the correct statistical model based on the sampling method. Understanding these distributions is crucial for accurate probability calculations in scenarios involving dependent events.
OneSquared
Messages
3
Reaction score
0
I have a bag of M&M's that is 22.5% Blue, 12.5%Brown, and 65% other.

If I pull 12 M&M's from the bag, what is the probabiliity that exactly 2 are blue and 3 are brown?

I used the binomial to find the probability of 2 blue and 3 brown, and I want to multiply them together to get the answer, but wouldn't that assume that the two are independent? Obviously they are not, because any time I pull out a blue M&M, it is one time I have not pulled out a brown M&M.

Can someone shed light on how to solve this? Thanks!
 
Physics news on Phys.org
There is no replacement, so you can't use a multinomial distribution. You want a multivariate hypergeometric distribution. I found a formula on the web for it here:

http://www.agner.org/random/distrib.pdf
 
Correction - if you assume an infinite number of M&M's in the bag, then it's probably safe to use the multinomial distribution. The formula for that is also in the link I provided.
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Back
Top