InterviewStack.io LogoInterviewStack.io

Experiment Design, Analysis, and Causal Methods Questions

Design and analysis of experiments and causal inference methods for when randomization is not possible. Candidates should know strategies to ensure randomization and evaluate experiment quality compute sample size and minimum detectable effect select and interpret primary and guardrail metrics and design appropriate test duration. Analysis skills include hypothesis testing p values confidence intervals effect size estimation variance estimation and variance reduction segmentation and interaction analysis and robust reporting of uncertainty. This topic covers observational and quasi experimental approaches such as propensity score matching difference in differences and regression discontinuity how to reason about confounding and selection bias and when to prefer a quasi experimental approach over a randomized test. Candidates should be able to translate causal conclusions into actionable guidance recommend follow up analyses and triangulate evidence across methods.

HardSystem Design
25 practiced
A/B testing must comply with privacy constraints: no PII in logs and additional differential privacy (DP) noise is required for some metrics. How would privacy constraints change experiment design and analysis? Propose practical DP and aggregation approaches, discuss trade-offs between epsilon (privacy budget) and statistical power, and describe how to validate that results remain useful.
HardTechnical
31 practiced
Explain issues that arise with staggered adoption in difference-in-differences (DiD) designs (treatment timing heterogeneity) and describe modern estimators (e.g., Callaway & Sant'Anna, Sun & Abraham). How would you implement these on a panel dataset and interpret cohort-specific ATT estimates?
HardTechnical
32 practiced
You have multiple randomized experiments across segments and supporting observational analyses. Outline an approach to combine evidence using meta-analysis or hierarchical Bayesian modelling to produce a single decision metric with credible intervals. Explain how you would weight studies based on quality, incorporate study-level covariates, and communicate resulting uncertainty.
EasyTechnical
27 practiced
Explain what an A/B test is and describe the end-to-end process you would follow to run a simple A/B test on a website checkout button. In your answer include: how you'd assign users (randomization method), choose treatment/control proportions, pick a primary metric and guardrail metrics, pre-launch sanity checks (instrumentation, logging, balance), how you'd monitor the test while it runs, and key post-hoc analysis steps.
MediumTechnical
42 practiced
You have a dataset of users with covariates and a binary treatment column. Outline code-level steps (Python or R) to compute propensity scores, perform nearest-neighbor matching, and evaluate balance diagnostics. List specific diagnostics (e.g., standardized mean differences, love plots) you would produce and thresholds you'd consider acceptable.

Unlock Full Question Bank

Get access to hundreds of Experiment Design, Analysis, and Causal Methods interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.