Statistics · Probability
1 / 10
Conditional probability
The probability of A given B, P(A|B) = P(A ∩ B) / P(B), as restricting the sample space to B — reading it off a Venn diagram, the multiplication formula P(A ∩ B) = P(B)P(A|B), and testing independence with P(A|B) = P(A).
Statistics · Probability
Conditional probability
The probability of A given B, P(A|B) = P(A ∩ B) / P(B), as restricting the sample space to B — reading it off a Venn diagram, the multiplication formula P(A ∩ B) = P(B)P(A|B), and testing independence with P(A|B) = P(A).
Why it works
Conditional probability asks: given that one event has already happened, how likely is another? Written — "the probability of given " — it measures within the new, smaller world where is known to have occurred.That "smaller world" is the whole idea. Once you know has happened, the only outcomes still possible are those in , so becomes the new sample space. The chance of is then the slice of that also lies in : On a Venn diagram this is simply (the overlap) ÷ (the whole of ) — you ignore everything outside .For the diagram above, .
The multiplication formula. Rearranging gives a way to find an intersection: This is the engine behind tree diagrams — multiplying along the branches.
The addition formula still holds alongside it: .
Testing independence. Two events are independent when knowing one tells you nothing about the other — that is, the condition makes no difference: So to test independence, check whether equals (or whether the conditional probability equals the unconditional one). If they differ, the events are dependent — one event shifts the odds of the other.