InterviewStack.io LogoInterviewStack.io

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
84 practiced

Define Average Treatment Effect (ATE) and Average Treatment Effect on the Treated (ATT). For a feature that only 10% of users adopt spontaneously, explain which estimand answers the question 'what would happen if we forced the feature on everyone' versus 'what happened to the people who actually chose it', and which one is more useful for a rollout decision.

HardTechnical
79 practiced

Randomization is not available for a marketing or product change you need to evaluate causally. Compare instrumental variables, regression discontinuity, difference-in-differences, and synthetic control as identification strategies: for each, give a concrete scenario where it is the right tool, the key assumption you would need to validate, and one diagnostic or falsification check you would run before trusting the result.

HardTechnical
66 practiced

Explain how measurement error in a confounder or in the treatment variable itself biases a causal effect estimate. Distinguish classical (random) measurement error from systematic measurement error, and describe at least two ways to mitigate the bias.

MediumTechnical
59 practiced

Define the potential-outcomes (counterfactual) framework in plain language: what are the two potential outcomes for a unit, and why can we never observe both? Explain how this framework guides forming a testable causal hypothesis, and why randomization is what lets us estimate the average of an otherwise-unobservable quantity.

HardTechnical
60 practiced

Given these tables: users(user_id bigint, cohort varchar, signup_date date) and metrics(user_id bigint, event_date date, conversion boolean), the treatment group started using a new dashboard feature on 2025-01-01. Write the SQL to compute a difference-in-differences estimate for the conversion rate, and outline how you would compute standard errors clustered at an appropriate unit (for example, store or region) rather than assuming independent observations.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.