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
Statistics & Math
Data Scientist
Coinbase
November 29, 2026
Data Scientist
Phone Screen
Statistics & Math
Easy

0

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
Bayes' rule
base rate fallacy
conditional independence
false positives
fraud operations
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample Answer
Clarify

Let FF be fraud, P(F)=0.005P(F) = 0.005. Sensitivity P(flag∣F)=0.9P(\text{flag} \mid F) = 0.9, false positive rate P(flag∣¬F)=0.03P(\text{flag} \mid \neg F) = 0.03. 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....


Submit Your Answer
Markdown supported