Factoring a marginal probability from a conditional probability distribution
In studying probabilistic graphical models, had the “fun” of hand factoring changes to the probability distributions in a bayesian network. Some good tips here, here, and here if you need to do something like…
Determine $P(accident | trafficjam)$ given a CPD on $P(trafficjam | accident, president traveling)$
Also very useful is Daphne Koller’s book, Chapters 2 & 3.