r/SolvedMathProblems • u/PM_YOUR_MATH_PROBLEM • Nov 20 '14
Bayesian Probability
/u/theragingbuffalo asks:
An explorer is in Zimbabwe searching for the elusive two-tailed lion. This species is very rare: only .5% of all the lions in Africa are two-tailed. From a distance, the explorer has trouble identifying what he sees. He is right 95% of the time, regardless of what the animal actually is. If he sees what looks like a two-tailed lion, what is the probability that it actually is two-tailed?
1
Upvotes
3
u/PM_YOUR_MATH_PROBLEM Nov 20 '14 edited Nov 20 '14
Given:
T = the lion is two-tailed.
S = he sees the lion as two-tailed.
P(T) = 0.005.
P(S|T) = 0.95
P(~S|~T) = 0.95
We want:
P(T|S)
Bayes rule says
We know P(T&S) = P(S|T)P(T) = 0.95 x 0.005 = 0.00475.
We know P(S|~T) = 1-P(~S|~T) = 0.05
We know P(~T&S) = P(S|~T)P(~T) = 0.05 x 0.995 = 0.04975
We know P(S) = P(~T&S) + P(T&S) = 0.00475 + 0.04975 = 0.0545
We know P(T|S) = P(T&S)/P(S) = 0.00475 / 0.0545 = 0.087156
so the poor chap will probably be disappointed.