Quoto

9 cards2 min readProbability

Card 1 of 9
  1. Idea: A plain run that starves

    Default chance : plain paths see about defaults.

    • The other paths tell you nothing
    • Importance sampling moves paths to the action, then corrects
  2. Formula: Reweighting

    Draw from q and weight each draw by p/q. Unbiased if q > 0 wherever p·f is not 0.

  3. Example: A weighted run

    True default , sampled at , cost . Of draws, default. What is the estimate?

    1. Weight:
    2. Estimate:
  4. Formula: Variance for a rare event

    Falls as the sampling chance q rises towards 1. The ideal q follows |f| times p.

  5. Quick check: Variance saved

    A default with is sampled with . What is the variance of one weighted draw?

    Show the answer

    Answer:

    , about times below a plain draw.

  6. Common mistake: It can make things worse

    A event sampled at : , against plain.

    Instead Never give q thinner tails than p: one huge weight can move everything.

  7. Formula: Effective sample size

    How many equal draws the weighted sample is worth. A small share of n means do not trust it.

  8. Quick check: Check the weights

    draws have weights , , , , . What is the effective sample size?

    Show the answer

    Answer:

    : the draws are worth fewer than .

  9. Idea: Say it out loud

    Report the effective sample size beside the estimate, not only the error bar.

    • A region q never visits is one the estimate never sees
    • Shift or tilt p towards the scenarios that matter