Bayes Rule Through Examples
Learn bayes updating, base rates and false flags.
Bayes Updating
Objective: Explain bayes updating, apply the stated method, and check its conditions.
Bayes’ rule gives P(A|B)=P(B|A)P(A)/P(B), with P(B)>0. Count-based examples update belief by restricting to observations consistent with B. Base rates matter because the subgroup contains contributions from different original groups, not only the desired group. Include all pathways contributing to the conditioning event.
Formulas
Worked examples
Try itA synthetic box has 168 blue and 196 red tokens. Half the blue tokens and one quarter of the red tokens are square. One uniform draw is known to be square. Find P(blue | square).Show answer
Step 1: The square subgroup contains 84 blue squares and 49 red squares. Step 2: Conditioning divides blue-square count by all squares: 84/(84+49). Step 3: The posterior probability is 12/19; prior color frequencies and color-specific square rates both contribute.
Swipe sideways to move between sections
You finished the reading!
Lock it in with a few practice questions. This is the last lesson in the chapter.
