PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/LinkedIn

Resolve Conflicting A/B Test Results in Cities

Last updated: Mar 29, 2026

Quick Overview

Evaluates interpretation of conflicting A/B test results across cities using Simpson's paradox and stratified estimands. Strong answers check weighting, SRM, heterogeneity, confidence intervals, and rollout criteria.

  • medium
  • LinkedIn
  • Analytics & Experimentation
  • Data Scientist

Resolve Conflicting A/B Test Results in Cities

Company: LinkedIn

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Technical Screen

##### Scenario An A/B test was run in City X and City Y. In each city variant A beats B, yet when combined across both cities variant B looks better. ##### Question How would you interpret these conflicting results? What decision would you make and what additional analysis is needed before rollout? ##### Hints Discuss Simpson’s paradox, weighting by traffic, heterogeneous treatment effects, stratified analysis, and checking sample size.

Quick Answer: Evaluates interpretation of conflicting A/B test results across cities using Simpson's paradox and stratified estimands. Strong answers check weighting, SRM, heterogeneity, confidence intervals, and rollout criteria.

Related Interview Questions

  • Test whether US uploads more videos - LinkedIn (easy)
  • Resolve Simpson’s paradox in email A/B test - LinkedIn (easy)
  • Choose single queue vs multiple queues - LinkedIn (easy)
  • Resolve Simpson’s paradox in A/B email test - LinkedIn (easy)
  • Do US members upload more videos than non-US? - LinkedIn (easy)
|Home/Analytics & Experimentation/LinkedIn

Resolve Conflicting A/B Test Results in Cities

LinkedIn logo
LinkedIn
Jul 12, 2025, 6:59 PM
mediumData ScientistTechnical ScreenAnalytics & Experimentation
23
0

A/B Test Paradox Across Two Cities

You ran an A/B test in two geographies, City X and City Y. Within each city, variant A outperforms variant B. However, when the data are pooled across cities, the combined result shows variant B performing better than A.

Interpret the conflicting results, decide what you would do for rollout, and describe additional analysis needed before rollout.

Constraints & Assumptions

  • Treat city as a possible confounder or stratification variable.
  • Check whether randomization was balanced within city.
  • Define the rollout estimand before choosing aggregate or city-level results.
  • Consider heterogeneous treatment effects and data-quality issues.

Clarifying Questions to Ask

  • Was randomization stratified by city or global across both cities?
  • Are baseline outcomes very different between the two cities?
  • Are traffic weights expected to match future rollout traffic?
  • Are sample sizes large enough within each city?

Part 1 - Interpretation

How would you interpret the conflicting results?

What This Part Should Cover

  • Recognize Simpson's paradox or aggregation bias.
  • Explain how different city traffic weights can reverse the pooled result.
  • Check SRM, assignment balance, logging, and confidence intervals.
  • Distinguish statistical contradiction from different estimands.

Part 2 - Rollout Decision

What decision would you make for rollout?

What This Part Should Cover

  • Avoid launching solely based on the pooled result when city is a confounder.
  • Prefer stratified or pre-specified weighted estimates aligned with rollout traffic.
  • Consider city-specific rollout if effects or risks differ.
  • Require guardrail checks and sufficient power.

Part 3 - Additional Analysis

What additional analysis is needed before rollout?

What This Part Should Cover

  • Estimate treatment effects by city with confidence intervals.
  • Use stratified analysis, fixed effects, meta-analysis, or regression with city controls.
  • Check sample ratio mismatch, covariate balance, experiment exposure, and metric definitions.
  • Examine whether future traffic mix will resemble the test.

Follow-up Questions

  • How would you explain this to a product manager?
  • What if city-level results are positive but underpowered?
  • How would the decision change if traffic mix will shift after launch?
Loading comments...

Browse More Questions

More Analytics & Experimentation•More LinkedIn•More Data Scientist•LinkedIn Data Scientist•LinkedIn Analytics & Experimentation•Data Scientist Analytics & Experimentation

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
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
  • AI Coding 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.