Calculating the Probability of Pulling a Yellow M&M from Bag 1

  • Context: Undergrad 
  • Thread starter Thread starter ParisSpart
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The discussion focuses on calculating the probability of drawing a yellow M&M from Bag 1 given that one yellow and one green M&M are drawn from two bags with different color distributions. Bag 1 contains 20% yellow, 20% red, and 60% green, while Bag 2 has 40% yellow, 40% red, and 20% green. The correct application of Bayes' theorem is essential for solving this problem, specifically using the formula P(A/B) = P(A and B) / P(B). The user struggles with the calculations and seeks clarification on the correct expression and intermediate steps.

PREREQUISITES
  • Understanding of Bayes' theorem
  • Basic probability concepts
  • Familiarity with conditional probability
  • Knowledge of M&M color distributions
NEXT STEPS
  • Review Bayes' theorem applications in probability
  • Practice problems involving conditional probability
  • Analyze examples of probability distributions
  • Explore common mistakes in probability calculations
USEFUL FOR

Students in statistics, data analysts, and anyone interested in probability theory and its applications in real-world scenarios.

ParisSpart
Messages
129
Reaction score
0
Two bags of M & M chocolates are within:

the first 20% yellow, 20% red and 60% green, and
the second 40% yellow, 40% red and 20% green.
Pull a chocolate M & M from each bag and put them in a container. If at the end of the container contains one yellow and one green chocolate then what is the probability that the yellow came from the first bag?

i must use the type of Bayes : P(A/B)=P(AandB)/P(B) like that
(20/100*20/100*20/100)/(20/100*20/100*20/100+20/100*40/100*40/100) but i don't take the correct answer where i did mistake?
 
Physics news on Phys.org
How did you get that expression? I would expect different factors, but it is hard to see where you made a mistake without intermediate steps or explanations.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K