Compute a path probability on a tree
Multiply along a path and add across branches. The idea in plain words, a worked example, and a check with the answers shown — part of the free Statistics guides.
A tree diagram splits the sample space step by step. Each branch is labelled with the probability of taking it, and the second level's labels are conditional — the tree has already restricted the sample space to the first branch.
Two operations, and they are the two rules drawn:
- Multiply along a path for "and then":. - Add across branches for "or": two paths to the same outcome are disjoint, so their probabilities add.
The check is built in: the probabilities on the branches leaving any node must sum to 1, because from that node the possibilities are exhaustive.
Because they make the conditioning visible. The alternative — a formula with three conditional bars in it — hides which probability is restricted by which, and that is the one thing that decides whether a term multiplies or adds.
A tree also turns the law of total probability into a picture: the probability of a result is the sum of the path probabilities that reach it.
A bag holds 3 red and 2 blue counters. Two are drawn without replacement.
First branch. Red; blue.
Second branch, given red. Red; blue.
P(two reds)..
P(one of each)., two paths added.
Check., where is two blues. Every leaf accounted for.
- Multiply along a path and add across branches
- Read a tree's second-level branches as conditional probabilities
- Say why multiplication is right on a path
- 1. First branch 0.3, second given it 0.5.
- 2. What is the path probability?
- 3. What must the other second branch be?
Answers
- 1. 0.15.
- 2. 0.5, so the node's branches total 1.