Bayesian Update for an Account Flagged by Two Fraud Models
Last updated: November 29, 2026
Quick Overview
Fraud occurs in 0.5% of new Coinbase accounts. A model flags 90% of fraudulent accounts and 3% of legitimate ones. What is the probability an account is fraudulent given one flag, and given flags from two independent models with the same rates?
Coinbase
November 29, 20260
0
0 solved
Fraud occurs in 0.5% of new Coinbase accounts. A model flags 90% of fraudulent accounts and 3% of legitimate ones. What is the probability an account is fraudulent given one flag, and given flags from two independent models with the same rates?
Risk and trust teams at Coinbase constantly reason about base rates when they decide whether to freeze accounts or hold withdrawals. This phone screen question checks whether you apply Bayes' rule cleanly and understand what low base rates mean for false positives and customer impact.
What the Interviewer Expects
- Writes Bayes' rule correctly with the base rate
- Computes the one-flag posterior around 13%
- Computes the two-flag posterior around 82% under independence
- Explains why independence is a strong assumption
- Connects the numbers to an operational decision
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- If the two models share most features, how does that change the answer?
- At what posterior would you freeze an account versus send it to manual review?
- How would you estimate the false positive rate in production when labels are delayed?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Let be fraud, . Sensitivity , false positive rate . For two models assume flags are conditionally independent given th...
Approach
Apply Bayes' rule for one flag, then multiply likelihoods for two flags. Using odds is fastest: posterior odds equal prior odds times the likelihood ratio....