One-Sided or Two-Sided Test for a Messenger Speed Improvement

Last updated: November 29, 2026

Quick Overview

An engineer wants to use a one-sided test for a Messenger change that should only make message sending faster, arguing it gives more power. Evaluate the proposal.

Meta
Analytics & Experimentation
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Easy

0

0

0 solved


An engineer wants to use a one-sided test for a Messenger change that should only make message sending faster, arguing it gives more power. Evaluate the proposal.

This conceptual question tests whether a candidate knows what a one-sided test buys and what it gives up. Meta interviewers look for nuance: when direction is truly known in advance and when a harm in the other direction must still be detected.

What the Interviewer Expects
  • Explains how a one-sided test reallocates alpha
  • Quantifies the sample size savings
  • Warns that a one-sided test cannot detect harm in the other direction
  • Notes the decision must be made before seeing data
  • Suggests pairing with a separate harm check
Key Topics to Cover
One-sided tests
Two-sided tests
Statistical power
Harm detection
Pre-registration
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • How much smaller is the sample for a one-sided test at 80% power?
  • What if the result goes significantly in the wrong direction?
  • When is a one-sided test standard practice?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify

Ask what "faster" means (time from tapping send to server acknowledgment), whether the change could slow anything (extra encryption step, battery or data usage), and what decision is being made (ship ...

Approach

A two-sided test at α=0.05\alpha = 0.05 puts 2.5% in each tail. A one-sided test puts all 5% in the predicted direction, so the critical value drops from 1.96 to 1.645. This gives more power for the predi...


Submit Your Answer
Markdown supported