Tree diagram for Bayes rule with three events

426 Views Asked by At

While learning Bayes' Rule, I found the tree diagram visualization very helpful when finding $P(B|A)P(A)$ etc. when solving for $P(A|B)$.

The tree diagrams I used so far look like this:

enter image description here

Source

This works well so far, but now I need to use Bayes Theorem for three events, that is, I need $P(A|C, B)$, and for that, it'd be helpful to find $P(C|A, B)P(A|B)$ using the formula

$$ P(A|C, B) = \frac{P(C|A,B)P(A|B)}{P(C|B)} $$


I wasn't able to find examples online and I wasn't able to derive it myself: How would a tree diagram help me in the case of three events ? Is it even valid to tack on another level after event $B$? How do they multiply together?

enter image description here