How Likely Is Fraud When the Risk Alert Fires

Last updated: November 29, 2026

Quick Overview

0.5% of new Uber accounts are fraudulent. A rule flags 95% of fraudulent accounts and 3% of legitimate ones. If an account is flagged, what is the probability it is fraudulent?

Uber
Statistics & Math
Data Scientist
Uber
November 29, 2026
Data Scientist
Phone Screen
Statistics & Math
Easy

0

0

0 solved


0.5% of new Uber accounts are fraudulent. A rule flags 95% of fraudulent accounts and 3% of legitimate ones. If an account is flagged, what is the probability it is fraudulent?

A base-rate question set in Uber's account-fraud context, used early in data science screens. The interviewer checks Bayes' rule and whether you explain why the answer is surprisingly low.

What the Interviewer Expects
  • Write Bayes' rule with the base rate
  • Compute the probability correctly (about 14%)
  • Explain with natural frequencies
  • Discuss what it implies for automatic blocking
  • Suggest how a second independent signal changes the posterior
Key Topics to Cover
Bayes' rule
base rate fallacy
sensitivity and specificity
posterior probability
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 a second independent check also fires, what is the probability now?
  • How would you choose an action for flagged accounts?
  • What if fraud prevalence doubles during a promo?
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

P(F)=0.005P(F) = 0.005, P(flag∣F)=0.95P(\text{flag} \mid F) = 0.95, P(flag∣¬F)=0.03P(\text{flag} \mid \neg F) = 0.03....

Approach

P(F∣flag)=P(flag∣F)P(F)P(flag∣F)P(F)+P(flag∣¬F)P(¬F)P(F \mid \text{flag}) = \dfrac{P(\text{flag} \mid F)P(F)}{P(\text{flag} \mid F)P(F) + P(\text{flag} \mid \neg F)P(\neg F)}...


Submit Your Answer
Markdown supported