Posterior Click-Through Rate for a New Ad With Forty Impressions

Last updated: November 29, 2026

Quick Overview

A new ad on Instagram has 3 clicks in 40 impressions, and similar ads have CTRs centered near 2%, encoded as a Beta(2, 98) prior. Compute the posterior distribution, its mean, and the probability the ad's true CTR exceeds 2%.

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


A new ad on Instagram has 3 clicks in 40 impressions, and similar ads have CTRs centered near 2%, encoded as a Beta(2, 98) prior. Compute the posterior distribution, its mean, and the probability the ad's true CTR exceeds 2%.

Ads ranking at Meta must make decisions about new creatives long before they accumulate much data, which is the classic cold start setting for conjugate Bayesian models. The interviewer wants the Beta-Binomial update done fluently and a clear explanation of why the raw 7.5% CTR should not be trusted.

What the Interviewer Expects
  • Explains what Beta(2, 98) encodes as pseudo-counts
  • Derives the Beta(5, 135) posterior
  • Compares posterior mean to raw and prior means
  • Computes or approximates the tail probability
  • Discusses how the prior strength should be chosen
Key Topics to Cover
Beta-Binomial conjugacy
Pseudo-counts
Posterior mean
Credible probability
Cold start
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How would you pick the prior from historical ads instead of assuming it?
  • What changes if the 40 impressions were all served to one highly engaged audience?
  • How many impressions until the data dominates the prior?
  • How would Thompson sampling use this posterior for pacing?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Model clicks as Binomial(n=40n=40, pp) with impressions independent given pp. Prior p∼Beta(2,98)p\sim\text{Beta}(2,98) has mean 2/100=2%2/100=2\% and acts like 100 prior impressions with 2 clicks. I would ask how the...

Approach

The Beta prior is conjugate to the Binomial likelihood: Beta(α,β)\text{Beta}(\alpha,\beta) plus kk successes in nn trials gives Beta(α+k, β+n−k)\text{Beta}(\alpha+k,\ \beta+n-k). Then read off the mean and integrate the...


Submit Your Answer
Markdown supported