A relatively math-free introduction to the intuition behind the construction of much of the theory of Bayesian inference.
What does it mean to think Bayesian?
The frequentist definition of probability is based on asymptotic observations over a large number of trials. Suppose we have some event, $E$ and $n$ trials. Then the probability of our event, $P(E)$ under the frequentist framework is:
$$ P(E) = \lim_{n \rightarrow \infty} \frac{n_e}{n} $$
On the other hand, Bayesians view probability as a measure of belief (with some caveats).
Now recall the well-understood Bayes’ theorem:
<aside> 📖 For any 2 events, $A, X$, we can express $P(A|X)$ as:
$$ P(A|X) = \frac{P(A)|P(X|A)}{P(X)} $$
Similarly, for random variables $\bm \theta, \mathbf X$:
$$ p(\bm \theta| \mathbf X) = \frac{p(\mathbf X|\bm \theta) p(\bm \theta)}{p(\mathbf X)} $$
</aside>
You might say this is just a consequence of algebra, not explicitly connected to Bayesian inference.
| Expression | Name |
|---|---|
| $p(\bm \theta | \mathbf X)$ |
| $p(\bm \theta)$ | Prior |
| $p(\mathbf X | \bm \theta)$ |
| $p(\mathbf X)$ | Evidence |
Now let’s break things down:
<aside> 📖 'beliefs' fall under the category of posterior and prior.
PITFALL WARNING: Try not to interpret our prior literally as p(parameters); think more abstractly in what they represent. We are personally assigning mass/density to assumptions we find believable. Parameters are just how we implement these beliefs.
</aside>
<aside> 📖 Evidence and likelihood are a bit more rigid as they rely on our data.
Sharp bits: