Problem
Teams must tell whether a feature, price or design change really drives a metric. A raw correlation does not show it: confounders such as age, location or interest affect both who gets the change and the outcome. A randomized A/B test is the cleanest answer, but history may lack randomization, the treatment may be impossible to assign, or imposing it may be unethical.
Example from the article: a retailer asks whether raising a product's price increases revenue, but charging neighbours different prices would be unethical and a PR problem.
Solution in brief
Pick the method by what you can control. With an A/B test, follow a fixed sequence: hypothesis, sample size, randomization, sanity check, analysis. Without a test, use controlled regression when confounders are measured, an instrumental variable (IV) when they are not, and difference-in-differences (DiD) when a comparable control group exists.
Questions this case answers
- How to estimate the causal effect of a change when randomization is impossible or unethical and confounders are partly unmeasured
- How to choose a statistical test and avoid early stopping, spillover and novelty bias when analyzing a randomized experiment
- How to estimate the effect of a product change when an A/B test is impossible or unethical?
- How to check that a regression estimate of a feature effect is not biased by an omitted variable?
Tools and methods
- Controlled regression — adds confounders to remove omitted variable bias.
- Instrumental variable — two-step regression that avoids hidden confounders.
- Difference-in-differences — compares the before/after change of treated and control groups.
- A/B test — randomized comparison with a pre-computed sample size.
- t-test, Mann-Whitney, chi-squared, Fisher's exact — test choice by outcome type and sample size.
Google or a one-time email code. No password.