Probability a Flagged Transaction Is Actually Fraudulent
Last updated: November 29, 2026
Quick Overview
A fraud rule flags 95% of fraudulent transactions and 2% of legitimate ones, and 0.2% of all transactions are fraudulent. What is the probability that a flagged transaction is actually fraud, and what does that mean for how flags should be handled?
American Express
November 29, 20260
0
0 solved
A fraud rule flags 95% of fraudulent transactions and 2% of legitimate ones, and 0.2% of all transactions are fraudulent. What is the probability that a flagged transaction is actually fraud, and what does that mean for how flags should be handled?
A quick base-rate question in the style of an American Express analytics or risk screen. The interviewer wants Bayes' rule done cleanly and a sensible business reading: most flags are false alarms, so a hard decline is the wrong default.
What the Interviewer Expects
- Sets up Bayes' rule with prior, sensitivity and false positive rate
- Computes the posterior correctly
- Explains the base-rate effect in plain words
- Connects the answer to step-up authentication instead of declines
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
- How low would the false positive rate need to be for half of flags to be fraud?
- How does the answer change for a segment with 2% fraud?
- If you stack a second independent check, what is the new posterior?
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 and be a flag. Given , , . We want , which is the rule's precision....
Approach
Apply Bayes: . A frequency table is easier to explain to a business partner: think about 1,000,000 transactions....