Quoto

Courses / Bayes and updating

Bayes by counting

8 cards2 min readProbability

Card 1 of 8
  1. Idea: A belief is a count in disguise

    Replace every probability with a crowd of equally likely cases, and cross out what the evidence rules out.

    • Read the answer from what is left
    • Pick a crowd that divides by every denominator
  2. Example: The price alert

    day in is volatile. The alert fires on of volatile days and of calm ones. It fired. Chance the day is volatile?

    1. days: volatile, calm
    2. Alerts: and
    3. Volatile:
  3. Formula: Bayes' rule

    The group you want over everyone who shows the evidence. P(E) is the sum of the groups that survive.

  4. Common mistake: Swapping the conditionals

    The alert fires on of volatile days, yet a firing alert means volatile only of the time.

    Instead Say each one out loud separately: "given volatile" versus "given an alert".

  5. Idea: More causes, same method

    Give each cause a row: prior times likelihood, then add the rows and divide.

    • urns: split the crowd in
    • Causes need not be urns: dice, coins, days
  6. Example: Which die was it?

    A bag has a -sided and a -sided die. Pick one, roll it, see at most . Chance it is the small die?

    1. picks: per die
    2. Small always qualifies: ; large:
    3. Chance:
  7. Quick check: A double-headed coin

    A bag holds double-headed and fair coins. Pick one and flip it twice: heads. Chance it is double-headed?

    Show the answer

    Answer:

    draws: double-headed, fair. Heads twice: and , so .

  8. Idea: How to say it

    Name the crowd out loud, give both group sizes, and only then divide.

    • The interviewer can follow every step
    • A slipped number shows up as a group that looks too large