Conditional Probability & Bayes' Theorem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 11K views
Somefantastik
Messages
226
Reaction score
0
[Problem]
Stores A, B, and C have 50, 75, and 100 employees, respectively, 50, 60, and 70 percent of these are women. Resignations are equally likely among all employees, regardless of sex. One employee resigns and this is a woman. What is the prob. she works in store C?

[Solution]
Store A: 25F
Store B: 45F
Store C: 70F

P(W|A) = 25/50 (Prob. it was a woman resign given store A)
P(W|B) = 45/75
P(W|C) = 70/100


P(A) = P(B) = P(C) = 1/3 ?

or

P(A) = 50/225
P(B) = 75/225
P(C) = 100/225 ?


P(C|W) = [tex]\frac{P(W|C)P(C)}{P(W|C)P(C) + P(W|A)P(A) + P(W|B)P(B)}[/tex]

Does this look right?
 
Physics news on Phys.org
P(A) = 50/225
P(B) = 75/225
P(C) = 100/225

P(C|W) = P(C and W)/P(W) = P(W|C)P(C)/[itex]\sum_s[/itex]P(W|s)P(s), so it's correct.
 
Thank you very much.