In: Statistics and Probability
1. A jar contains 100 gummy bears: 50 ordinary candies, and 50 cannabis edibles. Of the ordinary candies, 40 are red and 10 are green. Of the cannabis edibles, 20 are red, and 30 are green. A gummy bear is drawn at random from the jar, in such a way that each gummy bear is equally likely to be the one drawn. What is the probability that the drawn gummy bear is a cannabis edible, conditional on it being red?
P(cannabis edible | being red) = P(cannabis edible and being red) / P(being red)
= (20/100) / ((20+40)/100)
= 20/60
= 1/3 or 0.3333