Intuition behind the Posterior

We can estimate the posterior even BEFORE calculating it.

fieldnotes
3 min readJul 25, 2022
How do we clear away the fog that prevents us from understanding the posterior? (ImageCred: Bitterroot/flickr)

If you remember from a previous post, the posterior is a careful construction of three pieces: likelihood, prior, and denominator.

Bayes Rule
Bayes Rule (ImageCred: fieldnotes)

Turns out, once you don’t really need the denominator to visualize and at least get a “sense” of the posterior’s shape:

The posterior is proportional to the numerator, which is the product of the prior and the likelihood.
(ImageCred: fieldnotes)

Why can we do this?

From the same post linked above, we see that the denominator is the only piece of the posterior sculpture that doesn’t depend on the parameter (θ).

In that case, we can treat the denominator as a sort of “factor” that we multiply to the numerator:

demonstrating how we can convert the posterior from being a proportion of the numerator to an equality
(ImageCred: fieldnotes)

So, if we know the prior and likelihood, we can essentially start pushing away the fog that obscures the behavior of our posterior.

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

WARNING: This does NOT mean the data is no longer of use or important. In fact, it is extremely important in our understanding of the shape of the posterior. Let the end of this post be a reminder, but let’s review it here too:

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

What affects the posterior?

Answer: prior and data (likelihood)

Here is a table to prime your intuition before we use some visualizations:

A table describing three scenarios that each affect the shape of the posterior differently. The three cases are uniform prior, strong prior, and increased amount of data.
A table describing three scenarios that each affect the shape of the posterior differently. (ImageCred: fieldnotes)

Case 1: uniform prior

posterior shape is dictated ONLY by the shape/peak of the likelihood
Case 1: uniform prior (ImageCred: fieldnotes)

Case 2: strong prior

posterior shape dictated by BOTH prior and posterior such that the posterior peak lies between the prior peak and the likelihood peak
Case 2: strong prior (ImageCred: fieldnotes)

Case 3: amount of data increases (Remember: affect of prior decreases)

posterior peak follows the likelihood shape closely such that it becomes narrower, along with the likelihood peak
Case 3: increased amount of data (ImageCred: fieldnotes)

Main Takeaway: The posterior is proportional to the prior and likelihood. Depending on the strength of the prior and amount of data collected, the posterior’s shape will be affected in predictable ways.

A little more clarity to help us continue understanding posteriors (ImageCred: Michael Roberts / Getty Images)

Research done from: “The Posterior- The Goal of Bayesian Inference” A Student’s Guide to Bayesian Statistics, by Ben Lambert, SAGE, 2018.

--

--