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.
You need the causal long-term impact (say, 6-month retention) of a feature that shows an immediate engagement uplift in a short experiment. Discuss the use of surrogate endpoints to extrapolate short-term experimental results to a long-term outcome, what assumptions that extrapolation requires, how you would handle attrition, and how confident you can honestly be in the extrapolation versus running a longer experiment.
How would you measure the business impact of a model you deployed, and validate that the change in KPIs was actually caused by your model rather than by external factors? Describe your attribution strategy, including any control group you used.
Explain the difference-in-differences (DiD) identification strategy: what it estimates, and state the parallel trends assumption precisely. Describe at least two empirical checks or falsification tests you would run to assess whether parallel trends is plausible (for example, pre-period trend comparison or a placebo outcome). Give a concrete business scenario, such as a price change applied in one country but not a comparable one, where DiD is the right tool.
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.
Explain counterfactual (off-policy) evaluation for a new ranking or recommendation policy using only logged data collected under the old policy: name and describe at least three distinct families of estimators for this problem, and state the main assumption each requires and where it can fail (for example, when the logging policy has no support for an action the new policy would take, or when non-stationarity means the logged data no longer reflects current behavior).
Unlock Full Question Bank
Get access to all Causal Inference interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.