Treatment Wins Overall but Loses in Every Country

Last updated: November 29, 2026

Quick Overview

A Marketplace checkout test ramped at different rates by country: treatment converts at 46% overall versus 16% for control, yet it loses within both the US and India. Explain the reversal, test the treatment effect correctly with a stratified test, and estimate a common effect.

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

0

0

0 solved


A Marketplace checkout test ramped at different rates by country: treatment converts at 46% overall versus 16% for control, yet it loses within both the US and India. Explain the reversal, test the treatment effect correctly with a stratified test, and estimate a common effect.

Meta experiments are often ramped unevenly across countries or days, and pooled readouts then mix allocation with effect. This onsite question checks recognition of Simpson's paradox, the Cochran-Mantel-Haenszel test, and a clear explanation of when pooling is valid.

What the Interviewer Expects
  • Show the within-country comparisons versus the pooled one
  • Explain that allocation varies with a variable that drives conversion
  • Run a CMH test stratified by country
  • Estimate a Mantel-Haenszel common odds ratio
  • Recommend fixed allocation or stratified analysis going forward
Key Topics to Cover
Simpson's paradox
stratification
Cochran-Mantel-Haenszel
odds ratio
unequal allocation
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
  • When is it fine to pool across strata without adjustment?
  • What if the treatment effect truly differs by country (effect modification)?
  • How would you weight countries if the business cares about total conversions?
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
CountryTreatment conv / usersControl conv / users
US450 / 900 (50%)55 / 100 (55%)
India10 / 100 (10%)108 / 900 (12%)
Pooled460 / 1000 (46%)163 / 100...
Approach

Within each country, randomization makes arms comparable. Across countries it does not: treatment users are mostly American (high baseline) and control users mostly Indian (low baseline), so the poole...


Submit Your Answer
Markdown supported