3 Conditional probabilities and Conditionalisation
3.1 Defining conditional probabilities#
In these diagrams areas represent probabilities, and in general probabilities behave very much like areas. When we suppose B, the new area lying in A is A \cap B; but the total area over which we are calculating is now the area of B, not the area of \Omega, which was 1. That is why, to find how likely A is on the condition that B, we take its new area, A \cap B, and divide it by the new total area, B.
Step through the two frames: the shaded region is the same in both. What changes is what it is being measured against.
So the formula does exactly that: \Cr(A \cap B) measures the overlap, and dividing by \Cr(B) rescales it so that B, rather than \Omega, counts as the whole. It is also why we require \Cr(B) > 0: if B has no probability, there is nothing to rescale against.
This also gives us a second, equivalent way of saying that two events are probabilistically independent, which we met back in section 1. Where \Cr(B) > 0,
3.3 A visual explanation of conditionalisation#
Figure 13. Stage 1. The sample space \Omega, with areas representing probabilities. B is the event we are going to condition on, and A lies wholly inside it.
Figure 15. Stage 3. Everything outside B is discarded. Nothing has moved and nothing has changed size yet.
3.4 The multiplication rule and total probability#
Sometimes it is useful to use conditional probabilities to calculate the unconditional probability of an event. Suppose that the sample space \Omega can be partitioned into B_1, B_2, \dots, B_n. Then the law of total probability states that
Why is this true? Note that, since the B_i partition \Omega,
Figure 18. The law of total probability. The B_i partition \Omega, so A is cut into the disjoint pieces A \cap B_i, and their probabilities sum to \Cr(A).
3.5 Bayes’ theorem#
What we have, straight from the definition, is a pair of equations:
What we want is a way of getting from one conditional probability to the other:
Sometimes you know one of these conditional probabilities and want the other, and Bayes’ theorem is what gets you across.
3.6 Bayes factors#
Suppose you are weighing two hypotheses, H_1 and H_2, and some evidence E arrives. The Bayes factor is
It measures how much better E is explained by H_1 than by H_2, and it is the whole of what the evidence contributes. That is easiest to see in odds form:
So the Bayes factor is exactly the multiplier: it says how far the evidence moves you, and your prior says where you started from. A Bayes factor of 1 means the evidence is equally expected either way, and moves you not at all.