Probability a Flagged Payment Is Actually Fraudulent
Last updated: November 29, 2026
Quick Overview
Fraud occurs in 0.2% of payments. A rule flags 95% of fraudulent payments and 2% of legitimate ones. If a payment is flagged, what is the probability it is fraud, and what does that imply for how flagged payments should be handled?
PayPal
November 29, 20260
0
0 solved
Fraud occurs in 0.2% of payments. A rule flags 95% of fraudulent payments and 2% of legitimate ones. If a payment is flagged, what is the probability it is fraud, and what does that imply for how flagged payments should be handled?
A quick Bayes question that PayPal interviewers use to check base-rate intuition before deeper risk discussions. They want the correct calculation, a plain-language interpretation, and an operational conclusion about review queues and step-up authentication.
What the Interviewer Expects
- Set up Bayes' rule with prior, sensitivity and false positive rate
- Compute the posterior correctly (about 8.7%)
- Explain why it is low despite a 'good' rule
- Translate the result into an action: step-up instead of hard decline
- Show how a second independent signal changes the posterior
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
- What false positive rate would be needed for a flagged payment to be fraud more than half the time?
- If a second independent check with 80% sensitivity and 5% false positive rate also fires, what is the new probability?
- How does the answer change for a high-risk merchant segment with 2% fraud?
- Why might the two checks not be independent in practice?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Prior . Sensitivity . False positive rate . We want ....
Approach
Apply Bayes' rule, or think in counts out of one million payments, which is easier to explain to non-statisticians....