Quoto

9 cards2 min readProbability

Card 1 of 9
  1. Idea: A good detector, a rare event

    A signal can be right on most cases and still be wrong most of the times it fires.

    • The catch rate is measured among true cases
    • You need the share of flags that are true
  2. Example: The mistyped-order flag

    of trades are mistakes. A model flags of mistakes and of correct trades. A trade is flagged. Chance it is a mistake?

    1. trades: mistakes, correct
    2. Flags: true, false
    3. Chance:
  3. Formula: Base rate, hit rate, false alarms

    p is the base rate, s the share of true cases caught, f the false positive rate.

  4. Idea: The base rate decides

    The same model on crowds of trades:

    • Base rate :
    • :
    • :
  5. Idea: False alarms are the lever

    For a rare event, cutting false alarms helps more than catching everything.

    • Catch every mistake:
    • Halve the false alarms:
  6. Common mistake: Calling it 90% accurate

    is measured among mistakes, not among flags.

    Instead Ask for the share of flags that are true. A model that never flags is right on and finds nothing.

  7. Quick check: A second, independent check

    The flagged trades go through a second, independent check with the same rates. Chance a twice-flagged trade is a mistake?

    Show the answer

    Answer:

    and survive: .

  8. Idea: The posterior becomes the prior

    The flagged trades are a new crowd, already richer in mistakes.

    • The second check must be independent given the true state
    • Running the same model again repeats its own mistake
  9. Idea: What to say in the room

    Ask for the base rate first; without it there is no answer.

    • Say true and false flags as a pair of counts, then divide
    • To improve a rare-event test, cut false alarms or add a second check