Correlation vs causation: why is randomization the gold standard for causality in A/B testing?

Quick Overview

Asks how correlation differs from causation and why random assignment lets an A/B test measure a causal effect. It tests understanding of confounding, reverse causation, selection bias, and the limits of internal and external validity.

Correlation vs causation: why is randomization the gold standard for causality in A/B testing?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: easy

Interview Round: Other

What is the difference between causation and correlation, and why is randomization the gold standard for establishing causality in A/B testing? ```hint Rival explanations List the other things that could produce the same pattern in observational data, then ask what assigning treatment by a coin flip does to each one. ``` ### What a Strong Answer Covers - Clear definitions of correlation and causation - The mechanisms that create correlation without causation, with an example - Why random assignment removes those mechanisms, including what "equivalent in expectation" means - What randomization does not guarantee, such as external validity and correct execution ### Follow-up Questions - What can break the causal reading of a randomized A/B test even when assignment was random? - With only 200 users per arm, how far can you rely on randomization to balance the groups? - When you cannot randomize, which methods can estimate a causal effect from observational data, and what does each assume? - In event logs, how would you use the order and timing of events to tell whether a feature drives retention or retained users simply find the feature more often?

Overview: Asks how correlation differs from causation and why random assignment lets an A/B test measure a causal effect. It tests understanding of confounding, reverse causation, selection bias, and the limits of internal and external validity.

General logo
General
Nov 24, 2026
easyData ScientistOtherAnalytics & Experimentation
0
0

What is the difference between causation and correlation, and why is randomization the gold standard for establishing causality in A/B testing?

What a Strong Answer Covers Guidance

  • Clear definitions of correlation and causation
  • The mechanisms that create correlation without causation, with an example
  • Why random assignment removes those mechanisms, including what "equivalent in expectation" means
  • What randomization does not guarantee, such as external validity and correct execution

Follow-up Questions Guidance

  • What can break the causal reading of a randomized A/B test even when assignment was random?
  • With only 200 users per arm, how far can you rely on randomization to balance the groups?
  • When you cannot randomize, which methods can estimate a causal effect from observational data, and what does each assume?
  • In event logs, how would you use the order and timing of events to tell whether a feature drives retention or retained users simply find the feature more often?