
Nikki K.
asked 08/01/14Probability question
4 Answers By Expert Tutors

Dattaprabhakar G. answered 08/01/14
Expert Tutor for Stat and Math at all levels

Dattaprabhakar G.
In our illustrative problem, the system is drawing randomly a numbered card from boxes and noting whether it is even or odd. The three “conditions” are, let us say, three boxes, Box A with 10 cards numbered 1 to 10, Box B with 5 cards numbered 1 to 5 and Box C with 4 cards numbered 1 to 4. Let us begin by assuming that the conditions occur at random, so that probabilities associated with them are
P(A) = P(B) = P(C) = 1/3.
Under each condition there are two outcomes, “even” (“E”) or “odd” (“O”). The known probabilities of their occurrence under each condition are
P(E|A) = 5/10, P(O|A) = 5/10, P(E|B) = 2/5, P(O|B) = 3/5, P(E|C) = 2/4, P(O|C) = 2/ 4.
Now suppose that we observe the outcome (only) that an even ball is drawn (E has occurred). How do you use this information to update that Box A, or Box B, or Box C is used (is the prevalent condition)? So we now want P(A|E), P(B|E) and P(C|E) (the updated probabilities of the conditions, in the light of the occurrence of outcome E). Let us take P(A|E).
By Bayes Theorem,
P(A|E) = [P(E|A)P(A)] / {[P(E|A)P(A)] + [P(E|B)P(B)] + [P(E|C)P(A|C)]}
All the quantities on the right are known (see above) so P(A|E) can be computed.
P(A|E) = (5/10)(1/3) / {(5/10)(1/3) + (2/5)(1/3) + (2/4)(1/3)}
Remaining arithmetic is left to the interested reader.
Same goes for P(B|E) and P(C|E). Just replace A in the expression above throughout by B, or by C.
08/03/14
Ira S. answered 08/01/14
Bilingual math tutor and much more

Philip P. answered 08/01/14
Effective and Patient Math Tutor
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Dattaprabhakar G.
08/01/14