PracHub
QuestionsPremiumLearningGuidesInterview PrepCoaches
|Home/Statistics & Math/Roblox

Derive variance and CTR confidence intervals

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of estimation and inference for proportions, including CTR point estimation, standard errors, multiple confidence-interval methods (Wald, Wilson, Clopper–Pearson), pooled estimation across days, and the distinction between sample and population variance for day-level variability.

  • medium
  • Roblox
  • Statistics & Math
  • Data Scientist

Derive variance and CTR confidence intervals

Company: Roblox

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

CTR is a ratio metric C/I where C~Binomial(I, p). Answer: 1) Given I=200,000 and C=4,200, estimate p̂ and its standard error. Compute 95% CIs using (a) normal/Wald with continuity correction, (b) Wilson, and (c) exact Clopper–Pearson. Compare widths and coverage properties and state which you would use in production and why. 2) Daily pooled CTR across three days with impressions [50,000, 120,000, 30,000] and CTRs [2.0%, 2.6%, 1.8%]: compute (a) the pooled CTR, (b) the standard error of the pooled CTR, and (c) the day-to-day standard deviation of CTR treating days as the unit (unweighted STDDEV_SAMP) vs impression-weighted day-level SD. When is each appropriate? 3) Explain sample vs population variance (why divide by n−1 vs n). In SQL, when would you prefer STDDEV_SAMP vs STDDEV_POP for daily CTR and CPC aggregates? Provide concrete examples tied to experiment analysis.

Quick Answer: This question evaluates understanding of estimation and inference for proportions, including CTR point estimation, standard errors, multiple confidence-interval methods (Wald, Wilson, Clopper–Pearson), pooled estimation across days, and the distinction between sample and population variance for day-level variability.

Related Interview Questions

  • Apply Bayes' rule to compute posterior - Roblox (hard)
  • Compute sample size and Bayes posterior - Roblox (hard)
  • Implement robust one/two-sided p-value function - Roblox (hard)
  • Compute GSP vs VCG payments with reserves - Roblox (medium)
  • Compute A/B test sample size and Bayes posterior - Roblox (easy)
Roblox logo
Roblox
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Statistics & Math
6
0
Loading...

CTR as a Proportion: Estimation, Confidence Intervals, and Day-Level Variability

Context: Click-through rate (CTR) is a proportion metric defined as C/I where C is clicks and I is impressions. Assume impressions are independent and C | I ~ Binomial(I, p).

1) Single-day CTR: point estimate, SE, and 95% CIs

Given I = 200,000 and C = 4,200:

  • Estimate p̂ and its standard error.
  • Compute 95% confidence intervals using: a) Normal/Wald with continuity correction b) Wilson score interval c) Exact Clopper–Pearson
  • Compare widths and coverage properties and state which you would use in production and why.

2) Pooled CTR across multiple days

Three days with impressions [50,000, 120,000, 30,000] and CTRs [2.0%, 2.6%, 1.8%]. Compute: a) The pooled CTR across the three days. b) The standard error of the pooled CTR. c) The day-to-day standard deviation of CTR treating days as the unit (unweighted STDDEV_SAMP) vs an impression-weighted day-level SD. When is each appropriate?

3) Sample vs population variance in practice

Explain why we divide by n−1 (sample variance) vs n (population variance). In SQL, when would you prefer STDDEV_SAMP vs STDDEV_POP for daily CTR and CPC aggregates? Provide concrete examples tied to experiment analysis.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Roblox•More Data Scientist•Roblox Data Scientist•Roblox Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ 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.