Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Type of Bayes

  1. Mar 2, 2013 #1
    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 dont take the correct answer where i did mistake?
  2. jcsd
  3. Mar 2, 2013 #2


    User Avatar
    2017 Award

    Staff: Mentor

    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Type of Bayes
  1. Bayes law (Replies: 1)

  2. Bayes Theorem (Replies: 3)

  3. Bayes Theorem (Replies: 6)

  4. Bayes' theorem (Replies: 1)

  5. Baye's Theorem (Replies: 4)