PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Compute Bayes probability for fake accounts

Last updated: Mar 29, 2026

Quick Overview

This question evaluates Bayesian reasoning and probabilistic modeling skills, including conditional probability, base-rate effects, detector characteristics like sensitivity and false positive rates, and calculations for "at least one" events.

  • easy
  • Meta
  • Statistics & Math
  • Data Scientist

Compute Bayes probability for fake accounts

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

A platform is trying to detect **fake accounts**. Assume: - Base rate of fake accounts is \(P(F)=p\). - A detection system flags an account as suspicious \((+ )\). - True positive rate (sensitivity): \(P(+\mid F)=t\). - False positive rate: \(P(+\mid \neg F)=f\). **Part A (Bayes):** Given an account is flagged, compute \(P(F\mid +)\). **Part B ("at least once" probability):** If you review \(n\) independently sampled accounts from the platform, what is the probability you see **at least one fake account**? **Part C (combined):** If you review \(n\) independently flagged accounts, what is the probability **at least one of them is truly fake**? Express your answer in terms of \(p, t, f, n\).

Quick Answer: This question evaluates Bayesian reasoning and probabilistic modeling skills, including conditional probability, base-rate effects, detector characteristics like sensitivity and false positive rates, and calculations for "at least one" events.

Related Interview Questions

  • Compute probability an account is fake - 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)
  • Estimate Portal’s causal lift on video-call usage - Meta (Medium)
Meta logo
Meta
Nov 1, 2025, 12:00 AM
Data Scientist
Onsite
Statistics & Math
11
0
Loading...

A platform is trying to detect fake accounts.

Assume:

  • Base rate of fake accounts is P(F)=pP(F)=pP(F)=p .
  • A detection system flags an account as suspicious (+)(+ )(+) .
  • True positive rate (sensitivity): P(+∣F)=tP(+\mid F)=tP(+∣F)=t .
  • False positive rate: P(+∣¬F)=fP(+\mid \neg F)=fP(+∣¬F)=f .

Part A (Bayes): Given an account is flagged, compute P(F∣+)P(F\mid +)P(F∣+).

Part B ("at least once" probability): If you review nnn independently sampled accounts from the platform, what is the probability you see at least one fake account?

Part C (combined): If you review nnn independently flagged accounts, what is the probability at least one of them is truly fake? Express your answer in terms of p,t,f,np, t, f, np,t,f,n.

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.