PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Calculate Posterior Fraud Probability Using Bayes' Theorem

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of Bayes' theorem, conditional probability, and probabilistic reasoning in the context of classifier metrics (prior probability, true positive rate, false positive rate) for fraud detection.

  • easy
  • Meta
  • Statistics & Math
  • Data Scientist

Calculate Posterior Fraud Probability Using Bayes' Theorem

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

##### Scenario Posterior fraud probability for user accounts ##### Question Given prior fraud rate, true-positive rate, and false-positive rate, use Bayes’ theorem to compute the probability an account is fake after a flag. ##### Hints State the formula, plug numbers, interpret the result for decision thresholds.

Quick Answer: This question evaluates understanding of Bayes' theorem, conditional probability, and probabilistic reasoning in the context of classifier metrics (prior probability, true positive rate, false positive rate) for fraud detection.

Related Interview Questions

  • Compute probability an account is fake - Meta (easy)
  • Compute Bayes probability for fake accounts - Meta (easy)
  • Compute probabilities for chatbot response quality - Meta (easy)
  • Compute posterior fake probability using Bayes' rule - Meta (medium)
  • Estimate bots and CI from DAU spike - Meta (medium)
Meta logo
Meta
Aug 4, 2025, 10:55 AM
Data Scientist
Onsite
Statistics & Math
17
0

Posterior Fraud Probability After a Flag

Context

You operate a fraud detection system that flags accounts as suspicious. Define:

  • F: account is fraudulent
  • +: system flags the account
  • Prior fraud rate p = P(F)
  • True positive rate (TPR) = P(+ | F)
  • False positive rate (FPR) = P(+ | not F)

Task

  1. Use Bayes’ theorem to derive an expression for the posterior probability that an account is fraudulent after a flag: P(F | +).
  2. Compute P(F | +) for the following example values: p = 1%, TPR = 90%, FPR = 5%.
  3. Briefly interpret the result for decision thresholds (e.g., how the posterior compares to a 10%, 20%, or 50% action threshold).

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Meta•More Data Scientist•Meta Data Scientist•Meta Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.