Foundations — Bayesian statistics — prior, likelihood, posterior (intro)
Before you can update beliefs, you must be able to read the sentence that does the updating. This page builds every piece of notation the parent note silently assumes, in an order where each symbol is earned by the one before it. Never move past a symbol you cannot picture.
1. What is a probability? The symbol
The picture. Draw a big rectangle and call its whole area — this rectangle is everything that could happen (the sample space). An event is a blob inside it. is simply the fraction of the rectangle that the blob covers.
Why the topic needs it. Bayesian statistics is a machine that takes probabilities in and gives a probability out. If "a number that measures how much area a blob covers" is not crystal clear, none of the later symbols mean anything.
2. Two events at once: and the joint region
The picture. Draw two overlapping blobs, and , inside the rectangle. The lens-shaped overlap is . Its area is — the chance you land in both blobs.
Why the topic needs it. The parent's Step 1 writes "the joint two ways": That whole derivation is a statement about this one overlapping lens measured from two directions. Without a picture of the overlap, that equation is just symbols.
3. Conditioning: the bar and
Why this formula and not another? Once we know happened, the world shrank: only the -blob is still possible. So we throw away the rest of the rectangle and ask what fraction of the new smaller world (area ) is also in (area )? Dividing rescales the overlap so that the -blob now counts as the full "certain" amount .
Look at the figure. On the left, is a small slice of the whole rectangle. On the right we have zoomed so that fills the frame — the same slice now looks much bigger, because we divided by the shrunken world .
4. Naming the unknowns: and
The picture. Think of as a dial hidden inside a locked box, and as the readings that leak out through a window. We never touch the dial; we only see readings and reason backwards to the dial's position.
Why the topic needs it. The whole subject is the arrow : from visible readings back to the hidden dial. Bayes' theorem is literally the machine that reverses the arrow, because nature runs it forwards ( causes ) and we want it backwards.
5. The four characters as symbols
Now every symbol in the parent's headline formula is a phrase you can read aloud.
| Symbol | Say it in words | Picture |
|---|---|---|
| belief in the dial before any reading | how wide the dial could be, guessed up front | |
| if the dial were at , how likely is this reading | forward arrow: dial → reading | |
| how likely this reading is over all dial settings | total window brightness, averaged | |
| belief in the dial after seeing the reading | backward arrow: reading → dial |
Why is "just a normalizer". It has no in it, so as varies it is a fixed constant. Its only job is to make the posterior's total area equal (a real probability). That is why the parent's proportional form drops it: .
6. Summation, integration, and
Two symbols appear when we build the evidence .
The picture. Discrete : a few bars you add. Continuous : a smooth curve whose area underneath you accumulate. The integral is "the area under the curve".
Why the topic needs both. The Law of Total Probability is precisely (or the integral version) — it is how the denominator is assembled. And is the parent's "80/20": compute the un-normalized shape, then fix the constant at the very end.
7. The two data-generators the parent leans on
Why now, not earlier. These are the specific likelihood and prior shapes in Worked Example 2. You needed , , and "area under a curve" first before " is a Beta" could mean anything. The magic word conjugate (Beta prior + Binomial data → Beta posterior) is just: the shapes multiply and stay in the same family.
8. Prerequisite map
Equipment checklist
Cover the answers and test yourself. If any line stumps you, re-read its section above.