Causal Inference Questions

Establishing cause-and-effect from observational and experimental data. Covers correlation versus causation, confounding, treatment-effect estimation, and quasi-experimental methods such as difference-in-differences, matching, and instrumental variables. Includes incrementality reasoning when true randomization is not possible.

MediumTechnical
57 practiced

Explain how a negative control (a negative-exposure or negative-outcome control) can be used to detect residual confounding in an observational study. Give an example negative-control design for testing whether an ad campaign causally increased purchases.

MediumTechnical
64 practiced

Describe how you would measure the price elasticity of demand with respect to a fee (for example, a delivery fee or take rate). Compare a randomized price experiment against an observational econometric approach (panel fixed effects, instrumental variables), specify a statistical model and key controls, and describe how you would translate the elasticity estimate into a concrete pricing recommendation.

MediumTechnical
84 practiced

In Python, simulate a dataset where X and Y are correlated only because of a shared confounder Z: generate Z ~ N(0,1), X = 0.8Z + noise, Y = 1.2Z + noise (independent normal noise terms). Compute (a) the naive Pearson correlation between X and Y, and (b) the partial correlation between X and Y controlling for Z (by regressing each out of Z and correlating the residuals). Show that (b) is close to zero while (a) is not, and state one limitation of partial correlation as a method for controlling confounders in general.

EasyTechnical
119 practiced

What is Simpson's paradox? Construct a concise numeric example with at least two groups where the aggregated association points in the opposite direction from the association within each group, and explain why stratifying by the confounding variable reveals the true relationship.

HardTechnical
60 practiced

You have a staggered-adoption setting: different units adopt treatment at different times, and the treatment effect is heterogeneous across adoption cohorts. Simulate this in Python, demonstrate that the standard two-way fixed-effects DiD estimator is biased in this setting, and implement an alternative (an event-study with cohort decomposition, or a stacked DiD) that recovers an unbiased estimate.

Unlock Full Question Bank

Get access to all Causal Inference interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.