In some city, 20% of the cabs are white and the other 80% are yellow. A cab was involved in an accident and ran away. An eyewitness to the accident claims that the cab was yellow. We know that the eyewitness tell the truth in 75% of the cases (and lies on the other 25%). What is the probability that the cab was indeed yellow?
What I have tried:
P(yellow) / [P(yellow) + P(white, but reported yellow)]
0.8 / [0.8 + 0.2(1 - 0.75)] = 0.94
I am unsure if I used the correct thought process for this question.