Problem
In my town, it's rainy one third of the days. Given that it is rainy, there will be heavy traffic with probability
, and given that it is not rainy, there will be heavy traffic with probability . If it's rainy and there is heavy traffic, I arrive late for work with probability . On the other hand, the probability of being late is reduced to if it is not rainy and there is no heavy traffic. In other situations (rainy and no traffic, not rainy and traffic) the probability of being late is . You pick a random day.
- What is the probability that it's not raining and there is heavy traffic and I am not late?
- What is the probability that I am late?
- Given that I arrived late at work, what is the probability that it rained that day?
- Solution
Let be the event that it's rainy, be the event that there is heavy traffic, and be the event that I am late for work. As it is seen from the problem statement, we are given conditional probabilities in a chain format. Thus, it is useful to draw a tree diagram. Figure 1.27 shows a tree diagram for this problem. In this figure, each leaf in the tree corresponds to a single outcome in the sample space. We can calculate the probabilities of each outcome in the sample space by multiplying the probabilities on the edges of the tree that lead to the corresponding outcome.
- The probability that it's not raining and there is heavy traffic and I am not late can be found using the tree diagram which is in fact applying the chain rule:
. - The probability that I am late can be found from the tree. All we need to do is sum the probabilities of the outcomes that correspond to me being late. In fact, we are using the law of total probability here.
. - We can find using . We have already found , and we can find similarly by adding the probabilities of the outcomes that belong to . In particular,
.
Thus, we obtain.
- The probability that it's not raining and there is heavy traffic and I am not late can be found using the tree diagram which is in fact applying the chain rule:
No comments:
Post a Comment