KatInterview

Simpson's Paradox, Segregation Metrics, and Fixing Ad Regression

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentssimpson's paradoxconfoundingexperimental design

Last updated

Explain a classic statistical trap, design spatial metrics for species data, diagnose a causal inference problem, and reduce survey error — all in plain language.

Setting

You are a data scientist supporting a product analytics team. Your work spans experiment design, metric creation, and communicating statistics to non-technical stakeholders.

Answer all four parts below. Where useful, use concrete numbers or formulas, but make sure your reasoning would be clear to a non-technical product manager.


Part 1 — A Counterintuitive Aggregation Trap

Describe the statistical phenomenon where a trend holds within every subgroup but flips or vanishes when those subgroups are pooled. Walk a PM through a concrete numeric example (a simple table is fine). What is the underlying cause, and what is the practical fix?


Part 2 — Measuring Species Separation in a Forest

A wildlife team has mapped the locations of three bird species across a forest. Propose two or more metrics that quantify how spatially separated the species are from one another. Define each metric, state its range and interpretation, and flag any methodological pitfalls.


Part 3 — What Is Wrong with This Regression?

An analyst fits a simple linear regression of weekly product sales on YouTube ad impressions. List the statistical and causal problems with this approach, then describe how you would redesign the study to get a defensible estimate of ad effectiveness.


Part 4 — Shrinking Survey Uncertainty

Name several ways to reduce a survey's margin of error. Then focus on the constrained case: sample size and confidence level are both fixed. What other levers exist, and why might bootstrap resampling be relevant here?

Hints

Hint 1

For Part 1, think about what happens when two groups have very different mixes of 'easy' versus 'hard' cases — the lurking variable is the key. Build a 2×2 table where each subgroup goes one way but the totals go the other way.

Hint 2

For Part 3, think beyond omitted variables. Consider the direction of causality (do sales drive ad spend, or vice versa?), time-series structure, and the difference between a statistically significant coefficient and a business-meaningful effect size.

Hint 3

For Part 4, the margin-of-error formula has several multiplicative terms besides n and z. Stratification, design effect, auxiliary information, and measurement quality are all handles you can pull when the obvious two are locked.