Confidence Interval for Click-Through Rate When Users Are Randomized

Last updated: November 29, 2026

Quick Overview

In a Search experiment randomized by user, the metric is CTR defined as total clicks divided by total impressions. Explain why the naive binomial standard error is wrong and derive the delta-method interval.

Google
Statistics & Math
Data Scientist
Google
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Hard

0

0

0 solved


In a Search experiment randomized by user, the metric is CTR defined as total clicks divided by total impressions. Explain why the naive binomial standard error is wrong and derive the delta-method interval.

Ratio metrics where the analysis unit (impression) differs from the randomization unit (user) are everywhere in Google experimentation. Interviewers check that you spot the correlated-observation issue and can derive the delta-method variance.

What the Interviewer Expects
  • Identify the mismatch between randomization unit and analysis unit
  • Explain why impressions within a user are correlated
  • Write CTR as a ratio of user-level means
  • Derive the delta-method variance including covariance term
  • Mention bootstrap over users as a check
Key Topics to Cover
Delta method
Ratio metrics
Randomization unit
Clustered data
Bootstrap
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 compute the variance of the difference between two arms?
  • When is the delta method inaccurate?
  • How does this relate to average of per-user CTRs, and which would you report?
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

Each user ii in an arm has XiX_i clicks and YiY_i impressions. CTR=∑Xi∑Yi=XˉYˉCTR = \frac{\sum X_i}{\sum Y_i} = \frac{\bar X}{\bar Y} over nn users. Users are independent; impressions within a user are not....

Approach

The binomial formula p(1−p)/Nimp\sqrt{p(1-p)/N_{imp}} treats every impression as independent. But a user who clicks a lot does so on many impressions; heavy users contribute many correlated impressions. The tr...


Submit Your Answer
Markdown supported