8 The Prior, Likelihood, and Posterior of Bayes’ Theorem
8.1 The Three Parts
Bayes’ theorem has three parts:
-
Prior Probability,
-
Likelihood,
and the -
Posterior Probability,
.
The fourth part of Bayes’ theorem, probability of the data,
8.2 Investigating the Scene of a Crime
Kurt explains again Bayes’ theorem with an example: This time the probability of being robbed after finding that the is window broken, the front door is open, and a laptop is missing. One of the differences in the explanation with this example is the explicit use of the different parts of Bayes’ rule and the missing of data. He shows how to bypass missing data by comparing alternative hypotheses.
8.3 empty: Considering Alternative Hypotheses
8.4 Comparing Our Unnormalized Posteriors
If you compare alternative hypotheses than both the numerator and denominator contain P(data), so that you can remove it and still maintain the ratio.
8.5 empty: Wrapping Up
8.6 Exercises
Try answering the following questions to see if you have a solid understanding of the different parts of Bayes’ Theorem. The solutions can be found at https://nostarch.com/learnbayes/.
8.6.1 Exercise 8-1
As mentioned, you might disagree with the original probability
How much does this change our strength in believing
$$
8.6.2 Exercise 8-2
How unlikely would you have to believe being robbed is—our prior for
$$
By the way: The high unlikeliness of