PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Analyze ad targeting expectations and distributions

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's competency in probabilistic modeling, expected-value decision-making, variance decomposition for mixture distributions, and Poisson/exponential arrival-process analysis within the Statistics & Math domain.

  • medium
  • Meta
  • Statistics & Math
  • Data Scientist

Analyze ad targeting expectations and distributions

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: HR Screen

You operate an ads slot with two user segments: High-Intent (H, 90% of traffic) and Low-Intent (L, 10% of traffic). If shown an ad: - H clicks with probability 0.30; given a click, converts with probability 0.40. - L clicks with probability 0.05; given a click, converts with probability 0.10. - Revenue per conversion = $10. Cost per impression = $0.002 (i.e., $2 CPM). Assume independence across impressions. Answer: 1) Compute expected profit per 1,000 impressions for three strategies: (S1) show to everyone; (S2) show only to predicted-High users where your classifier has 95% precision and 80% recall on H vs. L; (S3) show only when a user’s posterior P(convert) exceeds a threshold t. Derive the profit-maximizing threshold t* and give its numeric value under these economics. 2) For S1, compute the variance of the number of conversions per 1,000 impressions. Show your decomposition across the H/L mixture (law of total variance). State whether the mixture increases or decreases overdispersion vs. a single Bernoulli with the average conversion rate. 3) Your PM proposes “send all impressions to High-Intent only.” List two quantitative pros and two cons using your results (e.g., impact on reach, profit sensitivity to precision/recall errors). 4) Exponential inter-arrival model: Assume user sessions arrive as a Poisson process with rate λ = 0.2 per minute. a) Write the PDF and CDF of T ~ Exp(λ). Compute E[T], Var(T), and P(T > 10). b) Let T̄_n be the sample mean of n IID draws from Exp(λ). State the limit of T̄_n as n → ∞ and the approximate distribution of √n (T̄_n − 1/λ) for large n (name the theorem). Briefly relate this to why large-sample estimates of average time-spent stabilize in dashboards. 5) If real traffic is a 90/10 H/L mixture with different click propensities, is the inter-click-time distribution exponential? If not, name the resulting family qualitatively and one diagnostic you would plot to detect the mixture.

Quick Answer: This question evaluates a data scientist's competency in probabilistic modeling, expected-value decision-making, variance decomposition for mixture distributions, and Poisson/exponential arrival-process analysis within the Statistics & Math domain.

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
Oct 13, 2025, 9:49 PM
Data Scientist
HR Screen
Statistics & Math
8
0

Ads Profit, Variance Decomposition, and Exponential Timing

Context: You run an ad slot with two user segments. On each eligible page view (impression opportunity), you may choose to show an ad. If shown, you incur a cost and may earn revenue from a conversion.

Segments and probabilities:

  • High-Intent (H): 90% of traffic
    • P(click | shown) = 0.30; P(convert | click) = 0.40 → P(convert | shown, H) = 0.30 × 0.40 = 0.12
  • Low-Intent (L): 10% of traffic
    • P(click | shown) = 0.05; P(convert | click) = 0.10 → P(convert | shown, L) = 0.05 × 0.10 = 0.005
  • Economics: revenue per conversion R = 10;costperimpressionc=10; cost per impression c = 10;costperimpressionc= 0.002 ($2 CPM)
  • Assume independence across impression opportunities.

Tasks:

  1. Expected profit per 1,000 eligible opportunities for three strategies:
    • S1: show to everyone
    • S2: show only to predicted-High users; your classifier has precision = 95% and recall = 80% for H vs. L
    • S3: show only when a user’s posterior P(convert) ≥ threshold t. Derive the profit-maximizing threshold t* and give its numeric value under these economics.
  2. Under S1, compute the variance of the number of conversions per 1,000 impressions. Use the law of total variance to decompose across the H/L mixture, and state whether the mixture increases or decreases overdispersion relative to a single Bernoulli with the average conversion rate.
  3. Your PM proposes: "send all impressions to High-Intent only." Give two quantitative pros and two cons using your results (e.g., reach, profit sensitivity to precision/recall).
  4. Exponential inter-arrival model. Sessions arrive as a Poisson process with rate λ = 0.2 per minute. a) Write the PDF and CDF of T ~ Exp(λ). Compute E[T], Var(T), and P(T > 10). b) Let T̄_n be the sample mean of n IID Exp(λ). State the limit of T̄_n as n → ∞ and the approximate distribution of √n (T̄_n − 1/λ) for large n (name the theorem). Explain why large-sample averages stabilize in dashboards.
  5. If real traffic is a 90/10 H/L mixture with different click propensities, is the inter-click-time distribution exponential? If not, name the resulting family qualitatively and one diagnostic you would plot to detect the mixture.

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.