Analyzing the Setup
Let C, S, B, and T represent the mutually exclusive and exhaustive events of choosing a Car, Scooter, Bus, or Train, respectively. These events form our sample space.
The prior probabilities for each mode of transport are given as:
P(C)=1/7, P(S)=3/7, P(B)=2/7, and P(T)=1/7.
These values represent our initial state of knowledge before any evidence is observed.
The 'In-Time' Trap
The problem provides the probability of being late, P(L∣X). However, we are interested in the probability of being in time, P(Lˉ∣X).
Using the complement rule P(Lˉ∣X)=1−P(L∣X), we calculate the success rates for each mode:
For the car: P(Lˉ∣C)=1−2/9=7/9.
For the scooter: P(Lˉ∣S)=1−1/9=8/9.
For the bus: P(Lˉ∣B)=1−4/9=5/9.
For the train: P(Lˉ∣T)=1−1/9=8/9.
Applying Bayes' Theorem
We have observed the evidence that the person arrived in time (Lˉ). We seek the posterior probability that they took the car, denoted as P(C∣Lˉ).
According to Bayes' Theorem:
P(C∣Lˉ)=P(Lˉ)P(Lˉ∣C)P(C)
The denominator P(Lˉ) represents the total probability of arriving in time, calculated using the Law of Total Probability:
P(Lˉ)=P(Lˉ∣C)P(C)+P(Lˉ∣S)P(S)+P(Lˉ∣B)P(B)+P(Lˉ∣T)P(T)
Final Calculation
Substituting the known values into the numerator and denominator:
The numerator is:
(7/9)⋅(1/7)=7/63
The denominator is the sum of all branches:
P(Lˉ)=(97⋅71)+(98⋅73)+(95⋅72)+(98⋅71)
Finally, we compute the ratio:
P(C∣Lˉ)=49/637/63=497=71
The final probability that the person took the car, given they arrived in time, is 1/7.