Determine Probability of Friend Request Being Fake

Quick Overview

Determine Probability of Friend Request Being Fake evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Determine Probability of Friend Request Being Fake

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

##### Scenario Probability that an incoming friend request is from a fake account ##### Question 95% of accounts are real, 5% fake; fake accounts send 10× more friend requests than real ones. If you receive a friend request, what is the probability it is from a fake account? ##### Hints Apply Bayes’ theorem: posterior ∝ prior × likelihood.

Overview: Determine Probability of Friend Request Being Fake evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Community answers

Answer by SS

10⋅0.05+1⋅0.9510⋅0.05​ =0.50.5+0.95=0.51.45≈0.3448= \frac{0.5}{0.5 + 0.95} = \frac{0.5}{1.45} \approx 0.3448=0.5+0.950.5​=1.450.5​≈0.3448
|Home/Statistics & Math/Meta
Meta logo
Meta
Aug 4, 2025
easyData ScientistOnsiteStatistics & Math
25
0

Determine Probability of Friend Request Being Fake

Scenario

You operate a platform where 95% of accounts are real and 5% are fake. Fake accounts send 10 times as many friend requests per account as real accounts.

Question

If you receive a random incoming friend request, what is the probability that it is from a fake account?

Assumptions

  • "10× more" means each fake account sends friend requests at a per-account rate 10 times that of a real account.
  • You are equally likely to receive any given friend request (ignoring network structure or targeting effects).

Hint

Apply Bayes’ theorem: posterior ∝ prior × likelihood.

Clarifying Questions to Ask Guidance

  • Clarify the random variables, distributional assumptions, independence assumptions, and desired output.
  • Show enough derivation for the interviewer to follow the reasoning.
  • Explain how you would validate the result with simulation or sensitivity checks.

What a Strong Answer Covers Guidance

  • A correct setup with definitions, formulas, and boundary conditions.
  • A step-by-step derivation or estimation plan.
  • Interpretation of the result, including uncertainty and practical limitations.
  • Checks for assumptions, edge cases, and numerical stability.

Follow-up Questions Guidance

  • How would the result change if the assumptions were relaxed?
  • Can you verify the answer with a simulation?
  • What is the most likely source of estimation error?
Loading comments...