PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Analytics & Experimentation/LinkedIn

Resolve Conflicting A/B Test Results in Cities

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's understanding of causal inference, confounding effects such as Simpson's paradox, heterogeneous treatment effects, and the specification of estimands in A/B testing.

  • 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: This question evaluates a data scientist's understanding of causal inference, confounding effects such as Simpson's paradox, heterogeneous treatment effects, and the specification of estimands in A/B testing.

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)
LinkedIn logo
LinkedIn
Jul 12, 2025, 6:59 PM
Data Scientist
Technical Screen
Analytics & Experimentation
22
0

A/B Test Paradox Across Two Cities

Scenario

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

Questions

  1. How would you interpret these conflicting results?
  2. What decision would you make for rollout?
  3. What additional analysis is needed before rollout?

Hints to Consider

  • Simpson’s paradox and the role of confounders (e.g., city)
  • Weighting by traffic and defining the correct estimand
  • Heterogeneous treatment effects (HTE) across strata
  • Stratified analysis or meta-analysis approaches
  • Checking sample size, power, and data quality (e.g., SRM)

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Analytics & Experimentation•More LinkedIn•More Data Scientist•LinkedIn Data Scientist•LinkedIn Analytics & Experimentation•Data Scientist Analytics & Experimentation
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.