Quoto

Courses / Bayesian deep dive

The posterior predictive

9 cards2 min readProbability

Card 1 of 9
  1. Idea: Forecast new data, not θ

    The future has layers of doubt: is unknown, and even a known gives a random outcome.

    • The posterior predictive carries both
    • Draw from the posterior, then new data from the model
  2. Formula: The posterior predictive

    Weight every possible θ by its posterior and average what it forecasts.

  3. Example: Both orders fill

    The fill rate has posterior . What is the chance that the next orders both fill?

    1. First fills with , update to
    2. Second fills with
    3. Both:
  4. Common mistake: Plugging in the estimate

    Plug-in gives for fills: it keeps the noise and drops the doubt.

    Instead Average over the posterior. Fills cluster, and plug-in ranges come out too narrow, worst at small .

  5. Quick check: Exactly 1 fill

    Same posterior . What is the chance of exactly fill in the next orders?

    Show the answer

    Answer:

    ; no fill has .

  6. Formula: Normal: noise plus doubt

    Variances add. As data grow V falls toward zero, but σ² stays.

  7. Idea: The gap grows with the horizon

    Over days the noise is independent, but the mean’s error is shared: variance .

    • , : a day has
    • A week of days:
    • The plug-in says
  8. Quick check: No event at all

    An event rate has posterior . What is the chance of no event in the next period?

    Show the answer

    Answer:

    ; plugging in the mean rate gives about , too low.

  9. Idea: Checking a model

    Simulate fresh data sets from the predictive and compare a feature you care about, such as the worst day.

    • Real figure far outside the simulated range: the model misses something