Where did I go wrong with my reasoning of the blue cab/green cab problem?

111 Views Asked by At

Here’s the statement of the problem.

"A cab was involved in a hit-and-run accident at night. Two cab companies, the Green and the Blue, operate in the city. You are given the following data: 85% of the cabs in the city are Green and 15% are Blue. A witness identified the cab as Blue. The court tested the reliability of the witness under the circumstances that existed on the night of the accident and concluded that the witness correctly identified each one of the two colors 80% of the time and failed 20% of the time. What is the probability that the cab involved in the accident was Blue rather than Green?"

Let $B_A$ be the event that a blue cab caused the accident, and $B_O$ the event that a blue cab was observed to have caused the accident. The desired probability is $P(B_A|B_O)$. According to the solution, I made the mistake of letting $P(B_O) = .15$, while it’s actually $P(B_A) = .15$.

When I read “85% of the cabs in the city are Green and 15% are Blue”, my reasoning was that, if a witness was to see a random cab, there’d be a 85% chance that it’s green, and 15% that it’s blue. Why is this not correct, and why is the same reasoning correct when applied to the probability $P(B_A)$?

2

There are 2 best solutions below

2
On

First see conditional probability.

Let $~R~$ denote the event that the cab was blue.

Let $~S~$ denote the event that the witness said the cab was blue.

Then

$$p(R|S) = \frac{p(R\cap S)}{p(S)} = \frac{(0.15 \times 0.8)}{(0.15 \times 0.8) + (0.85 \times 0.2)}.$$

0
On

The event $\ B_O\ $ can occur in two ways—not just merely when the cab was actually blue, but also when it was actually green but mistakenly observed to be blue. That is: $$ B_O=\big(B_O\,\wedge B_A\big)\vee\big(B_O\,\wedge\ G_A\big)\ , $$ where $\ G_A\ $ is the event that a green cab caused the accident. Thus \begin{align} P\big(B_O\big)&=P\big(B_O\,\wedge B_A\big)+P\big(B_O\,\wedge\ G_A\big)\\ &=P\big(B_O\,\big|\ B_A\big)P\big(B_A\big)+P\big(B_O\,\big|\ G_A\big)P\big(G_A\big)\\ &=0.8\times0.15+0.2\times0.85\\ &=0.29\ . \end{align}