Bayes' rule (in the odds form) says that, for every pair of hypotheses and and piece of evidence
By the definition of conditional probability, so
Dividing both the numerator and the denominator by we have
Invoking the definition of conditional probability again,
Done.
Of note is the equality
which says that the posterior odds (on the left) for (vs ) given evidence is exactly equal to the prior odds of (vs ) in the parts of where was already true. is the amount of probability mass that allocated to worlds where both and are true, and the above equation says that after observing your belief in relative to should be equal to 's odds relative to in those worlds. In other words, Bayes' rule can be interpreted as saying: "Once you've seen , simply throw away all probability mass except the mass on worlds where was true, and then continue reasoning according to the remaining probability mass." See also Belief revision as probability elimination.
Illustration (using the Diseasitis example)
Specializing to the Diseasitis problem, using red for sick, blue for healthy, and + signs for positive test results, the proof above can be visually depicted as follows:
This visualization can be read as saying: The ratio of the initial sick population (red) to the initial healthy population (blue), times the ratio of positive results (+) in the sick population to positive results in the blue population, equals the ratio of the positive-and-red population to positive-and-blue population. Thus we can divide both into the proportion of the whole population which got positive results (grey and +), yielding the posterior odds of sick (red) vs healthy (blue) among only those with positive results.
The corresponding numbers are:
for a final probability of
Generality
The odds and proportional forms of Bayes' rule talk about the relative probability of two hypotheses and In the particular example of Diseasitis it happens that every patient is either sick or not-sick, so that we can normalize the final odds 3 : 4 to probabilities of However, the proof above shows that even if we were talking about two different possible diseases and their total prevalances did not sum to 1, the equation above would still hold between the relative prior odds for and the relative posterior odds for
The above proof can be specialized to the probabilistic case; see Proof of Bayes' rule: Probability form.